Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp75 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/
DIntegerDivision.cpp76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
136 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp157 case Instruction::ICmp: in PointerMayBeCaptured()
DCostModel.cpp131 case Instruction::ICmp: in getInstructionCost()
DScalarEvolutionExpander.cpp1441 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/
DMBlazeISelLowering.h79 ICmp, enumerator
DMBlazeISelLowering.cpp48 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/
DObjCARCUtil.cpp219 case Instruction::ICmp: in GetInstructionClass()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp299 case Instruction::ICmp: in runOnFunction()
DGVN.cpp197 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) && in create_cmp_expression()
418 case Instruction::ICmp: in lookup_or_add()
DSCCP.cpp1417 case Instruction::ICmp: in ResolvedUndefsIn()
/external/llvm/include/llvm/IR/
DInstruction.def161 HANDLE_OTHER_INST(45, ICmp , ICmpInst ) // Integer comparison instruction
DInstructions.h926 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;
DInstrTypes.h818 return I->getOpcode() == Instruction::ICmp ||
/external/llvm/lib/IR/
DConstantsContext.h468 if (V.opcode == Instruction::ICmp)
469 return new CompareConstantExpr(Ty, Instruction::ICmp, V.subclassdata,
DInstruction.cpp240 case ICmp: return "icmp"; in getOpcodeName()
DConstants.cpp1036 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/
D2006-12-08-Ptr-ICmp-Branch.ll4 ; ModuleID = '2006-12-08-Ptr-ICmp-Branch.ll'
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1388 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/
DLLLexer.cpp645 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp); in LexIdentifier()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp405 case Instruction::ICmp: in equivalentAsOperands()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp604 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp, in Act()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp872 case Instruction::ICmp: in printConstant()
1270 case Instruction::ICmp: { in printInstruction()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1031 case Instruction::ICmp: in WriteConstants()
1195 case Instruction::ICmp: in WriteInstruction()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1228 case ICmp: return ISD::SETCC; in InstructionOpcodeToISD()

12