Home
last modified time | relevance | path

Searched refs:targetMachine (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/lib/ExecutionEngine/
DOptUtils.cpp68 llvm::TargetMachine *targetMachine) { in populatePassManagers() argument
81 if (targetMachine) { in populatePassManagers()
85 targetMachine->getTargetIRAnalysis())); in populatePassManagers()
87 targetMachine->getTargetIRAnalysis())); in populatePassManagers()
98 llvm::TargetMachine *targetMachine) { in makeOptimizingTransformer() argument
99 return [optLevel, sizeLevel, targetMachine](llvm::Module *m) -> llvm::Error { in makeOptimizingTransformer()
102 populatePassManagers(modulePM, funcPM, optLevel, sizeLevel, targetMachine); in makeOptimizingTransformer()
113 llvm::Optional<unsigned> mbOptLevel, llvm::TargetMachine *targetMachine, in makeLLVMPassesTransformer() argument
116 targetMachine](llvm::Module *m) -> llvm::Error { in makeLLVMPassesTransformer()
128 targetMachine); in makeLLVMPassesTransformer()
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertKernelFuncToBlob.cpp80 llvm::TargetMachine &targetMachine);
105 llvm::TargetMachine &targetMachine) { in translateModuleToISA() argument
111 targetMachine.addPassesToEmitFile(codegenPasses, pstream, nullptr, in translateModuleToISA()
122 std::unique_ptr<llvm::TargetMachine> targetMachine; in convertModuleToBlob() local
131 targetMachine.reset(target->createTargetMachine(triple.str(), targetChip, in convertModuleToBlob()
133 if (targetMachine == nullptr) { in convertModuleToBlob()
139 llvmModule.setDataLayout(targetMachine->createDataLayout()); in convertModuleToBlob()
141 auto targetISA = translateModuleToISA(llvmModule, *targetMachine); in convertModuleToBlob()
/external/swiftshader/src/Reactor/
DLLVMAsm.cpp43 auto targetMachine = builder.createTargetMachine(); in emitAsmFile() local
44 if(!targetMachine) in emitAsmFile()
52 auto &options = targetMachine.get()->Options.MCOptions; in emitAsmFile()
55 targetMachine.get()->addPassesToEmitFile(pm, dest, nullptr, fileType); in emitAsmFile()
/external/llvm-project/mlir/include/mlir/ExecutionEngine/
DOptUtils.h41 llvm::TargetMachine *targetMachine);
52 llvm::TargetMachine *targetMachine,
/external/llvm-project/mlir/docs/Tutorials/Toy/
DCh-6.md265 /*targetMachine=*/nullptr);
291 /*targetMachine=*/nullptr);
/external/skqp/src/sksl/
DSkSLJIT.cpp1892 LLVMTargetMachineRef targetMachine = LLVMCreateTargetMachine(target, in optimize() local
1900 LLVMTargetDataRef dataLayout = LLVMCreateTargetDataLayout(targetMachine); in optimize()
1904 fJITStack = LLVMOrcCreateInstance(targetMachine); in optimize()
1909 LLVMDisposeTargetMachine(targetMachine); in optimize()