Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/examples/Fibonacci/
H A Dfibonacci.cpp76 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
77 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1134 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local
1137 if (!CondInst) { in processBlock()
1144 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in processBlock()
1207 Value *SimplifyValue = CondInst; in processBlock()
1224 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock()
1231 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock()
1237 isa<FreezeInst>(CondInst) ? cast<FreezeInst>(CondInst)->getOperand(0) in processBlock()
1238 : CondInst); in processBlock()
1244 if (CondInst->getOpcode() == Instruction::Xor && in processBlock()
1245 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock()
[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.cpp395 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() local
396 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp107 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
108 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()