Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Core/
DCompiler.cpp153 llvm::PassManager lto_passes; in runLTO() local
162 lto_passes.add(data_layout_pass); in runLTO()
165 if (!beforeAddLTOPasses(pScript, lto_passes)) { in runLTO()
170 lto_passes.add(llvm::createGlobalOptimizerPass()); in runLTO()
171 lto_passes.add(llvm::createConstantMergePass()); in runLTO()
175 Builder.populateLTOPassManager(lto_passes, /*Internalize*/false, in runLTO()
181 if (!afterAddLTOPasses(pScript, lto_passes)) { in runLTO()
185 lto_passes.run(pScript.getSource().getModule()); in runLTO()