Home
last modified time | relevance | path

Searched refs:Inliner (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/lib/Transforms/IPO/
DInlineSimple.cpp41 class SimpleInliner : public Inliner {
50 : Inliner(ID), DefaultThreshold(llvm::getDefaultInlineThreshold()) { in SimpleInliner()
55 : Inliner(ID), DefaultThreshold(Threshold) { in SimpleInliner()
101 return Inliner::runOnSCC(SCC); in runOnSCC()
106 Inliner::getAnalysisUsage(AU); in getAnalysisUsage()
DInliner.cpp50 Inliner::Inliner(char &ID) : CallGraphSCCPass(ID), InsertLifetime(true) {} in Inliner() function in Inliner
52 Inliner::Inliner(char &ID, bool InsertLifetime) in Inliner() function in Inliner
58 void Inliner::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred()
303 bool Inliner::shouldInline(CallSite CS) { in shouldInline()
370 bool Inliner::runOnSCC(CallGraphSCC &SCC) { in runOnSCC()
376 bool Inliner::inlineCalls(CallGraphSCC &SCC) { in inlineCalls()
570 bool Inliner::doFinalization(CallGraph &CG) { in doFinalization()
575 bool Inliner::removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly) { in removeDeadFunctions()
DPassManagerBuilder.cpp132 Inliner = nullptr; in PassManagerBuilder()
154 delete Inliner; in ~PassManagerBuilder()
340 if (Inliner) { in populateModulePassManager()
341 MPM.add(Inliner); in populateModulePassManager()
342 Inliner = nullptr; in populateModulePassManager()
400 if (Inliner) { in populateModulePassManager()
401 MPM.add(Inliner); in populateModulePassManager()
402 Inliner = nullptr; in populateModulePassManager()
648 bool RunInliner = Inliner; in addLTOOptimizationPasses()
650 PM.add(Inliner); in addLTOOptimizationPasses()
[all …]
DInlineAlways.cpp38 class AlwaysInliner : public Inliner {
41 AlwaysInliner() : Inliner(ID, /*InsertLifetime*/ true) { in AlwaysInliner()
45 AlwaysInliner(bool InsertLifetime) : Inliner(ID, InsertLifetime) { in AlwaysInliner()
DCMakeLists.txt19 Inliner.cpp
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp37 Inliner = 0; in PassManagerBuilder()
45 delete Inliner; in ~PassManagerBuilder()
100 if (Inliner) { in populateModulePassManager()
101 MPM.add(Inliner); in populateModulePassManager()
102 Inliner = 0; in populateModulePassManager()
125 if (Inliner) { in populateModulePassManager()
126 MPM.add(Inliner); in populateModulePassManager()
127 Inliner = 0; in populateModulePassManager()
316 Builder->Inliner = createFunctionInliningPass(Threshold); in LLVMPassManagerBuilderUseInlinerWithThreshold()
DInliner.cpp50 Inliner::Inliner(char &ID) in Inliner() function in Inliner
53 Inliner::Inliner(char &ID, int Threshold) in Inliner() function in Inliner
60 void Inliner::getAnalysisUsage(AnalysisUsage &Info) const { in getAnalysisUsage()
197 unsigned Inliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
218 bool Inliner::shouldInline(CallSite CS) { in shouldInline()
330 bool Inliner::runOnSCC(CallGraphSCC &SCC) { in runOnSCC()
511 bool Inliner::doFinalization(CallGraph &CG) { in doFinalization()
517 bool Inliner::removeDeadFunctions(CallGraph &CG, in removeDeadFunctions()
DInlineSimple.cpp32 class SimpleInliner : public Inliner {
37 SimpleInliner() : Inliner(ID) { in SimpleInliner()
40 SimpleInliner(int Threshold) : Inliner(ID, Threshold) { in SimpleInliner()
DInlineAlways.cpp34 class AlwaysInliner : public Inliner {
40 AlwaysInliner() : Inliner(ID, -2000000000) { in AlwaysInliner()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp159 Inliner = nullptr; in PassManagerBuilder()
180 delete Inliner; in ~PassManagerBuilder()
430 if (Inliner) { in populateModulePassManager()
431 MPM.add(Inliner); in populateModulePassManager()
432 Inliner = nullptr; in populateModulePassManager()
525 if (Inliner) { in populateModulePassManager()
526 MPM.add(Inliner); in populateModulePassManager()
527 Inliner = nullptr; in populateModulePassManager()
810 bool RunInliner = Inliner; in addLTOOptimizationPasses()
812 PM.add(Inliner); in addLTOOptimizationPasses()
[all …]
DCMakeLists.txt22 Inliner.cpp
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
DInlinerPass.h32 struct Inliner : public CallGraphSCCPass { struct
33 explicit Inliner(char &ID);
34 explicit Inliner(char &ID, int Threshold);
DPassManagerBuilder.h88 Pass *Inliner; variable
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h33 struct Inliner : public CallGraphSCCPass { struct
34 explicit Inliner(char &ID);
35 explicit Inliner(char &ID, bool InsertLifetime);
DPassManagerBuilder.h120 Pass *Inliner; variable
/external/llvm/tools/bugpoint/
Dbugpoint.cpp171 Builder.Inliner = createFunctionInliningPass(); in main()
178 Builder.Inliner = createAlwaysInlinerPass(); in main()
180 Builder.Inliner = createFunctionInliningPass(225); in main()
182 Builder.Inliner = createFunctionInliningPass(275); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
Dbugpoint.cpp189 Builder.Inliner = createFunctionInliningPass(); in main()
196 Builder.Inliner = createAlwaysInlinerLegacyPass(); in main()
198 Builder.Inliner = createFunctionInliningPass( in main()
201 Builder.Inliner = createFunctionInliningPass(275); in main()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
Dbugpoint.cpp164 Builder.Inliner = createFunctionInliningPass(); in main()
177 Builder.Inliner = createAlwaysInlinerPass(); in main()
179 Builder.Inliner = createFunctionInliningPass(225); in main()
181 Builder.Inliner = createFunctionInliningPass(275); in main()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc211 builder.Inliner = llvm::createFunctionInliningPass(); in AddOptimizationPasses()
214 builder.Inliner = llvm::createAlwaysInlinerLegacyPass(); in AddOptimizationPasses()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
Dbasictest.ll95 ; Inliner shouldn't delete calls it can't inline, even if they're trivially dead
111 ; Inliner shouldn't delete calls it can't inline, even if they're trivially dead and temporarily in…
Dnull-function.ll8 ; CHECK: *** IR Dump Before Inliner for always_inline functions ***
/external/llvm/test/Transforms/Inline/
Dnull-function.ll8 ; CHECK: *** IR Dump Before Inliner for always_inline functions ***
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dopt-O0-pipeline.ll20 ; CHECK-NEXT: Inliner for always_inline functions
/external/llvm/tools/opt/
Dopt.cpp245 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel); in AddOptimizationPasses()
247 Builder.Inliner = createAlwaysInlinerPass(); in AddOptimizationPasses()
283 Builder.Inliner = createFunctionInliningPass(); in AddStandardLinkPasses()
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dllvm_passmgr_builder.mli37 (** See the [llvm::PassManagerBuilder::Inliner] function. *)

12