Lines Matching refs:Preheader
285 BasicBlock *Preheader = L.getLoopPreheader(); in sinkLoopInvariantInstructions() local
286 assert(Preheader && "Expected loop to have preheader"); in sinkLoopInvariantInstructions()
288 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
291 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions()
326 for (auto II = Preheader->rbegin(), E = Preheader->rend(); II != E;) { in sinkLoopInvariantInstructions()
344 static void computeAliasSet(Loop &L, BasicBlock &Preheader, in computeAliasSet() argument
348 CurAST.add(Preheader); in computeAliasSet()
376 BasicBlock *Preheader = L.getLoopPreheader(); in run() local
377 if (!Preheader) in run()
382 if (!Preheader->getParent()->hasProfileData()) in run()
388 computeAliasSet(L, *Preheader, *CurAST.get()); in run()
426 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop() local
427 if (!Preheader) in runOnLoop()
432 if (!Preheader->getParent()->hasProfileData()) in runOnLoop()
443 computeAliasSet(*L, *Preheader, *CurAST.get()); in runOnLoop()