Home
last modified time | relevance | path

Searched refs:PassManagerBuilder (Results 1 – 25 of 65) sorted by relevance

123

/external/llvm-project/llvm/bindings/go/llvm/
Dtransforms_pmbuilder.go21 type PassManagerBuilder struct { struct
25 func NewPassManagerBuilder() (pmb PassManagerBuilder) {
30 func (pmb PassManagerBuilder) SetOptLevel(level int) { argument
34 func (pmb PassManagerBuilder) SetSizeLevel(level int) { argument
38 func (pmb PassManagerBuilder) Populate(pm PassManager) { argument
42 func (pmb PassManagerBuilder) PopulateFunc(pm PassManager) { argument
46 func (pmb PassManagerBuilder) PopulateLTOPassManager(pm PassManager, internalize bool, runInliner b… argument
50 func (pmb PassManagerBuilder) Dispose() { argument
54 func (pmb PassManagerBuilder) SetDisableUnitAtATime(val bool) { argument
58 func (pmb PassManagerBuilder) SetDisableUnrollLoops(val bool) { argument
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h59 class PassManagerBuilder {
63 typedef std::function<void(const PassManagerBuilder &Builder,
195 PassManagerBuilder();
196 ~PassManagerBuilder();
239 PassManagerBuilder::GlobalExtensionID ExtensionID;
242 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, in RegisterStandardPasses()
243 PassManagerBuilder::ExtensionFn Fn) { in RegisterStandardPasses()
244 ExtensionID = PassManagerBuilder::addGlobalExtension(Ty, std::move(Fn)); in RegisterStandardPasses()
251 PassManagerBuilder::removeGlobalExtension(ExtensionID); in ~RegisterStandardPasses()
255 inline PassManagerBuilder *unwrap(LLVMPassManagerBuilderRef P) { in unwrap()
[all …]
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp128 PassManagerBuilder::PassManagerBuilder() { in PassManagerBuilder() function in PassManagerBuilder
152 PassManagerBuilder::~PassManagerBuilder() { in ~PassManagerBuilder()
158 static ManagedStatic<SmallVector<std::pair<PassManagerBuilder::ExtensionPointTy,
159 PassManagerBuilder::ExtensionFn>, 8> > GlobalExtensions;
161 void PassManagerBuilder::addGlobalExtension( in addGlobalExtension()
162 PassManagerBuilder::ExtensionPointTy Ty, in addGlobalExtension()
163 PassManagerBuilder::ExtensionFn Fn) { in addGlobalExtension()
167 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { in addExtension()
171 void PassManagerBuilder::addExtensionsToPM(ExtensionPointTy ETy, in addExtensionsToPM()
181 void PassManagerBuilder::addInitialAliasAnalysisPasses( in addInitialAliasAnalysisPasses()
[all …]
/external/llvm/bindings/go/llvm/
Dtransforms_pmbuilder.go21 type PassManagerBuilder struct { struct
25 func NewPassManagerBuilder() (pmb PassManagerBuilder) {
30 func (pmb PassManagerBuilder) SetOptLevel(level int) { argument
34 func (pmb PassManagerBuilder) SetSizeLevel(level int) { argument
38 func (pmb PassManagerBuilder) Populate(pm PassManager) { argument
42 func (pmb PassManagerBuilder) PopulateFunc(pm PassManager) { argument
46 func (pmb PassManagerBuilder) Dispose() { argument
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dllvm_passmgr_builder.mli17 (** See the [llvm::PassManagerBuilder] function. *)
21 (** See the [llvm::PassManagerBuilder::OptLevel] function. *)
25 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
29 (** See the [llvm::PassManagerBuilder::DisableUnitAtATime] function. *)
33 (** See the [llvm::PassManagerBuilder::DisableUnrollLoops] function. *)
37 (** See the [llvm::PassManagerBuilder::Inliner] function. *)
41 (** See the [llvm::PassManagerBuilder::populateFunctionPassManager] function. *)
46 (** See the [llvm::PassManagerBuilder::populateModulePassManager] function. *)
51 (** See the [llvm::PassManagerBuilder::populateLTOPassManager] function. *)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp155 PassManagerBuilder::PassManagerBuilder() { in PassManagerBuilder() function in PassManagerBuilder
185 PassManagerBuilder::~PassManagerBuilder() { in ~PassManagerBuilder()
192 SmallVector<std::tuple<PassManagerBuilder::ExtensionPointTy,
193 PassManagerBuilder::ExtensionFn,
194 PassManagerBuilder::GlobalExtensionID>,
197 static PassManagerBuilder::GlobalExtensionID GlobalExtensionsCounter;
206 PassManagerBuilder::GlobalExtensionID
207 PassManagerBuilder::addGlobalExtension(PassManagerBuilder::ExtensionPointTy Ty, in addGlobalExtension()
208 PassManagerBuilder::ExtensionFn Fn) { in addGlobalExtension()
214 void PassManagerBuilder::removeGlobalExtension( in removeGlobalExtension()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h58 class PassManagerBuilder {
62 typedef std::function<void(const PassManagerBuilder &Builder,
193 PassManagerBuilder();
194 ~PassManagerBuilder();
238 PassManagerBuilder::GlobalExtensionID ExtensionID;
241 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, in RegisterStandardPasses()
242 PassManagerBuilder::ExtensionFn Fn) { in RegisterStandardPasses()
243 ExtensionID = PassManagerBuilder::addGlobalExtension(Ty, std::move(Fn)); in RegisterStandardPasses()
250 PassManagerBuilder::removeGlobalExtension(ExtensionID); in ~RegisterStandardPasses()
/external/llvm-project/llvm/bindings/ocaml/transforms/passmgr_builder/
Dllvm_passmgr_builder.mli16 (** See the [llvm::PassManagerBuilder] function. *)
20 (** See the [llvm::PassManagerBuilder::OptLevel] function. *)
24 (** See the [llvm::PassManagerBuilder::SizeLevel] function. *)
28 (** See the [llvm::PassManagerBuilder::DisableUnitAtATime] function. *)
32 (** See the [llvm::PassManagerBuilder::DisableUnrollLoops] function. *)
36 (** See the [llvm::PassManagerBuilder::Inliner] function. *)
40 (** See the [llvm::PassManagerBuilder::populateFunctionPassManager] function. *)
45 (** See the [llvm::PassManagerBuilder::populateModulePassManager] function. *)
50 (** See the [llvm::PassManagerBuilder::populateLTOPassManager] function. *)
/external/clang/lib/CodeGen/
DBackendUtil.cpp147 class PassManagerBuilderWrapper : public PassManagerBuilder {
151 : PassManagerBuilder(), CGOpts(CGOpts), LangOpts(LangOpts) {} in PassManagerBuilderWrapper()
161 static void addObjCARCAPElimPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCAPElimPass()
166 static void addObjCARCExpandPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCExpandPass()
171 static void addObjCARCOptPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCOptPass()
176 static void addAddDiscriminatorsPass(const PassManagerBuilder &Builder, in addAddDiscriminatorsPass()
182 const PassManagerBuilder &Builder, legacy::PassManagerBase &PM) { in addCleanupPassesForSampleProfiler()
192 static void addBoundsCheckingPass(const PassManagerBuilder &Builder, in addBoundsCheckingPass()
197 static void addSanitizerCoveragePass(const PassManagerBuilder &Builder, in addSanitizerCoveragePass()
213 static void addAddressSanitizerPasses(const PassManagerBuilder &Builder, in addAddressSanitizerPasses()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp179 PassManagerBuilder::PassManagerBuilder() { in PassManagerBuilder() function in PassManagerBuilder
210 PassManagerBuilder::~PassManagerBuilder() { in ~PassManagerBuilder()
217 SmallVector<std::tuple<PassManagerBuilder::ExtensionPointTy,
218 PassManagerBuilder::ExtensionFn,
219 PassManagerBuilder::GlobalExtensionID>,
222 static PassManagerBuilder::GlobalExtensionID GlobalExtensionsCounter;
231 PassManagerBuilder::GlobalExtensionID
232 PassManagerBuilder::addGlobalExtension(PassManagerBuilder::ExtensionPointTy Ty, in addGlobalExtension()
233 PassManagerBuilder::ExtensionFn Fn) { in addGlobalExtension()
239 void PassManagerBuilder::removeGlobalExtension( in removeGlobalExtension()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h59 class PassManagerBuilder {
63 typedef std::function<void(const PassManagerBuilder &Builder,
151 PassManagerBuilder();
152 ~PassManagerBuilder();
186 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, in RegisterStandardPasses()
187 PassManagerBuilder::ExtensionFn Fn) { in RegisterStandardPasses()
188 PassManagerBuilder::addGlobalExtension(Ty, std::move(Fn)); in RegisterStandardPasses()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFTargetMachine.cpp105 void BPFTargetMachine::adjustPassManager(PassManagerBuilder &Builder) { in adjustPassManager()
107 PassManagerBuilder::EP_EarlyAsPossible, in adjustPassManager()
108 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
114 PassManagerBuilder::EP_Peephole, in adjustPassManager()
115 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
120 PassManagerBuilder::EP_ModuleOptimizerEarly, in adjustPassManager()
121 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp173 class PassManagerBuilderWrapper : public PassManagerBuilder {
178 : PassManagerBuilder(), TargetTriple(TargetTriple), CGOpts(CGOpts), in PassManagerBuilderWrapper()
191 static void addObjCARCAPElimPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCAPElimPass()
196 static void addObjCARCExpandPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCExpandPass()
201 static void addObjCARCOptPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { in addObjCARCOptPass()
206 static void addAddDiscriminatorsPass(const PassManagerBuilder &Builder, in addAddDiscriminatorsPass()
211 static void addBoundsCheckingPass(const PassManagerBuilder &Builder, in addBoundsCheckingPass()
237 static void addSanitizerCoveragePass(const PassManagerBuilder &Builder, in addSanitizerCoveragePass()
272 static void addMemProfilerPasses(const PassManagerBuilder &Builder, in addMemProfilerPasses()
278 static void addAddressSanitizerPasses(const PassManagerBuilder &Builder, in addAddressSanitizerPasses()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp52 static void addCoroutineOpt0Passes(const PassManagerBuilder &Builder, in addCoroutineOpt0Passes()
61 static void addCoroutineEarlyPasses(const PassManagerBuilder &Builder, in addCoroutineEarlyPasses()
66 static void addCoroutineScalarOptimizerPasses(const PassManagerBuilder &Builder, in addCoroutineScalarOptimizerPasses()
71 static void addCoroutineSCCPasses(const PassManagerBuilder &Builder, in addCoroutineSCCPasses()
76 static void addCoroutineOptimizerLastPasses(const PassManagerBuilder &Builder, in addCoroutineOptimizerLastPasses()
81 void llvm::addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder) { in addCoroutinePassesToExtensionPoints()
82 Builder.addExtension(PassManagerBuilder::EP_EarlyAsPossible, in addCoroutinePassesToExtensionPoints()
84 Builder.addExtension(PassManagerBuilder::EP_EnabledOnOptLevel0, in addCoroutinePassesToExtensionPoints()
86 Builder.addExtension(PassManagerBuilder::EP_CGSCCOptimizerLate, in addCoroutinePassesToExtensionPoints()
88 Builder.addExtension(PassManagerBuilder::EP_ScalarOptimizerLate, in addCoroutinePassesToExtensionPoints()
[all …]
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp51 static void addCoroutineOpt0Passes(const PassManagerBuilder &Builder, in addCoroutineOpt0Passes()
60 static void addCoroutineEarlyPasses(const PassManagerBuilder &Builder, in addCoroutineEarlyPasses()
65 static void addCoroutineScalarOptimizerPasses(const PassManagerBuilder &Builder, in addCoroutineScalarOptimizerPasses()
70 static void addCoroutineSCCPasses(const PassManagerBuilder &Builder, in addCoroutineSCCPasses()
75 static void addCoroutineOptimizerLastPasses(const PassManagerBuilder &Builder, in addCoroutineOptimizerLastPasses()
80 void llvm::addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder) { in addCoroutinePassesToExtensionPoints()
81 Builder.addExtension(PassManagerBuilder::EP_EarlyAsPossible, in addCoroutinePassesToExtensionPoints()
83 Builder.addExtension(PassManagerBuilder::EP_EnabledOnOptLevel0, in addCoroutinePassesToExtensionPoints()
85 Builder.addExtension(PassManagerBuilder::EP_CGSCCOptimizerLate, in addCoroutinePassesToExtensionPoints()
87 Builder.addExtension(PassManagerBuilder::EP_ScalarOptimizerLate, in addCoroutinePassesToExtensionPoints()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DCoroutines.h17 class PassManagerBuilder; variable
20 void addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder);
/external/llvm-project/llvm/include/llvm/Transforms/
DCoroutines.h17 class PassManagerBuilder; variable
20 void addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder);
/external/llvm-project/llvm/examples/Bye/
DBye.cpp48 llvm::PassManagerBuilder::EP_VectorizerStart,
49 [](const llvm::PassManagerBuilder &Builder,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp252 void HexagonTargetMachine::adjustPassManager(PassManagerBuilder &PMB) { in adjustPassManager()
254 PassManagerBuilder::EP_LateLoopOptimizations, in adjustPassManager()
255 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
259 PassManagerBuilder::EP_LoopOptimizerEnd, in adjustPassManager()
260 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp265 void HexagonTargetMachine::adjustPassManager(PassManagerBuilder &PMB) { in adjustPassManager()
267 PassManagerBuilder::EP_LateLoopOptimizations, in adjustPassManager()
268 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
272 PassManagerBuilder::EP_LoopOptimizerEnd, in adjustPassManager()
273 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
/external/llvm-project/polly/lib/Support/
DRegisterPasses.cpp432 registerPollyEarlyAsPossiblePasses(const llvm::PassManagerBuilder &Builder, in registerPollyEarlyAsPossiblePasses()
445 registerPollyLoopOptimizerEndPasses(const llvm::PassManagerBuilder &Builder, in registerPollyLoopOptimizerEndPasses()
459 registerPollyScalarOptimizerLatePasses(const llvm::PassManagerBuilder &Builder, in registerPollyScalarOptimizerLatePasses()
574 llvm::PassManagerBuilder::EP_ModuleOptimizerEarly,
578 RegisterPollyOptimizerLoopEnd(llvm::PassManagerBuilder::EP_LoopOptimizerEnd,
582 llvm::PassManagerBuilder::EP_VectorizerStart,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp199 void NVPTXTargetMachine::adjustPassManager(PassManagerBuilder &Builder) { in adjustPassManager()
201 PassManagerBuilder::EP_EarlyAsPossible, in adjustPassManager()
202 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp199 void NVPTXTargetMachine::adjustPassManager(PassManagerBuilder &Builder) { in adjustPassManager()
201 PassManagerBuilder::EP_EarlyAsPossible, in adjustPassManager()
202 [&](const PassManagerBuilder &, legacy::PassManagerBase &PM) { in adjustPassManager() argument
/external/llvm/tools/bugpoint/
Dbugpoint.cpp170 PassManagerBuilder Builder; in main()
176 PassManagerBuilder Builder; in main()
/external/llvm-project/llvm/tools/bugpoint/
Dbugpoint.cpp125 PassManagerBuilder Builder; in AddOptimizationPasses()
207 PassManagerBuilder Builder; in main()

123