Lines Matching defs:FC
286 LLVM_DEBUG(dbgs() << "FC has invalid CFG requirements!\n");
404 const FusionCandidate &FC) {
405 if (FC.isValid())
406 OS << FC.Preheader->getName();
415 for (const FusionCandidate &FC : CandSet)
416 OS << FC << '\n';
1078 /// Check that the guard for \p FC *only* contains the cmp/branch for the
1083 bool isEmptyGuardBlock(const FusionCandidate &FC) const {
1084 assert(FC.GuardBranch && "Expecting a fusion candidate with guard branch.");
1085 if (auto *CmpInst = dyn_cast<Instruction>(FC.GuardBranch->getCondition())) {
1086 auto *GuardBlock = FC.GuardBranch->getParent();
1100 bool isEmptyPreheader(const FusionCandidate &FC) const {
1101 assert(FC.Preheader && "Expecting a valid preheader");
1102 return FC.Preheader->size() == 1;
1105 bool isEmptyExitBlock(const FusionCandidate &FC) const {
1106 assert(FC.ExitBlock && "Expecting a valid exit block");
1107 return FC.ExitBlock->size() == 1;
1110 /// Simplify the condition of the latch branch of \p FC to true, when both of
1112 void simplifyLatchBranch(const FusionCandidate &FC) const {
1113 BranchInst *FCLatchBranch = dyn_cast<BranchInst>(FC.Latch->getTerminator());