Lines Matching refs:CondInst
1053 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1056 if (!CondInst) { in processBlock()
1064 Value *CondWithoutFreeze = CondInst; in processBlock()
1065 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock()
1117 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1124 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock()
1134 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1135 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock()
1136 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()
1656 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local
1657 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()
1658 CondInst->eraseFromParent(); in processThreadableEdges()
1667 replaceFoldableUses(CondInst, OnlyVal, BB); in processThreadableEdges()