Home
last modified time | relevance | path

Searched refs:CreateICmp (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp76 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 …]
DInstCombineSelect.cpp67 return Builder->CreateSelect(Builder->CreateICmp(Pred, A, B), A, B); in generateMinMaxSelectPattern()
1081 Cmp = Builder->CreateICmp(Pred, LHS, RHS); in visitSelectInst()
DInstCombineCompares.cpp671 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()
DInstructionCombining.cpp728 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()
DInstCombineCalls.cpp670 if (Value *Cmp = Builder.CreateICmp(Pred, II.getArgOperand(0), II.getArgOperand(1))) in SimplifyX86vpcom()
/external/llvm/include/llvm/IR/
DIRBuilder.h1418 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 …]
DConstantFolder.h201 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
DNoFolder.h254 Instruction *CreateICmp(CmpInst::Predicate P, in CreateICmp() function
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go42 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
/external/llvm/include/llvm/Analysis/
DTargetFolder.h226 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1899 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()
DItaniumCXXABI.cpp894 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()
DMicrosoftCXXABI.cpp2737 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()
DCGBuiltin.cpp3298 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/
DNVPTXGenericToNVVM.cpp315 return Builder.CreateICmp(CmpInst::Predicate(C->getPredicate()), in remapConstantExpr()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp484 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
DScalarizer.cpp87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()()
DLoopIdiomRecognize.cpp997 Builder.CreateICmp(PreCond->getPredicate(), Opnd0, Opnd1)); in transformLoopToPopcount()
DIndVarSimplify.cpp1969 Value *Cond = Builder.CreateICmp(P, CmpIndVar, ExitCnt, "exitcond"); in linearFunctionTestReplace()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp608 Cmp = Builder.CreateICmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
DSimplifyLibCalls.cpp713 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/
DCodeGenPrepare.cpp1222 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/
DLoopVectorize.cpp2580 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/
DMemorySanitizer.cpp1757 Value *S1 = IRB.CreateICmp(I.getPredicate(), in handleRelationalComparisonExact()
1760 Value *S2 = IRB.CreateICmp(I.getPredicate(), in handleRelationalComparisonExact()
/external/llvm/lib/IR/
DCore.cpp2721 return wrap(unwrap(B)->CreateICmp(static_cast<ICmpInst::Predicate>(Op), in LLVMBuildICmp()

12