Lines Matching defs:GetTLI

170     Value *V, function_ref<TargetLibraryInfo &(Function &)> GetTLI) {
179 if (isAllocationFn(V, GetTLI))
201 function_ref<TargetLibraryInfo &(Function &)> GetTLI) {
254 if (IsSafeComputationToRemove(Dead[i].first, GetTLI)) {
258 if (isAllocationFn(I, GetTLI))
836 function_ref<TargetLibraryInfo &(Function &)> GetTLI) {
882 Changed |= CleanupPointerRootUsers(GV, GetTLI);
1126 function_ref<TargetLibraryInfo &(Function &)> GetTLI) {
1142 if (OptimizeAwayTrappingUsesOfLoads(GV, SOVC, DL, GetTLI))
1144 } else if (isAllocationFn(StoredOnceVal, GetTLI)) {
1146 auto *TLI = &GetTLI(*CI->getFunction());
1457 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
1503 Changed = CleanupPointerRootUsers(GV, GetTLI);
1601 if (optimizeOnceStoredGlobal(GV, StoredOnceValue, DL, GetTLI))
1630 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
1662 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) ||
1925 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
1973 Changed |= processGlobal(F, GetTTI, GetTLI, LookupDomTree);
2202 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
2217 // provide GetTLI anyway.
2232 Changed |= processGlobal(GV, GetTTI, GetTLI, LookupDomTree);
2503 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
2509 auto *TLI = &GetTLI(*FuncIter);
2519 TLI = &GetTLI(*Fn);
2817 function_ref<TargetLibraryInfo &(Function &)> GetTLI,
2846 LocalChange |= OptimizeFunctions(M, GetTLI, GetTTI, GetBFI, LookupDomTree,
2856 bool Evaluated = EvaluateStaticConstructor(F, DL, &GetTLI(*F));
2863 LocalChange |= OptimizeGlobalVars(M, GetTTI, GetTLI, LookupDomTree,
2872 FindAtExitLibFunc(M, GetTLI, LibFunc_cxa_atexit))
2875 if (Function *AtExitFn = FindAtExitLibFunc(M, GetTLI, LibFunc_atexit))
2903 auto GetTLI = [&FAM](Function &F) -> TargetLibraryInfo & {
2918 if (!optimizeGlobalsInModule(M, DL, GetTLI, GetTTI, GetBFI, LookupDomTree,