/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 75 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand); 149 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { in eliminateIVComparison() argument 151 ICmpInst::Predicate Pred = ICmp->getPredicate(); in eliminateIVComparison() 152 if (IVOperand != ICmp->getOperand(0)) { in eliminateIVComparison() 154 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand"); in eliminateIVComparison() 160 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); in eliminateIVComparison() 161 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); in eliminateIVComparison() 164 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison() 171 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison() 173 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison() [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST() 136 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 157 case Instruction::ICmp: in PointerMayBeCaptured()
|
D | CostModel.cpp | 131 case Instruction::ICmp: in getInstructionCost()
|
D | ScalarEvolutionExpander.cpp | 1441 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); in visitSMaxExpr() local 1442 rememberInstruction(ICmp); in visitSMaxExpr() 1443 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax"); in visitSMaxExpr() 1465 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); in visitUMaxExpr() local 1466 rememberInstruction(ICmp); in visitUMaxExpr() 1467 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax"); in visitUMaxExpr()
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeISelLowering.h | 79 ICmp, enumerator
|
D | MBlazeISelLowering.cpp | 48 case MBlazeISD::ICmp : return "MBlazeISD::ICmp"; in getTargetNodeName() 584 CompareFlag = DAG.getNode(MBlazeISD::ICmp, dl, MVT::i32, LHS, RHS) in LowerSELECT_CC()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCUtil.cpp | 219 case Instruction::ICmp: in GetInstructionClass()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 299 case Instruction::ICmp: in runOnFunction()
|
D | GVN.cpp | 197 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) && in create_cmp_expression() 418 case Instruction::ICmp: in lookup_or_add()
|
D | SCCP.cpp | 1417 case Instruction::ICmp: in ResolvedUndefsIn()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 161 HANDLE_OTHER_INST(45, ICmp , ICmpInst ) // Integer comparison instruction
|
D | Instructions.h | 926 Instruction::ICmp, pred, LHS, RHS, NameStr, 947 Instruction::ICmp, pred, LHS, RHS, NameStr, 967 Instruction::ICmp, pred, LHS, RHS, NameStr) { 1047 return I->getOpcode() == Instruction::ICmp;
|
D | InstrTypes.h | 818 return I->getOpcode() == Instruction::ICmp ||
|
/external/llvm/lib/IR/ |
D | ConstantsContext.h | 468 if (V.opcode == Instruction::ICmp) 469 return new CompareConstantExpr(Ty, Instruction::ICmp, V.subclassdata,
|
D | Instruction.cpp | 240 case ICmp: return "icmp"; in getOpcodeName()
|
D | Constants.cpp | 1036 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp; in isCompare() 1140 case Instruction::ICmp: in getWithOperands() 1862 const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred); in getICmp() 2762 case Instruction::ICmp: in getAsInstruction()
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | 2006-12-08-Ptr-ICmp-Branch.ll | 4 ; ModuleID = '2006-12-08-Ptr-ICmp-Branch.ll'
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1388 Value *CmpN = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, IdxEnd, in createEmptyLoop() 1401 Value *ICmp = Builder.CreateICmpEQ(NextIdx, IdxEndRoundDown); in createEmptyLoop() local 1402 Builder.CreateCondBr(ICmp, MiddleBlock, VecBody); in createEmptyLoop() 2033 case Instruction::ICmp: in vectorizeBlockInLoop() 3346 case Instruction::ICmp: in getInstructionCost()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 645 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp); in LexIdentifier()
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 405 case Instruction::ICmp: in equivalentAsOperands()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 604 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp, in Act()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 872 case Instruction::ICmp: in printConstant() 1270 case Instruction::ICmp: { in printInstruction()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1031 case Instruction::ICmp: in WriteConstants() 1195 case Instruction::ICmp: in WriteInstruction()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 1228 case ICmp: return ISD::SETCC; in InstructionOpcodeToISD()
|