Searched refs:CondInst (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/examples/Fibonacci/ |
| H A D | fibonacci.cpp | 76 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local 77 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
|
| /openbsd-src/gnu/llvm/llvm/examples/ParallelJIT/ |
| H A D | ParallelJIT.cpp | 107 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local 108 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 1149 Instruction *CondInst = dyn_cast<Instruction>(Condition); in processBlock() local 1152 if (!CondInst) { in processBlock() 1160 Value *CondWithoutFreeze = CondInst; in processBlock() 1161 if (auto *FI = dyn_cast<FreezeInst>(CondInst)) in processBlock() 1216 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock() 1223 if (processThreadableEdges(CondInst, BB, Preference, Terminator)) in processBlock() 1233 if (CondInst->getOpcode() == Instruction::Xor && in processBlock() 1234 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in processBlock() 1235 return processBranchOnXOR(cast<BinaryOperator>(CondInst)); in processBlock() 1748 if (auto *CondInst = dyn_cast<Instruction>(Cond)) { in processThreadableEdges() local [all …]
|
| H A D | EarlyCSE.cpp | 854 bool handleBranchCondition(Instruction *CondInst, const BranchInst *BI, 1087 bool EarlyCSE::handleBranchCondition(Instruction *CondInst, in handleBranchCondition() argument 1091 assert(BI->getCondition() == CondInst && "Wrong condition?"); in handleBranchCondition() 1115 WorkList.push_back(CondInst); in handleBranchCondition() 1250 auto *CondInst = dyn_cast<Instruction>(BI->getCondition()); in processNode() local 1251 if (CondInst && SimpleValue::canHandle(CondInst)) in processNode() 1252 Changed |= handleBranchCondition(CondInst, BI, BB, Pred); in processNode()
|
| H A D | SimpleLoopUnswitch.cpp | 484 if (auto *CondInst = dyn_cast<Instruction>(Cond)) in unswitchTrivialBranch() local 485 Invariants = collectHomogenousInstGraphLoopInvariants(L, *CondInst, LI); in unswitchTrivialBranch()
|