Lines Matching refs:CondInst
1063 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1066 if (!CondInst) { in processBlock()
1074 Value *CondWithoutFreeze = CondInst; in processBlock()
1075 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock()
1130 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1137 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock()
1147 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1148 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock()
1149 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()
1667 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local
1668 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()
1669 CondInst->eraseFromParent(); in processThreadableEdges()
1678 replaceFoldableUses(CondInst, OnlyVal, BB); in processThreadableEdges()