Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1053 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1056 if (!CondInst) { in processBlock()
1064 Value *CondWithoutFreeze = CondInst; in processBlock()
1065 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock()
1117 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1124 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock()
1134 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1135 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock()
1136 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()
1656 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local
[all …]
H A DEarlyCSE.cpp958 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,
1191 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument
1195 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() local
1369 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode()
1370 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
H A DSimpleLoopUnswitch.cpp527 if (auto *CondInst = dyn_cast<Instruction>(Cond)) in unswitchTrivialBranch() local
528 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()