Home
last modified time | relevance | path

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

/external/llvm/examples/Fibonacci/
Dfibonacci.cpp77 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
78 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
/external/swiftshader/third_party/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.cpp515 if (auto *CondInst = dyn_cast<Instruction>(BI->getCondition())) in processNode() local
516 if (SimpleValue::canHandle(CondInst)) { in processNode()
521 AvailableValues.insert(CondInst, ConditionalConstant); in processNode()
523 << CondInst->getName() << "' as " << *ConditionalConstant in processNode()
527 replaceDominatedUsesWith(CondInst, ConditionalConstant, DT, in processNode()
DJumpThreading.cpp796 Instruction *CondInst = dyn_cast<Instruction>(Condition); in ProcessBlock() local
799 if (!CondInst) { in ProcessBlock()
807 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock()
848 Value *SimplifyValue = CondInst; in ProcessBlock()
864 if (ProcessThreadableEdges(CondInst, BB, Preference, Terminator)) in ProcessBlock()
869 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in ProcessBlock()
875 if (CondInst->getOpcode() == Instruction::Xor && in ProcessBlock()
876 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in ProcessBlock()
877 return ProcessBranchOnXOR(cast<BinaryOperator>(CondInst)); in ProcessBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp715 Instruction *CondInst = dyn_cast<Instruction>(Condition); in ProcessBlock() local
718 if (CondInst == 0) { in ProcessBlock()
726 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock()
770 Value *SimplifyValue = CondInst; in ProcessBlock()
786 if (ProcessThreadableEdges(CondInst, BB, Preference)) in ProcessBlock()
791 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in ProcessBlock()
797 if (CondInst->getOpcode() == Instruction::Xor && in ProcessBlock()
798 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in ProcessBlock()
799 return ProcessBranchOnXOR(cast<BinaryOperator>(CondInst)); in ProcessBlock()
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/
DParallelJIT.cpp91 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
92 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp108 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction() local
109 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()