Home
last modified time | relevance | path

Searched refs:mainFunction (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/ExecutionEngine/
DJitRunner.cpp188 auto mainFunction = module.lookupSymbol<LLVM::LLVMFuncOp>(entryPoint); in compileAndExecuteVoidFunction() local
189 if (!mainFunction || mainFunction.empty()) in compileAndExecuteVoidFunction()
196 Error checkCompatibleReturnType(LLVM::LLVMFuncOp mainFunction);
198 Error checkCompatibleReturnType<int32_t>(LLVM::LLVMFuncOp mainFunction) { in checkCompatibleReturnType() argument
199 if (!mainFunction.getType().getFunctionResultType().isIntegerTy(32)) in checkCompatibleReturnType()
204 Error checkCompatibleReturnType<int64_t>(LLVM::LLVMFuncOp mainFunction) { in checkCompatibleReturnType() argument
205 if (!mainFunction.getType().getFunctionResultType().isIntegerTy(64)) in checkCompatibleReturnType()
210 Error checkCompatibleReturnType<float>(LLVM::LLVMFuncOp mainFunction) { in checkCompatibleReturnType() argument
211 if (!mainFunction.getType().getFunctionResultType().isFloatTy()) in checkCompatibleReturnType()
219 auto mainFunction = module.lookupSymbol<LLVM::LLVMFuncOp>(entryPoint); in compileAndExecuteSingleReturnFunction() local
[all …]
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DIntroduceVertexIndexID.cpp42 const TFunction *mainFunction = node.getFunction(); in visitFunctionDefinitionPre() local
46 for (size_t i = 0; i < mainFunction->getParamCount(); ++i) in visitFunctionDefinitionPre()
48 const TVariable *param = mainFunction->getParam(i); in visitFunctionDefinitionPre()