Home
last modified time | relevance | path

Searched refs:ICmp (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp75 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand);
153 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { in eliminateIVComparison() argument
155 ICmpInst::Predicate Pred = ICmp->getPredicate(); in eliminateIVComparison()
156 if (IVOperand != ICmp->getOperand(0)) { in eliminateIVComparison()
158 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand"); in eliminateIVComparison()
164 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); in eliminateIVComparison()
165 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); in eliminateIVComparison()
168 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
178 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
179 DeadInsts.emplace_back(ICmp); in eliminateIVComparison()
[all …]
DLoopUtils.cpp444 case Instruction::ICmp: in isRecurrenceInstr()
562 return Instruction::ICmp; in getRecurrenceBinOp()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
137 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
198 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
258 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
/external/llvm/lib/IR/
DConstantsContext.h283 return CE->getOpcode() == Instruction::ICmp || in classof()
539 case Instruction::ICmp:
540 return new CompareConstantExpr(Ty, Instruction::ICmp, SubclassData,
DInstruction.cpp254 case ICmp: return "icmp"; in getOpcodeName()
DConstants.cpp1115 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp; in isCompare()
1225 case Instruction::ICmp: in getWithOperands()
2024 const ConstantExprKeyType Key(Instruction::ICmp, ArgVec, pred); in getICmp()
3020 case Instruction::ICmp: in getAsInstruction()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp99 case Instruction::ICmp: in getIntImmCost()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp292 case Instruction::ICmp: in PointerMayBeCaptured()
DScalarEvolutionExpander.cpp1548 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); in visitSMaxExpr() local
1549 rememberInstruction(ICmp); in visitSMaxExpr()
1550 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax"); in visitSMaxExpr()
1572 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); in visitUMaxExpr() local
1573 rememberInstruction(ICmp); in visitUMaxExpr()
1574 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax"); in visitUMaxExpr()
DDemandedBits.cpp245 case Instruction::ICmp: in determineLiveOperandBits()
DCostModel.cpp421 case Instruction::ICmp: in getInstructionCost()
DObjCARCInstKind.cpp301 case Instruction::ICmp: in GetARCInstKind()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp579 case Instruction::ICmp: in CanEvaluateShuffled()
658 case Instruction::ICmp: in buildNew()
742 case Instruction::ICmp: in EvaluateInDifferentElementOrder()
DInstCombineCalls.cpp1719 if (ICmpInst* ICmp = dyn_cast<ICmpInst>(IIOperand)) { in visitCallInst() local
1720 Value *LHS = ICmp->getOperand(0); in visitCallInst()
1721 Value *RHS = ICmp->getOperand(1); in visitCallInst()
1722 if (ICmpInst::ICMP_NE == ICmp->getPredicate() && in visitCallInst()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp140 case Instruction::ICmp: in getIntImmCost()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp379 case Instruction::ICmp: in runOnFunction()
/external/llvm/include/llvm/IR/
DInstruction.def183 HANDLE_OTHER_INST(51, ICmp , ICmpInst ) // Integer comparison instruction
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp313 case Instruction::ICmp: in remapConstantExpr()
/external/llvm/test/Transforms/SimplifyCFG/
D2006-12-08-Ptr-ICmp-Branch.ll4 ; ModuleID = '2006-12-08-Ptr-ICmp-Branch.ll'
/external/lldb/source/Expression/
DIRInterpreter.cpp469 case Instruction::ICmp: in CanInterpret()
997 case Instruction::ICmp: in Interpret()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2633 Value *ICmp = Builder.CreateICmpEQ(Next, End); in createInductionVariable() local
2634 Builder.CreateCondBr(ICmp, L->getExitBlock(), Header); in createInductionVariable()
2960 Value *CmpN = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, Count, in createEmptyLoop()
3415 if (Op != Instruction::ICmp && Op != Instruction::FCmp) in vectorizeLoop()
3448 if (Op != Instruction::ICmp && Op != Instruction::FCmp) in vectorizeLoop()
3805 case Instruction::ICmp: in vectorizeBlockInLoop()
5413 case Instruction::ICmp: in getInstructionCost()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp403 case Instruction::ICmp: in equivalentAsOperands()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp96 case Instruction::ICmp: in getIntImmCost()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp614 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp, in Act()
/external/llvm/lib/AsmParser/
DLLLexer.cpp724 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp); in LexIdentifier()

123