MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::FunctionCallBuilder Struct Reference

#include "mlir/Conversion/GPUCommon/GPUCommonPass.h"

Public Member Functions

 FunctionCallBuilder (StringRef functionName, Type returnType, ArrayRef< Type > argumentTypes)
 
LLVM::CallOp create (Location loc, OpBuilder &builder, ArrayRef< Value > arguments) const
 

Public Attributes

StringRef functionName
 
LLVM::LLVMFunctionType functionType
 

Detailed Description

Definition at line 51 of file GPUCommonPass.h.

Constructor & Destructor Documentation

◆ FunctionCallBuilder()

mlir::FunctionCallBuilder::FunctionCallBuilder ( StringRef  functionName,
Type  returnType,
ArrayRef< Type argumentTypes 
)
inline

Definition at line 52 of file GPUCommonPass.h.

Member Function Documentation

◆ create()

LLVM::CallOp FunctionCallBuilder::create ( Location  loc,
OpBuilder builder,
ArrayRef< Value arguments 
) const

Member Data Documentation

◆ functionName

StringRef mlir::FunctionCallBuilder::functionName

Definition at line 59 of file GPUCommonPass.h.

Referenced by create().

◆ functionType

LLVM::LLVMFunctionType mlir::FunctionCallBuilder::functionType

Definition at line 60 of file GPUCommonPass.h.

Referenced by create().


The documentation for this struct was generated from the following files: