Home
last modified time | relevance | path

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

123

/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/llvm-project/mlir/test/lib/Transforms/
DTestInlining.cpp28 struct Inliner : public PassWrapper<Inliner, FunctionPass> { struct
67 PassRegistration<Inliner>("test-inline", "Test inlining region calls"); in registerInliner()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp159 Inliner = nullptr; in PassManagerBuilder()
187 delete Inliner; in ~PassManagerBuilder()
490 if (Inliner) { in populateModulePassManager()
491 MPM.add(Inliner); in populateModulePassManager()
492 Inliner = nullptr; in populateModulePassManager()
596 if (Inliner) { in populateModulePassManager()
597 MPM.add(Inliner); in populateModulePassManager()
598 Inliner = nullptr; in populateModulePassManager()
922 bool RunInliner = Inliner; in addLTOOptimizationPasses()
924 PM.add(Inliner); in addLTOOptimizationPasses()
[all …]
DCMakeLists.txt24 Inliner.cpp
/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/llvm-project/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp183 Inliner = nullptr; in PassManagerBuilder()
212 delete Inliner; in ~PassManagerBuilder()
536 if (Inliner) { in populateModulePassManager()
537 MPM.add(Inliner); in populateModulePassManager()
538 Inliner = nullptr; in populateModulePassManager()
646 if (Inliner) { in populateModulePassManager()
647 MPM.add(Inliner); in populateModulePassManager()
648 Inliner = nullptr; in populateModulePassManager()
998 bool RunInliner = Inliner; in addLTOOptimizationPasses()
1000 PM.add(Inliner); in addLTOOptimizationPasses()
[all …]
DCMakeLists.txt25 Inliner.cpp
/external/skia/src/sksl/
DSkSLInliner.cpp221 Inliner::ReturnComplexity Inliner::GetReturnComplexity(const FunctionDefinition& funcDef) { in GetReturnComplexity()
236 void Inliner::ensureScopedBlocks(Statement* inlinedBody, Statement* parentStmt) { in ensureScopedBlocks()
278 void Inliner::reset() { in reset()
283 std::unique_ptr<Expression> Inliner::inlineExpression(int offset, in inlineExpression()
422 std::unique_ptr<Statement> Inliner::inlineStatement(int offset, in inlineStatement()
567 Inliner::InlineVariable Inliner::makeInlineVariable(const String& baseName, in makeInlineVariable()
604 Inliner::InlinedCall Inliner::inlineCall(FunctionCall* call, in inlineCall()
710 bool Inliner::isSafeToInline(const FunctionDefinition* functionDef) { in isSafeToInline()
1032 bool Inliner::candidateCanBeInlined(const InlineCandidate& candidate, InlinabilityCache* cache) { in candidateCanBeInlined()
1044 int Inliner::getFunctionSize(const FunctionDeclaration& funcDecl, FunctionSizeCache* cache) { in getFunctionSize()
[all …]
DSkSLInliner.h38 class Inliner {
40 Inliner(const Context* context) : fContext(context) {} in Inliner() function
/external/llvm-project/llvm/tools/bugpoint/
Dbugpoint.cpp130 Builder.Inliner = createFunctionInliningPass(OptLevel, SizeLevel, false); in AddOptimizationPasses()
132 Builder.Inliner = createAlwaysInlinerLegacyPass(); in AddOptimizationPasses()
208 Builder.Inliner = createFunctionInliningPass(); in main()
/external/llvm-project/mlir/lib/Transforms/
DInliner.cpp362 struct Inliner : public InlinerInterface { struct
363 Inliner(MLIRContext *context, CallGraph &cg, in Inliner() function
426 static LogicalResult inlineCallsInSCC(Inliner &inliner, CGUseList &useList, in inlineCallsInSCC()
575 void inlineSCC(Inliner &inliner, CGUseList &useList, CallGraphSCC &currentSCC,
603 Inliner inliner(context, cg, symbolTable); in runOnOperation()
613 void InlinerPass::inlineSCC(Inliner &inliner, CGUseList &useList, in inlineSCC()
DCMakeLists.txt12 Inliner.cpp
/external/llvm/test/Transforms/Inline/
Dnull-function.ll8 ; CHECK: *** IR Dump Before Inliner for always_inline functions ***
/external/llvm-project/llvm/test/Transforms/Inline/
Dnull-function.ll8 ; CHECK: *** IR Dump Before Inliner for always_inline functions ***
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…
/external/llvm-project/flang/lib/Optimizer/
DCMakeLists.txt12 Transforms/Inliner.cpp
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc226 builder.Inliner = llvm::createFunctionInliningPass(); in AddOptimizationPasses()
229 builder.Inliner = llvm::createAlwaysInlinerLegacyPass(); in AddOptimizationPasses()
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/
DBUILD.gn45 "Inliner.cpp",
/external/llvm-project/llvm/test/Other/
Dopt-O0-pipeline.ll25 ; CHECK-NEXT: Inliner for always_inline functions

123