Home
last modified time | relevance | path

Searched refs:modulePM (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/lib/ExecutionEngine/
DOptUtils.cpp35 static void runPasses(llvm::legacy::PassManager &modulePM, in runPasses() argument
43 modulePM.run(m); in runPasses()
65 static void populatePassManagers(llvm::legacy::PassManager &modulePM, in populatePassManagers() argument
84 modulePM.add(createTargetTransformInfoWrapperPass( in populatePassManagers()
90 builder.populateModulePassManager(modulePM); in populatePassManagers()
100 llvm::legacy::PassManager modulePM; in makeOptimizingTransformer() local
102 populatePassManagers(modulePM, funcPM, optLevel, sizeLevel, targetMachine); in makeOptimizingTransformer()
103 runPasses(modulePM, funcPM, *m); in makeOptimizingTransformer()
117 llvm::legacy::PassManager modulePM; in makeLLVMPassesTransformer() local
127 populatePassManagers(modulePM, funcPM, mbOptLevel.getValue(), 0, in makeLLVMPassesTransformer()
[all …]
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
Dmlir-vulkan-runner.cpp39 OpPassManager &modulePM = passManager.nest<spirv::ModuleOp>(); in runMLIRPasses() local
40 modulePM.addPass(spirv::createLowerABIAttributesPass()); in runMLIRPasses()
41 modulePM.addPass(spirv::createUpdateVersionCapabilityExtensionPass()); in runMLIRPasses()
/external/llvm-project/mlir/test/lib/Pass/
DTestPassManager.cpp78 auto &modulePM = pm.nest<ModuleOp>(); in testNestedPipeline() local
79 modulePM.addPass(std::make_unique<TestModulePass>()); in testNestedPipeline()
81 auto &nestedFunctionPM = modulePM.nest<FuncOp>(); in testNestedPipeline()
/external/skqp/src/sksl/
DSkSLJIT.cpp1861 LLVMPassManagerRef modulePM = LLVMCreatePassManager(); in optimize() local
1862 LLVMPassManagerBuilderPopulateModulePassManager(pmb, modulePM); in optimize()
1873 LLVMRunPassManager(modulePM, fModule); in optimize()
1875 LLVMDisposePassManager(modulePM); in optimize()