/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 76 return Builder->CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 314 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 332 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 741 return Builder->CreateICmp(NEWCC, newAnd, zero); in foldLogOpOfMaskedICmps() 748 return Builder->CreateICmp(NEWCC, newAnd, newOr); in foldLogOpOfMaskedICmps() 755 return Builder->CreateICmp(NEWCC, newAnd, A); in foldLogOpOfMaskedICmps() 818 return Builder->CreateICmp(NEWCC, newAnd, newOr2); in foldLogOpOfMaskedICmps() 876 return Builder->CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 921 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps() 927 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps() [all …]
|
D | InstCombineSelect.cpp | 67 return Builder->CreateSelect(Builder->CreateICmp(Pred, A, B), A, B); in generateMinMaxSelectPattern() 1081 Cmp = Builder->CreateICmp(Pred, LHS, RHS); in visitSelectInst()
|
D | InstCombineCompares.cpp | 671 Value *Cmp = Builder->CreateICmp(ICmpInst::getSignedPredicate(Cond), in FoldGEPICmp() 1565 Value *ICIP = Builder->CreateICmp(ICI.getPredicate(), P, in visitICmpInstWithInstAndIntCst() 1567 Value *ICIQ = Builder->CreateICmp(ICI.getPredicate(), Q, in visitICmpInstWithInstAndIntCst() 3248 Op1 = Builder->CreateICmp(I.getPredicate(), LHSI->getOperand(1), in visitICmpInst() 3251 Op2 = Builder->CreateICmp(I.getPredicate(), LHSI->getOperand(2), in visitICmpInst()
|
D | InstructionCombining.cpp | 728 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, in FoldOperationIntoSelectOperand() 731 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, in FoldOperationIntoSelectOperand() 887 InV = Builder->CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
|
D | InstCombineCalls.cpp | 670 if (Value *Cmp = Builder.CreateICmp(Pred, II.getArgOperand(0), II.getArgOperand(1))) in SimplifyX86vpcom()
|
/external/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 42 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1418 return CreateICmp(ICmpInst::ICMP_EQ, LHS, RHS, Name); 1421 return CreateICmp(ICmpInst::ICMP_NE, LHS, RHS, Name); 1424 return CreateICmp(ICmpInst::ICMP_UGT, LHS, RHS, Name); 1427 return CreateICmp(ICmpInst::ICMP_UGE, LHS, RHS, Name); 1430 return CreateICmp(ICmpInst::ICMP_ULT, LHS, RHS, Name); 1433 return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name); 1436 return CreateICmp(ICmpInst::ICMP_SGT, LHS, RHS, Name); 1439 return CreateICmp(ICmpInst::ICMP_SGE, LHS, RHS, Name); 1442 return CreateICmp(ICmpInst::ICMP_SLT, LHS, RHS, Name); 1445 return CreateICmp(ICmpInst::ICMP_SLE, LHS, RHS, Name); [all …]
|
D | ConstantFolder.h | 201 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
D | NoFolder.h | 254 Instruction *CreateICmp(CmpInst::Predicate P, in CreateICmp() function
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 226 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1899 Result = Builder.CreateICmp(llvm::CmpInst::ICMP_EQ, Oper, Zero, "cmp"); in VisitUnaryLNot() 2924 Result = Builder.CreateICmp(SICmpOpc, LHS, RHS, "cmp"); in EmitCompare() 2927 Result = Builder.CreateICmp(UICmpOpc, LHS, RHS, "cmp"); in EmitCompare() 2967 ResultR = Builder.CreateICmp(UICmpOpc, LHS.first, RHS.first, "cmp.r"); in EmitCompare() 2968 ResultI = Builder.CreateICmp(UICmpOpc, LHS.second, RHS.second, "cmp.i"); in EmitCompare() 3051 LHS = Builder.CreateICmp(llvm::CmpInst::ICMP_NE, LHS, Zero, "cmp"); in VisitBinLAnd() 3052 RHS = Builder.CreateICmp(llvm::CmpInst::ICMP_NE, RHS, Zero, "cmp"); in VisitBinLAnd() 3129 LHS = Builder.CreateICmp(llvm::CmpInst::ICMP_NE, LHS, Zero, "cmp"); in VisitBinLOr() 3130 RHS = Builder.CreateICmp(llvm::CmpInst::ICMP_NE, RHS, Zero, "cmp"); in VisitBinLOr()
|
D | ItaniumCXXABI.cpp | 894 return Builder.CreateICmp(Eq, L, R); in EmitMemberPointerComparison() 911 llvm::Value *PtrEq = Builder.CreateICmp(Eq, LPtr, RPtr, "cmp.ptr"); in EmitMemberPointerComparison() 917 llvm::Value *EqZero = Builder.CreateICmp(Eq, LPtr, Zero, "cmp.ptr.null"); in EmitMemberPointerComparison() 923 llvm::Value *AdjEq = Builder.CreateICmp(Eq, LAdj, RAdj, "cmp.adj"); in EmitMemberPointerComparison() 933 llvm::Value *OrAdjAnd1EqZero = Builder.CreateICmp(Eq, OrAdjAnd1, Zero, in EmitMemberPointerComparison()
|
D | MicrosoftCXXABI.cpp | 2737 return Builder.CreateICmp(Eq, L, R); in EmitMemberPointerComparison() 2742 llvm::Value *Cmp0 = Builder.CreateICmp(Eq, L0, R0, "memptr.cmp.first"); in EmitMemberPointerComparison() 2750 llvm::Value *Cmp = Builder.CreateICmp(Eq, LF, RF, "memptr.cmp.rest"); in EmitMemberPointerComparison() 2761 llvm::Value *IsZero = Builder.CreateICmp(Eq, L0, Zero, "memptr.cmp.iszero"); in EmitMemberPointerComparison()
|
D | CGBuiltin.cpp | 3298 Ops[0] = Builder.CreateICmp(ICmpInst::ICMP_NE, Ops[0], in EmitCommonNeonBuiltinExpr() 3371 Op = Builder.CreateICmp(Ip, Op, Constant::getNullValue(OTy)); in EmitAArch64CompareBuiltinExpr() 4233 Value *CmpRes = Builder.CreateICmp(ICmpInst::ICMP_UGE, Ops[2], EightV); in EmitAArch64TblBuiltinExpr() 4251 Value *CmpRes = Builder.CreateICmp(ICmpInst::ICMP_UGE, Ops[4], in EmitAArch64TblBuiltinExpr() 4782 Ops[0] = Builder.CreateICmp(P, Ops[0], Ops[1]); in EmitAArch64BuiltinExpr() 4791 Ops[0] = Builder.CreateICmp(ICmpInst::ICMP_NE, Ops[0], in EmitAArch64BuiltinExpr()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 315 return Builder.CreateICmp(CmpInst::Predicate(C->getPredicate()), in remapConstantExpr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 484 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
|
D | Scalarizer.cpp | 87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()()
|
D | LoopIdiomRecognize.cpp | 997 Builder.CreateICmp(PreCond->getPredicate(), Opnd0, Opnd1)); in transformLoopToPopcount()
|
D | IndVarSimplify.cpp | 1969 Value *Cond = Builder.CreateICmp(P, CmpIndVar, ExitCnt, "exitcond"); in linearFunctionTestReplace()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 608 Cmp = Builder.CreateICmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
|
D | SimplifyLibCalls.cpp | 713 B.CreateICmp(Old->getPredicate(), StrNCmp, in optimizeStrStr() 811 Value *Bounds = B.CreateICmp(ICmpInst::ICMP_ULT, C, B.getIntN(Width, Width), in optimizeMemChr()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1222 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in ScalarizeMaskedLoad() 1344 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in ScalarizeMaskedStore() 1474 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in ScalarizeMaskedGather() 1588 Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in ScalarizeMaskedScatter()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2580 Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Cmp, in scalarizeInstruction() 3191 NewI = B.CreateICmp(CI->getPredicate(), in truncateToMinimalBitwidths() 3819 C = Builder.CreateICmp(Cmp->getPredicate(), A[Part], B[Part]); in vectorizeBlockInLoop() 5774 Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Cond[Part], in scalarizeInstruction()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1757 Value *S1 = IRB.CreateICmp(I.getPredicate(), in handleRelationalComparisonExact() 1760 Value *S2 = IRB.CreateICmp(I.getPredicate(), in handleRelationalComparisonExact()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 2721 return wrap(unwrap(B)->CreateICmp(static_cast<ICmpInst::Predicate>(Op), in LLVMBuildICmp()
|