/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 157 return Builder->CreateICmp(Pred, LHS, RHS); in getICmpValue() 352 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 370 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 662 return Builder->CreateICmp(NEWCC, newAnd, zero); in foldLogOpOfMaskedICmps() 669 return Builder->CreateICmp(NEWCC, newAnd, newOr); in foldLogOpOfMaskedICmps() 676 return Builder->CreateICmp(NEWCC, newAnd, A); in foldLogOpOfMaskedICmps() 712 return Builder->CreateICmp(NEWCC, newAnd, newOr2); in foldLogOpOfMaskedICmps() 751 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps() 757 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps() 763 return Builder->CreateICmp(LHSCC, NewAnd, LHSCst); in FoldAndOfICmps() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 61 return Builder.CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 180 return Builder.CreateICmp(Pred, V, ConstantInt::get(Ty, Hi)); in insertRangeTest() 188 return Builder.CreateICmp(Pred, VMinusLo, HiMinusLo); in insertRangeTest() 517 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 660 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 667 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 674 return Builder.CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps() 745 return Builder.CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps() 803 return Builder.CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 841 return Builder.CreateICmp(Pred, Or, ConstantInt::get(X->getType(), *C2)); in foldAndOrOfEqualityCmpsWithConstants() [all …]
|
D | InstCombineSelect.cpp | 54 return Builder.CreateSelect(Builder.CreateICmp(Pred, A, B), A, B); in createMinMax() 636 Value *Max = Builder.CreateSelect(Builder.CreateICmp(Pred, A, B), A, B); in canonicalizeSaturatedSubtract() 812 Sel.setCondition(Builder.CreateICmp(CanonicalPred, LHS, RHS)); in canonicalizeMinMaxWithConstant() 1502 Value *CmpABC = Builder.CreateICmp(P, MinMaxOp, ThirdOp); in factorizeMinMaxTree() 1783 Cmp = Builder.CreateICmp(Pred, LHS, RHS); in visitSelectInst() 1805 Value *InvertedCmp = Builder.CreateICmp(InvertedPred, A, B); in visitSelectInst()
|
D | InstCombineCompares.cpp | 939 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), in foldGEPICmp() 1759 Builder.CreateICmp(Pred, P, ConstantInt::getNullValue(P->getType())); in foldICmpOrConstant() 1761 Builder.CreateICmp(Pred, Q, ConstantInt::getNullValue(Q->getType())); in foldICmpOrConstant() 1773 Value *Cmp12 = Builder.CreateICmp(Pred, X1, X2); in foldICmpOrConstant() 1774 Value *Cmp34 = Builder.CreateICmp(Pred, X3, X4); in foldICmpOrConstant() 2449 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SLT, OrigLHS, OrigRHS)); in foldICmpSelectConstant() 2451 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_EQ, OrigLHS, OrigRHS)); in foldICmpSelectConstant() 2453 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SGT, OrigLHS, OrigRHS)); in foldICmpSelectConstant() 2835 Op1 = Builder.CreateICmp(I.getPredicate(), LHSI->getOperand(1), RHSC, in foldICmpInstWithConstantNotInt() 2838 Op2 = Builder.CreateICmp(I.getPredicate(), LHSI->getOperand(2), RHSC, in foldICmpInstWithConstantNotInt() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | IRBuilder.h | 1022 return CreateICmp(ICmpInst::ICMP_EQ, LHS, RHS, Name); 1025 return CreateICmp(ICmpInst::ICMP_NE, LHS, RHS, Name); 1028 return CreateICmp(ICmpInst::ICMP_UGT, LHS, RHS, Name); 1031 return CreateICmp(ICmpInst::ICMP_UGE, LHS, RHS, Name); 1034 return CreateICmp(ICmpInst::ICMP_ULT, LHS, RHS, Name); 1037 return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name); 1040 return CreateICmp(ICmpInst::ICMP_SGT, LHS, RHS, Name); 1043 return CreateICmp(ICmpInst::ICMP_SGE, LHS, RHS, Name); 1046 return CreateICmp(ICmpInst::ICMP_SLT, LHS, RHS, Name); 1049 return CreateICmp(ICmpInst::ICMP_SLE, LHS, RHS, Name); [all …]
|
D | ConstantFolder.h | 194 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
D | TargetFolder.h | 211 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
D | NoFolder.h | 241 Instruction *CreateICmp(CmpInst::Predicate P, in CreateICmp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScalarizeMaskedMemIntrin.cpp | 197 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in scalarizeMaskedLoad() 319 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in scalarizeMaskedStore() 446 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in scalarizeMaskedGather() 558 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Predicate, in scalarizeMaskedScatter()
|
D | ExpandMemCmp.cpp | 229 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() 434 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, LoadSrc1, LoadSrc2); in emitLoadCompareBlock() 470 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, in emitMemCmpResultBlock()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | dynamic_update_slice_util.cc | 64 b->CreateSelect(b->CreateICmp(is_signed ? llvm::ICmpInst::ICMP_SGE in EmitDynamicUpdateSliceInPlaceImpl() 70 b->CreateSelect(b->CreateICmp(is_signed ? llvm::ICmpInst::ICMP_SLE in EmitDynamicUpdateSliceInPlaceImpl()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 76 return Builder->CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 304 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 322 return Builder->CreateICmp(pred, V, Hi); in InsertRangeTest() 729 return Builder->CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 736 return Builder->CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 743 return Builder->CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps() 806 return Builder->CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps() 864 return Builder->CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 910 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps() 944 return Builder->CreateICmp(LHSCC, NewAnd, NewVal); in FoldAndOfICmps() [all …]
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1433 return CreateICmp(ICmpInst::ICMP_EQ, LHS, RHS, Name); 1436 return CreateICmp(ICmpInst::ICMP_NE, LHS, RHS, Name); 1439 return CreateICmp(ICmpInst::ICMP_UGT, LHS, RHS, Name); 1442 return CreateICmp(ICmpInst::ICMP_UGE, LHS, RHS, Name); 1445 return CreateICmp(ICmpInst::ICMP_ULT, LHS, RHS, Name); 1448 return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name); 1451 return CreateICmp(ICmpInst::ICMP_SGT, LHS, RHS, Name); 1454 return CreateICmp(ICmpInst::ICMP_SGE, LHS, RHS, Name); 1457 return CreateICmp(ICmpInst::ICMP_SLT, LHS, RHS, Name); 1460 return CreateICmp(ICmpInst::ICMP_SLE, LHS, RHS, Name); [all …]
|
D | ConstantFolder.h | 201 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1737 return CreateICmp(ICmpInst::ICMP_EQ, LHS, RHS, Name); 1741 return CreateICmp(ICmpInst::ICMP_NE, LHS, RHS, Name); 1745 return CreateICmp(ICmpInst::ICMP_UGT, LHS, RHS, Name); 1749 return CreateICmp(ICmpInst::ICMP_UGE, LHS, RHS, Name); 1753 return CreateICmp(ICmpInst::ICMP_ULT, LHS, RHS, Name); 1757 return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name); 1761 return CreateICmp(ICmpInst::ICMP_SGT, LHS, RHS, Name); 1765 return CreateICmp(ICmpInst::ICMP_SGE, LHS, RHS, Name); 1769 return CreateICmp(ICmpInst::ICMP_SLT, LHS, RHS, Name); 1773 return CreateICmp(ICmpInst::ICMP_SLE, LHS, RHS, Name); [all …]
|
D | ConstantFolder.h | 232 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 42 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
|
/external/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 42 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 844 Builder.CreateICmp(ICmpInst::ICMP_SLT, Add, Limit, "cond")); in TEST_F() 875 auto *NewCond = Builder.CreateICmp( in TEST_F() 944 Builder.CreateICmp(ICmpInst::ICMP_SLT, Add, Load, "cond")); in TEST_F() 964 auto *NewCond = Builder.CreateICmp( in TEST_F() 1168 Builder.CreateICmp(ICmpInst::ICMP_SLT, Add, Limit, "cond")); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 261 return Builder.CreateICmp(CmpInst::Predicate(C->getPredicate()), in remapConstantExpr()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2070 Value *StepCompare = Builder.CreateICmp(ICmpInst::ICMP_SLT, StepValue, Zero); in generateOverflowCheck() 2089 Value *EndCompareGT = Builder.CreateICmp( in generateOverflowCheck() 2092 Value *EndCompareLT = Builder.CreateICmp( in generateOverflowCheck() 2105 Builder.CreateICmp(ICmpInst::ICMP_UGT, TripCountVal, in generateOverflowCheck() 2108 BackedgeCheck, Builder.CreateICmp(ICmpInst::ICMP_NE, StepValue, Zero)); in generateOverflowCheck()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 225 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 226 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() function
|