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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1086 Instruction *CondInst = dyn_cast<Instruction>(Condition); local
1089 if (!CondInst) {
1096 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) {
1127 // We can safely replace *some* uses of the CondInst if it has
1160 Value *SimplifyValue = CondInst;
1172 if (PHINode *PN = dyn_cast<PHINode>(CondInst))
1179 if (ProcessThreadableEdges(CondInst, BB, Preference, Terminator))
1184 if (PHINode *PN = dyn_cast<PHINode>(CondInst))
1189 if (CondInst->getOpcode() == Instruction::Xor &&
1190 CondInst
[all...]
H A DEarlyCSE.cpp736 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI,
849 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, argument
853 assert(BI->getCondition() == CondInst && "Wrong condition?");
872 WorkList.push_back(CondInst);
923 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); local
924 if (CondInst && SimpleValue::canHandle(CondInst))
925 Changed |= handleBranchCondition(CondInst, BI, BB, Pred);
H A DSimpleLoopUnswitch.cpp382 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition()))
383 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI);

Completed in 69 milliseconds