Home
last modified time | relevance | path

Searched refs:llvmFunc (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp825 llvm::Function *llvmFunc, in checkedAddLLVMFnAttribute() argument
830 llvmFunc->addFnAttr(key, value); in checkedAddLLVMFnAttribute()
840 llvmFunc->addFnAttr( in checkedAddLLVMFnAttribute()
841 llvm::Attribute::get(llvmFunc->getContext(), kind, result)); in checkedAddLLVMFnAttribute()
843 llvmFunc->addFnAttr(key, value); in checkedAddLLVMFnAttribute()
852 llvmFunc->addFnAttr(kind); in checkedAddLLVMFnAttribute()
865 llvm::Function *llvmFunc) { in forwardPassthroughAttributes() argument
872 checkedAddLLVMFnAttribute(loc, llvmFunc, stringAttr.getValue()))) in forwardPassthroughAttributes()
888 if (failed(checkedAddLLVMFnAttribute(loc, llvmFunc, keyAttr.getValue(), in forwardPassthroughAttributes()
900 llvm::Function *llvmFunc = functionMapping.lookup(func.getName()); in convertOneFunction() local
[all …]
DConvertToROCDLIR.cpp93 auto *llvmFunc = llvmModule->getFunction(func.getName()); in translateModuleToROCDLIR() local
95 llvmFunc->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL); in translateModuleToROCDLIR()
97 llvmFunc->addFnAttr("amdgpu-flat-work-group-size", "1, 1024"); in translateModuleToROCDLIR()
DConvertToNVVMIR.cpp83 auto *llvmFunc = llvmModule->getFunction(func.getName()); in translateModuleToNVVMIR() local
86 llvm::ValueAsMetadata::get(llvmFunc), in translateModuleToNVVMIR()
DDebugTranslation.h40 void translate(LLVMFuncOp func, llvm::Function &llvmFunc);
DDebugTranslation.cpp79 void DebugTranslation::translate(LLVMFuncOp func, llvm::Function &llvmFunc) { in translate() argument
111 llvmFunc.setSubprogram(program); in translate()