Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 1050 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local 1053 if (!CondInst) { in processBlock() 1061 Value *CondWithoutFreeze = CondInst; in processBlock() 1062 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock() 1114 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock() 1121 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock() 1131 if (CondInst->getOpcode() == Instruction::Xor && in processBlock() 1132 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock() 1133 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock() 1666 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local [all …]
|
| H A D | EarlyCSE.cpp | 952 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI, 1180 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument 1184 assert(BI->getCondition() == CondInst && "Wrong condition?"); in handleBranchCondition() 1208 WorkList.push_back(CondInst); in handleBranchCondition() 1375 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); in processNode() local 1376 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode() 1377 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
|
| H A D | SimpleLoopUnswitch.cpp | 533 if (auto *CondInst = dyn_cast<Instruction>(Cond)) in unswitchTrivialBranch() local 534 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()
|