/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 33 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode() 52 case 5: Pred = ICmpInst::ICMP_NE; break; in getPredForICmpCode() 83 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 90 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 125 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 132 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 82 ExpectedPred = ICmpInst::ICMP_NE; in foldSelectWithBinaryOp() 1029 return isICmpTrue(CmpInst::ICMP_NE, X, Y, Q, MaxRecurse); in isDivZero() 1438 EqPred == ICmpInst::ICMP_NE && !IsAnd) in simplifyUnsignedRangeCheck() 1448 if (EqPred == ICmpInst::ICMP_NE && (UnsignedPred == ICmpInst::ICMP_ULT || in simplifyUnsignedRangeCheck() 1468 EqPred == ICmpInst::ICMP_NE && in simplifyUnsignedRangeCheck() 1490 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck() 1495 if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE && in simplifyUnsignedRangeCheck() 1516 if (UnsignedPred == ICmpInst::ICMP_UGE && EqPred == ICmpInst::ICMP_NE && in simplifyUnsignedRangeCheck() 1566 (Pred0 == ICmpInst::ICMP_NE && ICmpInst::isTrueWhenEqual(Pred1)) || in simplifyOrOfICmpsWithSameOperands() 1621 if ((IsAnd && P0 != ICmpInst::ICMP_NE) || (!IsAnd && P1 != ICmpInst::ICMP_EQ)) in simplifyAndOrOfICmpsWithZero() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 33 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode() 52 case 5: Pred = ICmpInst::ICMP_NE; break; in getPredForICmpCode() 83 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 90 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 125 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 132 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 56 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode() 82 case 5: NewICmpPred = ICmpInst::ICMP_NE; break; in getICmpValue()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 112 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV1)->isZeroValue()); in TEST_F() 121 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F() 131 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_NE, I1Ty, LV3), nullptr); in TEST_F() 141 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_NE, I1Ty, LV4), nullptr); in TEST_F() 181 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2))); in TEST_F()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 352 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in foldCmpLoadFromIndexedGlobal() 409 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in foldCmpLoadFromIndexedGlobal() 1160 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst() 1207 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() 1219 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst() 1246 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() 1545 return new ICmpInst(ICmpInst::ICMP_NE, X, Builder.getInt(*NeC)); in foldICmpWithDominatingICmp() 1709 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift() 1741 bool isICMP_NE = Cmp.getPredicate() == ICmpInst::ICMP_NE; in foldICmpAndConstConst() 2033 Pred = ICmpInst::ICMP_NE; in foldICmpShlOne() [all …]
|
D | InstCombineAndOrXor.cpp | 416 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 586 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() 759 if (JoinedByAnd && Pred != ICmpInst::ICMP_NE) in foldAndOrOfEqualityCmpsWithConstants() 808 if (JoinedByAnd && Pred != ICmpInst::ICMP_NE) in foldAndOrOfICmpsOfAndWithPow2() 830 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldAndOrOfICmpsOfAndWithPow2() 966 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2() 977 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2() 1029 if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck() 1032 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck() 1056 EqPred == ICmpInst::ICMP_NE && IsAnd) in foldUnsignedUnderflowCheck() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 351 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in foldCmpLoadFromIndexedGlobal() 408 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in foldCmpLoadFromIndexedGlobal() 1158 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst() 1205 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() 1217 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst() 1244 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() 1521 return new ICmpInst(ICmpInst::ICMP_NE, X, Builder.getInt(*NeC)); in foldICmpWithDominatingICmp() 1683 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift() 1719 bool isICMP_NE = Cmp.getPredicate() == ICmpInst::ICMP_NE; in foldICmpAndConstConst() 1991 Pred = ICmpInst::ICMP_NE; in foldICmpShlOne() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 323 FCmp32Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 324 FCmp32Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 328 {RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 341 FCmp64Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 342 FCmp64Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 346 {RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 323 FCmp32Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 324 FCmp32Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 328 {RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 341 FCmp64Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 342 FCmp64Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU() 346 {RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 437 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in FoldCmpLoadFromIndexedGlobal() 495 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in FoldCmpLoadFromIndexedGlobal() 1311 case ICmpInst::ICMP_NE: in FoldICmpDivCst() 1404 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst() 1436 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1442 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1500 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst() 1506 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst() 1741 if (ICI.getPredicate() == ICmpInst::ICMP_NE) in visitICmpInstWithInstAndIntCst() 1829 return new ICmpInst(ICmpInst::ICMP_NE, LHSI, in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 544 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 565 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 713 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() 992 case ICmpInst::ICMP_NE: // (X == 13 & X != 15) -> X == 13 in FoldAndOfICmps() 997 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1014 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1036 case ICmpInst::ICMP_NE: // (X u< 13 & X != 15) -> X u< 13 in FoldAndOfICmps() 1048 case ICmpInst::ICMP_NE: // (X s< 13 & X != 15) -> X < 13 in FoldAndOfICmps() 1063 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1081 case ICmpInst::ICMP_NE: in FoldAndOfICmps() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 195 case naclbitc::ICMP_NE: in DecodeIcmpPredicate() 196 LLVMPredicate = CmpInst::ICMP_NE; in DecodeIcmpPredicate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1544 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual() 1611 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation() 1622 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1641 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1646 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1855 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1867 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1879 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction() 1892 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() 2045 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1415 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual() 1482 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation() 1488 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1507 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1512 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1719 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1729 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1741 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction() 1754 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() 1901 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 1665 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual() 1732 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation() 1743 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1762 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1767 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1985 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1997 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 2009 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction() 2022 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() 2189 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 158 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateURem(LHS, RHS), in generatePoisonChecksForBinOp() 167 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateSRem(LHS, RHS), in generatePoisonChecksForBinOp()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 281 if (Pred == CmpInst::ICMP_NE) { in convertICmp() 378 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 257 Predicate = CmpInst::ICMP_NE; in handleBrSelExpect() 260 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 273 if (Pred == CmpInst::ICMP_NE) { in convertICmp() 364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 273 if (Pred == CmpInst::ICMP_NE) { in convertICmp() 364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 156 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateURem(LHS, RHS), in generateCreationChecksForBinOp() 165 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateSRem(LHS, RHS), in generateCreationChecksForBinOp()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 278 Predicate = CmpInst::ICMP_NE; in handleBrSelExpect() 281 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 332 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 433 case CmpInst::ICMP_NE: in calcZeroHeuristics() 458 case CmpInst::ICMP_NE: in calcZeroHeuristics()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 290 ICMP_NE = 33, ///< not equal enumerator
|