Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | JumpThreading.cpp | 1133 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local 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() 1230 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) 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() 1244 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock() [all …]
|
| D | EarlyCSE.cpp | 820 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI, 1047 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument 1051 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() local 1208 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode() 1209 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
|
| D | SimpleLoopUnswitch.cpp | 444 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local 445 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()
|