/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | InferFunctionAttrs.cpp | 23 Module &M, function_ref<TargetLibraryInfo &(Function &)> GetTLI) { in inferAllPrototypeAttributes() argument 30 Changed |= inferLibFuncAttributes(F, GetTLI(F)); in inferAllPrototypeAttributes() 39 auto GetTLI = [&FAM](Function &F) -> TargetLibraryInfo & { in run() local 43 if (!inferAllPrototypeAttributes(M, GetTLI)) in run() 68 auto GetTLI = [this](Function &F) -> TargetLibraryInfo & { in runOnModule() local 71 return inferAllPrototypeAttributes(M, GetTLI); in runOnModule()
|
D | SCCP.cpp | 14 auto GetTLI = [&FAM](Function &F) -> const TargetLibraryInfo & { in run() local 24 if (!runIPSCCP(M, DL, GetTLI, getAnalysis)) in run() 53 auto GetTLI = [this](Function &F) -> const TargetLibraryInfo & { in runOnModule() local 68 return runIPSCCP(M, DL, GetTLI, getAnalysis); in runOnModule()
|
D | GlobalOpt.cpp | 160 Value *V, function_ref<TargetLibraryInfo &(Function &)> GetTLI) { in IsSafeComputationToRemove() argument 169 if (isAllocationFn(V, GetTLI)) in IsSafeComputationToRemove() 191 function_ref<TargetLibraryInfo &(Function &)> GetTLI) { in CleanupPointerRootUsers() argument 247 CleanupPointerRootUsers(GV, GetTLI); in CleanupPointerRootUsers() 254 if (IsSafeComputationToRemove(Dead[i].first, GetTLI)) { in CleanupPointerRootUsers() 258 if (isAllocationFn(I, GetTLI)) in CleanupPointerRootUsers() 278 function_ref<TargetLibraryInfo &(Function &)> GetTLI) { in CleanupConstantGlobalUsers() argument 308 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, GetTLI); in CleanupConstantGlobalUsers() 313 Changed |= CleanupConstantGlobalUsers(CE, nullptr, DL, GetTLI); in CleanupConstantGlobalUsers() 327 ConstantFoldInstruction(GEP, DL, &GetTLI(*GEP->getFunction()))); in CleanupConstantGlobalUsers() [all …]
|
D | Inliner.cpp | 531 std::function<TargetLibraryInfo &(Function &)> GetTLI, in inlineCallsImpl() argument 631 isInstructionTriviallyDead(Instr, &GetTLI(*Caller)); in inlineCallsImpl() 762 auto GetTLI = [&](Function &F) -> TargetLibraryInfo & { in inlineCalls() local 769 SCC, CG, GetAssumptionCache, PSI, GetTLI, InsertLifetime, in inlineCalls()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CFLSteensAliasAnalysis.cpp | 65 std::function<const TargetLibraryInfo &(Function &F)> GetTLI) in CFLSteensAAResult() argument 66 : AAResultBase(), GetTLI(std::move(GetTLI)) {} in CFLSteensAAResult() 68 : AAResultBase(std::move(Arg)), GetTLI(std::move(Arg.GetTLI)) {} in CFLSteensAAResult() 186 CFLGraphBuilder<CFLSteensAAResult> GraphBuilder(*this, GetTLI(*Fn), *Fn); in buildSetsFrom() 336 auto GetTLI = [&AM](Function &F) -> const TargetLibraryInfo & { in run() local 339 return CFLSteensAAResult(GetTLI); in run() 355 auto GetTLI = [this](Function &F) -> const TargetLibraryInfo & { in initializePass() local 358 Result.reset(new CFLSteensAAResult(GetTLI)); in initializePass()
|
D | GlobalsModRef.cpp | 377 isFreeCall(I, &GetTLI(*Call->getFunction()))) { in AnalyzeUsesOfPointer() 439 if (!isAllocLikeFn(Ptr, &GetTLI(*SI->getFunction()))) in AnalyzeIndirectGlobalMemory() 586 auto &TLI = GetTLI(*Node->getFunction()); in AnalyzeCallGraph() 952 std::function<const TargetLibraryInfo &(Function &F)> GetTLI) in GlobalsAAResult() argument 953 : AAResultBase(), DL(DL), GetTLI(std::move(GetTLI)) {} in GlobalsAAResult() 956 : AAResultBase(std::move(Arg)), DL(Arg.DL), GetTLI(std::move(Arg.GetTLI)), in GlobalsAAResult() 972 Module &M, std::function<const TargetLibraryInfo &(Function &F)> GetTLI, in analyzeModule() argument 974 GlobalsAAResult Result(M.getDataLayout(), GetTLI); in analyzeModule() 993 auto GetTLI = [&FAM](Function &F) -> TargetLibraryInfo & { in run() local 996 return GlobalsAAResult::analyzeModule(M, GetTLI, in run() [all …]
|
D | CFLAndersAliasAnalysis.cpp | 93 std::function<const TargetLibraryInfo &(Function &F)> GetTLI) in CFLAndersAAResult() argument 94 : GetTLI(std::move(GetTLI)) {} in CFLAndersAAResult() 96 : AAResultBase(std::move(RHS)), GetTLI(std::move(RHS.GetTLI)) {} in CFLAndersAAResult() 785 *this, GetTLI(const_cast<Function &>(Fn)), in buildInfoFrom() 904 auto GetTLI = [&AM](Function &F) -> TargetLibraryInfo & { in run() local 907 return CFLAndersAAResult(GetTLI); in run() 923 auto GetTLI = [this](Function &F) -> TargetLibraryInfo & { in initializePass() local 926 Result.reset(new CFLAndersAAResult(GetTLI)); in initializePass()
|
D | MemoryBuiltins.cpp | 185 function_ref<const TargetLibraryInfo &(Function &)> GetTLI, in getAllocationData() argument 192 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData() 240 const Value *V, function_ref<const TargetLibraryInfo &(Function &)> GetTLI, in isAllocationFn() argument 242 return getAllocationData(V, AnyAlloc, GetTLI, LookThroughBitCast).hasValue(); in isAllocationFn() 262 const Value *V, function_ref<const TargetLibraryInfo &(Function &)> GetTLI, in isMallocLikeFn() argument 264 return getAllocationData(V, MallocLike, GetTLI, LookThroughBitCast) in isMallocLikeFn() 322 function_ref<const TargetLibraryInfo &(Function &)> GetTLI) { in extractMallocCall() argument 323 return isMallocLikeFn(I, GetTLI) ? dyn_cast<CallInst>(I) : nullptr; in extractMallocCall()
|
D | LazyCallGraph.cpp | 154 Module &M, function_ref<TargetLibraryInfo &(Function &)> GetTLI) { in LazyCallGraph() argument 163 if (isKnownLibFunction(F, GetTLI(F))) in LazyCallGraph()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | GlobalsModRef.h | 37 std::function<const TargetLibraryInfo &(Function &F)> GetTLI; variable 80 std::function<const TargetLibraryInfo &(Function &F)> GetTLI); 88 std::function<const TargetLibraryInfo &(Function &F)> GetTLI,
|
D | MemoryBuiltins.h | 62 function_ref<const TargetLibraryInfo &(Function &)> GetTLI, 75 function_ref<const TargetLibraryInfo &(Function &)> GetTLI, 121 function_ref<const TargetLibraryInfo &(Function &)> GetTLI); 124 function_ref<const TargetLibraryInfo &(Function &)> GetTLI) { in extractMallocCall() argument 125 return const_cast<CallInst *>(extractMallocCall((const Value *)I, GetTLI)); in extractMallocCall()
|
D | CFLAndersAliasAnalysis.h | 45 std::function<const TargetLibraryInfo &(Function &F)> GetTLI); 78 std::function<const TargetLibraryInfo &(Function &F)> GetTLI; variable
|
D | CFLSteensAliasAnalysis.h | 46 std::function<const TargetLibraryInfo &(Function &)> GetTLI); 94 std::function<const TargetLibraryInfo &(Function &)> GetTLI;
|
D | LazyCallGraph.h | 935 function_ref<TargetLibraryInfo &(Function &)> GetTLI); 1273 auto GetTLI = [&FAM](Function &F) -> TargetLibraryInfo & { 1276 return LazyCallGraph(M, GetTLI);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/ |
D | InstrProfiling.h | 43 std::function<const TargetLibraryInfo &(Function &F)> GetTLI); 49 std::function<const TargetLibraryInfo &(Function &F)> GetTLI; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 161 auto GetTLI = [this](Function &F) -> TargetLibraryInfo & { in runOnModule() local 164 return InstrProf.run(M, GetTLI); in runOnModule() 379 auto GetTLI = [&FAM](Function &F) -> TargetLibraryInfo & { in run() local 382 if (!run(M, GetTLI)) in run() 452 BPI.reset(new BranchProbabilityInfo(*F, LI, &GetTLI(*F))); in promoteCounterLoadStores() 494 Module &M, std::function<const TargetLibraryInfo &(Function &F)> GetTLI) { in run() argument 496 this->GetTLI = std::move(GetTLI); in run() 613 auto *TLI = &GetTLI(*Ind->getFunction()); in lowerValueProfileInst()
|
D | GCOVProfiling.cpp | 92 std::function<const TargetLibraryInfo &(Function &F)> GetTLI); 133 std::function<const TargetLibraryInfo &(Function &F)> GetTLI; member in __anon821923f40111::GCOVProfiler 563 Module &M, std::function<const TargetLibraryInfo &(Function &F)> GetTLI) { in runOnModule() argument 565 this->GetTLI = std::move(GetTLI); in runOnModule() 635 auto *TLI = &GetTLI(F); in AddFlushBeforeForkAndExec() 959 auto *TLI = &GetTLI(*WriteoutF); in insertCounterWriteout()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | SCCP.h | 49 std::function<const TargetLibraryInfo &(Function &)> GetTLI,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPrintfRuntimeBinding.cpp | 63 function_ref<const TargetLibraryInfo &(Function &)> GetTLI); 150 Module &M, function_ref<const TargetLibraryInfo &(Function &)> GetTLI) { in lowerPrintfForGpu() argument 175 Value *Op_simplified = simplify(I, &GetTLI(*I->getFunction())); in lowerPrintfForGpu() 597 auto GetTLI = [this](Function &F) -> TargetLibraryInfo & { in runOnModule() local 601 return lowerPrintfForGpu(M, GetTLI); in runOnModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 195 std::function<const TargetLibraryInfo &(Function &)> GetTLI; member in __anonc6ab31860111::SCCPSolver 273 std::function<const TargetLibraryInfo &(Function &)> GetTLI) in SCCPSolver() argument 274 : DL(DL), GetTLI(std::move(GetTLI)) {} in SCCPSolver() 1295 Operands, &GetTLI(*F))) { in visitCallSite() 2007 std::function<const TargetLibraryInfo &(Function &)> GetTLI, in runIPSCCP() argument 2009 SCCPSolver Solver(DL, GetTLI); in runIPSCCP()
|