Lines Matching refs:CondInst
1126 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1129 if (!CondInst) { in processBlock()
1137 Value *CondWithoutFreeze = CondInst; in processBlock()
1138 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock()
1193 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1200 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock()
1210 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1211 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock()
1212 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()
1725 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local
1726 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()
1727 CondInst->eraseFromParent(); in processThreadableEdges()
1736 replaceFoldableUses(CondInst, OnlyVal, BB); in processThreadableEdges()