Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1114 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() local
1682 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in ProcessThreadableEdges()
1683 CondInst->eraseFromParent(); in ProcessThreadableEdges()
1692 CondInst->getParent() == BB) in ProcessThreadableEdges()
[all …]
H A DEarlyCSE.cpp584 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,
717 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument
721 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() local
792 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode()
793 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
H A DSimpleLoopUnswitch.cpp370 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local
371 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()