Home
last modified time | relevance | path

Searched refs:CondInst (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1136 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 …]
H A DEarlyCSE.cpp820 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()
H A DSimpleLoopUnswitch.cpp444 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local
445 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()