Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1063 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1066 if (!CondInst) { in processBlock()
1074 Value *CondWithoutFreeze = CondInst; in processBlock()
1075 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock()
1130 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1147 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1149 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock()
1667 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local
1668 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges()
1669 CondInst->eraseFromParent(); in processThreadableEdges()
[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.cpp525 if (auto *CondInst = dyn_cast<Instruction>(Cond)) in unswitchTrivialBranch() local
526 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()