Searched refs:llvmFunc (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | ModuleTranslation.cpp | 825 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 …]
|
D | ConvertToROCDLIR.cpp | 93 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()
|
D | ConvertToNVVMIR.cpp | 83 auto *llvmFunc = llvmModule->getFunction(func.getName()); in translateModuleToNVVMIR() local 86 llvm::ValueAsMetadata::get(llvmFunc), in translateModuleToNVVMIR()
|
D | DebugTranslation.h | 40 void translate(LLVMFuncOp func, llvm::Function &llvmFunc);
|
D | DebugTranslation.cpp | 79 void DebugTranslation::translate(LLVMFuncOp func, llvm::Function &llvmFunc) { in translate() argument 111 llvmFunc.setSubprogram(program); in translate()
|