Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance
1136 if (!CondInst) { in processBlock()1143 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in processBlock()1206 Value *SimplifyValue = CondInst; in processBlock()1223 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()1236 isa<FreezeInst>(CondInst) ? cast<FreezeInst>(CondInst)->getOperand(0) in processBlock()1237 : CondInst); in processBlock()1243 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()1742 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()1743 CondInst->eraseFromParent(); in processThreadableEdges()1752 CondInst->getParent() == BB) in processThreadableEdges()[all …]
820 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,1047 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument1051 assert(BI->getCondition() == CondInst && "Wrong condition?"); in handleBranchCondition()1075 WorkList.push_back(CondInst); in handleBranchCondition()1207 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); in processNode() local1208 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode()1209 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
444 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local445 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()