reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopFuse.cpp
  173       GuardBranch = L->getLoopGuardBranch();
  238     if (GuardBranch)
  239       return GuardBranch->getParent();
  252     assert(GuardBranch && "Only valid on guarded loops.");
  253     assert(GuardBranch->isConditional() &&
  255     return (GuardBranch->getSuccessor(0) == Preheader)
  256                ? GuardBranch->getSuccessor(1)
  257                : GuardBranch->getSuccessor(0);
  269            << (GuardBranch ? GuardBranch->getName() : "nullptr") << "\n"
  269            << (GuardBranch ? GuardBranch->getName() : "nullptr") << "\n"
  738           if (FC0->GuardBranch && FC1->GuardBranch &&
  738           if (FC0->GuardBranch && FC1->GuardBranch &&
  760           if (FC0->GuardBranch && !isEmptyExitBlock(*FC0)) {
  768           if (FC1->GuardBranch && !isEmptyGuardBlock(*FC1)) {
 1045     if (FC0.GuardBranch)
 1065     assert(FC0.GuardBranch && FC1.GuardBranch &&
 1065     assert(FC0.GuardBranch && FC1.GuardBranch &&
 1069             dyn_cast<Instruction>(FC0.GuardBranch->getCondition()))
 1071               dyn_cast<Instruction>(FC1.GuardBranch->getCondition()))
 1078     if (FC0.GuardBranch->getSuccessor(0) == FC0.Preheader)
 1079       return (FC1.GuardBranch->getSuccessor(0) == FC1.Preheader);
 1081       return (FC1.GuardBranch->getSuccessor(1) == FC1.Preheader);
 1090     assert(FC.GuardBranch && "Expecting a fusion candidate with guard branch.");
 1091     if (auto *CmpInst = dyn_cast<Instruction>(FC.GuardBranch->getCondition())) {
 1092       auto *GuardBlock = FC.GuardBranch->getParent();
 1155     if (FC0.GuardBranch)
 1351     assert(FC0.GuardBranch && FC1.GuardBranch && "Expecting guarded loops");
 1351     assert(FC0.GuardBranch && FC1.GuardBranch && "Expecting guarded loops");
 1353     BasicBlock *FC0GuardBlock = FC0.GuardBranch->getParent();
 1354     BasicBlock *FC1GuardBlock = FC1.GuardBranch->getParent();
 1370     FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock);
 1375     FC1.GuardBranch->eraseFromParent();