Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance
1114 if (!CondInst) { in ProcessBlock()1121 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock()1181 Value *SimplifyValue = CondInst; in ProcessBlock()1193 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in ProcessBlock()1205 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in ProcessBlock()1210 if (CondInst->getOpcode() == Instruction::Xor && in ProcessBlock()1681 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in ProcessThreadableEdges() local1682 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in ProcessThreadableEdges()1683 CondInst->eraseFromParent(); in ProcessThreadableEdges()1692 CondInst->getParent() == BB) in ProcessThreadableEdges()[all …]
584 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,717 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument721 assert(BI->getCondition() == CondInst && "Wrong condition?"); in handleBranchCondition()740 WorkList.push_back(CondInst); in handleBranchCondition()791 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); in processNode() local792 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode()793 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
370 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local371 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()