Lines Matching refs:CurAST

89                  const Loop *CurLoop, AliasSetTracker *CurAST,
98 AliasSetTracker *CurAST);
105 Loop *CurLoop, AliasSetTracker *CurAST,
222 AliasSetTracker *CurAST = collectAliasInfoForLoop(L, LI, AA); in runOnLoop() local
243 CurAST, &SafetyInfo); in runOnLoop()
246 CurAST, &SafetyInfo); in runOnLoop()
256 for (AliasSet &AS : *CurAST) in runOnLoop()
258 AS, ExitBlocks, InsertPts, PIC, LI, DT, TLI, L, CurAST, &SafetyInfo); in runOnLoop()
281 LoopToAliasSetMap[L] = CurAST; in runOnLoop()
283 delete CurAST; in runOnLoop()
297 AliasSetTracker *CurAST, LoopSafetyInfo *SafetyInfo) { in sinkRegion() argument
301 CurLoop != nullptr && CurAST != nullptr && SafetyInfo != nullptr && in sinkRegion()
313 Changed |= sinkRegion(Child, AA, LI, DT, TLI, CurLoop, CurAST, SafetyInfo); in sinkRegion()
328 CurAST->deleteValue(&I); in sinkRegion()
340 canSinkOrHoistInst(I, AA, DT, TLI, CurLoop, CurAST, SafetyInfo)) { in sinkRegion()
342 Changed |= sink(I, LI, DT, CurLoop, CurAST, SafetyInfo); in sinkRegion()
355 AliasSetTracker *CurAST, LoopSafetyInfo *SafetyInfo) { in hoistRegion() argument
358 CurLoop != nullptr && CurAST != nullptr && SafetyInfo != nullptr && in hoistRegion()
379 CurAST->copyValue(&I, C); in hoistRegion()
380 CurAST->deleteValue(&I); in hoistRegion()
391 canSinkOrHoistInst(I, AA, DT, TLI, CurLoop, CurAST, SafetyInfo) && in hoistRegion()
400 Changed |= hoistRegion(Child, AA, LI, DT, TLI, CurLoop, CurAST, SafetyInfo); in hoistRegion()
442 AliasSetTracker *CurAST, LoopSafetyInfo *SafetyInfo) { in canSinkOrHoistInst() argument
463 return !pointerInvalidatedByLoop(LI->getOperand(0), Size, AAInfo, CurAST); in canSinkOrHoistInst()
485 AAMDNodes(), CurAST)) in canSinkOrHoistInst()
492 for (AliasSet &AS : *CurAST) { in canSinkOrHoistInst()
651 const Loop *CurLoop, AliasSetTracker *CurAST, in sink() argument
711 CurAST->deleteValue(&I); in sink()
846 Loop *CurLoop, AliasSetTracker *CurAST, LoopSafetyInfo *SafetyInfo) { in promoteLoopAccessesToScalars() argument
849 CurAST != nullptr && SafetyInfo != nullptr && in promoteLoopAccessesToScalars()
1047 InsertPts, PIC, *CurAST, *LI, DL, Alignment, AATags); in promoteLoopAccessesToScalars()
1079 AliasSetTracker *CurAST = nullptr; in collectAliasInfoForLoop() local
1092 if (CurAST != nullptr) { in collectAliasInfoForLoop()
1094 CurAST->add(*InnerAST); in collectAliasInfoForLoop()
1100 CurAST = InnerAST; in collectAliasInfoForLoop()
1104 if (CurAST == nullptr) in collectAliasInfoForLoop()
1105 CurAST = new AliasSetTracker(*AA); in collectAliasInfoForLoop()
1113 CurAST->add(*BB); // Incorporate the specified basic block in collectAliasInfoForLoop()
1123 return CurAST; in collectAliasInfoForLoop()
1163 AliasSetTracker *CurAST) { in pointerInvalidatedByLoop() argument
1165 return CurAST->getAliasSetForPointer(V, Size, AAInfo).isMod(); in pointerInvalidatedByLoop()