Home
last modified time | relevance | path

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

/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dpassmgr_builder_ocaml.c25 static void llvm_finalize_pmbuilder(value PMB) { in llvm_finalize_pmbuilder() argument
26 LLVMPassManagerBuilderDispose(PMBuilder_val(PMB)); in llvm_finalize_pmbuilder()
52 CAMLprim value llvm_pmbuilder_set_opt_level(value OptLevel, value PMB) { in llvm_pmbuilder_set_opt_level() argument
53 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(OptLevel)); in llvm_pmbuilder_set_opt_level()
58 CAMLprim value llvm_pmbuilder_set_size_level(value SizeLevel, value PMB) { in llvm_pmbuilder_set_size_level() argument
59 LLVMPassManagerBuilderSetSizeLevel(PMBuilder_val(PMB), Int_val(SizeLevel)); in llvm_pmbuilder_set_size_level()
65 value Threshold, value PMB) { in llvm_pmbuilder_use_inliner_with_threshold() argument
66 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold)); in llvm_pmbuilder_use_inliner_with_threshold()
72 value DisableUnitAtATime, value PMB) { in llvm_pmbuilder_set_disable_unit_at_a_time() argument
74 PMBuilder_val(PMB), Bool_val(DisableUnitAtATime)); in llvm_pmbuilder_set_disable_unit_at_a_time()
[all …]
/external/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h34 void LLVMPassManagerBuilderDispose(LLVMPassManagerBuilderRef PMB);
38 LLVMPassManagerBuilderSetOptLevel(LLVMPassManagerBuilderRef PMB,
43 LLVMPassManagerBuilderSetSizeLevel(LLVMPassManagerBuilderRef PMB,
48 LLVMPassManagerBuilderSetDisableUnitAtATime(LLVMPassManagerBuilderRef PMB,
53 LLVMPassManagerBuilderSetDisableUnrollLoops(LLVMPassManagerBuilderRef PMB,
58 LLVMPassManagerBuilderSetDisableSimplifyLibCalls(LLVMPassManagerBuilderRef PMB,
63 LLVMPassManagerBuilderUseInlinerWithThreshold(LLVMPassManagerBuilderRef PMB,
68 LLVMPassManagerBuilderPopulateFunctionPassManager(LLVMPassManagerBuilderRef PMB,
73 LLVMPassManagerBuilderPopulateModulePassManager(LLVMPassManagerBuilderRef PMB,
77 void LLVMPassManagerBuilderPopulateLTOPassManager(LLVMPassManagerBuilderRef PMB,
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp641 PassManagerBuilder *PMB = new PassManagerBuilder(); in LLVMPassManagerBuilderCreate() local
642 return wrap(PMB); in LLVMPassManagerBuilderCreate()
645 void LLVMPassManagerBuilderDispose(LLVMPassManagerBuilderRef PMB) { in LLVMPassManagerBuilderDispose() argument
646 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderDispose()
651 LLVMPassManagerBuilderSetOptLevel(LLVMPassManagerBuilderRef PMB, in LLVMPassManagerBuilderSetOptLevel() argument
653 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetOptLevel()
658 LLVMPassManagerBuilderSetSizeLevel(LLVMPassManagerBuilderRef PMB, in LLVMPassManagerBuilderSetSizeLevel() argument
660 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetSizeLevel()
665 LLVMPassManagerBuilderSetDisableUnitAtATime(LLVMPassManagerBuilderRef PMB, in LLVMPassManagerBuilderSetDisableUnitAtATime() argument
667 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetDisableUnitAtATime()
[all …]
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp476 PassManagerBuilder PMB; in optimize() local
477 PMB.DisableGVNLoadPRE = DisableGVNLoadPRE; in optimize()
478 PMB.LoopVectorize = !DisableVectorization; in optimize()
479 PMB.SLPVectorize = !DisableVectorization; in optimize()
481 PMB.Inliner = createFunctionInliningPass(); in optimize()
482 PMB.LibraryInfo = new TargetLibraryInfoImpl(TargetTriple); in optimize()
483 PMB.OptLevel = OptLevel; in optimize()
484 PMB.VerifyInput = !DisableVerify; in optimize()
485 PMB.VerifyOutput = !DisableVerify; in optimize()
487 PMB.populateLTOPassManager(passes); in optimize()
/external/llvm/tools/gold/
Dgold-plugin.cpp740 PassManagerBuilder PMB; in runLTOPasses() local
741 PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM.getTargetTriple())); in runLTOPasses()
742 PMB.Inliner = createFunctionInliningPass(); in runLTOPasses()
745 PMB.VerifyInput = true; in runLTOPasses()
746 PMB.VerifyOutput = !options::DisableVerify; in runLTOPasses()
747 PMB.LoopVectorize = true; in runLTOPasses()
748 PMB.SLPVectorize = true; in runLTOPasses()
749 PMB.OptLevel = options::OptLevel; in runLTOPasses()
750 PMB.populateLTOPassManager(passes); in runLTOPasses()