Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance
1063 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local1066 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()1147 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()1149 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()1667 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local1668 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()1669 CondInst->eraseFromParent(); in processThreadableEdges()[all …]
958 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,1191 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument1195 assert(BI->getCondition() == CondInst && "Wrong condition?"); in handleBranchCondition()1219 WorkList.push_back(CondInst); in handleBranchCondition()1368 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); in processNode() local1369 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode()1370 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
525 if (auto *CondInst = dyn_cast<Instruction>(Cond)) in unswitchTrivialBranch() local526 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()