Home
last modified time | relevance | path

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

/external/llvm/examples/Fibonacci/
Dfibonacci.cpp64 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
65 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp523 if (auto *CondInst = dyn_cast<Instruction>(BI->getCondition())) in processNode() local
524 if (SimpleValue::canHandle(CondInst)) { in processNode()
529 AvailableValues.insert(CondInst, ConditionalConstant); in processNode()
531 << CondInst->getName() << "' as " << *ConditionalConstant in processNode()
534 replaceDominatedUsesWith(CondInst, ConditionalConstant, DT, in processNode()
DJumpThreading.cpp797 Instruction *CondInst = dyn_cast<Instruction>(Condition); in ProcessBlock() local
800 if (!CondInst) { in ProcessBlock()
808 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock()
849 Value *SimplifyValue = CondInst; in ProcessBlock()
865 if (ProcessThreadableEdges(CondInst, BB, Preference, Terminator)) in ProcessBlock()
870 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in ProcessBlock()
876 if (CondInst->getOpcode() == Instruction::Xor && in ProcessBlock()
877 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in ProcessBlock()
878 return ProcessBranchOnXOR(cast<BinaryOperator>(CondInst)); in ProcessBlock()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp92 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
93 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()