Home
last modified time | relevance | path

Searched refs:ICMP_NE (Results 1 – 25 of 160) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp34 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode()
53 case 5: NewICmpPred = ICmpInst::ICMP_NE; break; in getICmpValue()
84 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
91 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
126 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
133 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
DBranchProbabilityInfo.cpp416 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
701 case CmpInst::ICMP_NE: in calcZeroHeuristics()
713 case CmpInst::ICMP_NE: in calcZeroHeuristics()
738 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DInstructionSimplify.cpp78 ExpectedPred = ICmpInst::ICMP_NE; in foldSelectWithBinaryOp()
1003 return isICmpTrue(CmpInst::ICMP_NE, X, Y, Q, MaxRecurse); in isDivZero()
1408 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1414 if (EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1470 (Pred0 == ICmpInst::ICMP_NE && ICmpInst::isTrueWhenEqual(Pred1)) || in simplifyOrOfICmpsWithSameOperands()
1525 if ((IsAnd && P0 != ICmpInst::ICMP_NE) || (!IsAnd && P1 != ICmpInst::ICMP_EQ)) in simplifyAndOrOfICmpsWithZero()
2152 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp()
2163 case CmpInst::ICMP_NE: in computePointerICmp()
2193 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp()
2339 case CmpInst::ICMP_NE: // X != 0 -> X in simplifyICmpOfBools()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp101 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV1)->isZeroValue()); in TEST_F()
110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F()
120 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_NE, I1Ty, LV3), nullptr); in TEST_F()
130 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_NE, I1Ty, LV4), nullptr); in TEST_F()
171 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2))); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp56 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode()
82 case 5: NewICmpPred = ICmpInst::ICMP_NE; break; in getICmpValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp266 FCmp32Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
267 FCmp32Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
271 {RTLIB::UO_F32, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
284 FCmp64Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
285 FCmp64Libcalls[CmpInst::FCMP_UNO] = {{RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
289 {RTLIB::UO_F64, CmpInst::ICMP_NE}}; in setFCmpLibcallsGNU()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp380 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in foldCmpLoadFromIndexedGlobal()
437 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in foldCmpLoadFromIndexedGlobal()
1138 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1185 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst()
1197 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1224 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst()
1412 return new ICmpInst(ICmpInst::ICMP_NE, X, Builder.getInt(*AD)); in foldICmpWithConstant()
1565 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift()
1834 Pred = ICmpInst::ICMP_NE; in foldICmpShlOne()
1846 return new ICmpInst(ICmpInst::ICMP_NE, Y, BitWidthMinusOne); in foldICmpShlOne()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp99 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode()
152 case 5: Pred = ICmpInst::ICMP_NE; break; in getICmpValue()
570 if (LHSCC != ICmpInst::ICMP_EQ && LHSCC != ICmpInst::ICMP_NE) return 0; in foldLogOpOfMaskedICmpsHelper()
571 if (RHSCC != ICmpInst::ICMP_EQ && RHSCC != ICmpInst::ICMP_NE) return 0; in foldLogOpOfMaskedICmpsHelper()
650 if (NEWCC == ICmpInst::ICMP_NE) in foldLogOpOfMaskedICmps()
862 case ICmpInst::ICMP_NE: // (X == 13 & X != 15) -> X == 13 in FoldAndOfICmps()
867 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
882 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
899 case ICmpInst::ICMP_NE: // (X u< 13 & X != 15) -> X u< 13 in FoldAndOfICmps()
911 case ICmpInst::ICMP_NE: // (X s< 13 & X != 15) -> X < 13 in FoldAndOfICmps()
[all …]
DInstCombineCompares.cpp400 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in FoldCmpLoadFromIndexedGlobal()
453 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in FoldCmpLoadFromIndexedGlobal()
696 if (Pred == ICmpInst::ICMP_NE) in FoldICmpAddOpCst()
871 case ICmpInst::ICMP_NE: in FoldICmpDivCst()
965 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1162 if (ICI.getPredicate() == ICmpInst::ICMP_NE) in visitICmpInstWithInstAndIntCst()
1258 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in visitICmpInstWithInstAndIntCst()
1294 return new ICmpInst(TrueIfSigned ? ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ, in visitICmpInstWithInstAndIntCst()
1364 bool isICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in visitICmpInstWithInstAndIntCst()
1453 ICmpInst::ICMP_NE, LHSI, in visitICmpInstWithInstAndIntCst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp437 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 …]
DInstCombineAndOrXor.cpp544 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/
DNaClBitcodeDecoders.cpp196 case naclbitc::ICMP_NE: in DecodeIcmpPredicate()
197 LLVMPredicate = CmpInst::ICMP_NE; in DecodeIcmpPredicate()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1652 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1654 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation()
1660 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1679 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1684 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1766 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1782 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1876 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1886 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1898 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1431 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual()
1498 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation()
1509 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1528 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1533 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1742 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1754 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1766 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction()
1779 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction()
1926 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp1415 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/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp212 ConstantFoldCompareInstOperands(CmpInst::ICMP_NE, in mergeIn()
238 ConstantFoldCompareInstOperands(CmpInst::ICMP_NE, in mergeIn()
1081 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateOnEdge()
1104 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateOnEdge()
1108 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateOnEdge()
1110 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateOnEdge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp251 Predicate = CmpInst::ICMP_NE; in handleBrSelExpect()
254 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp273 if (Pred == CmpInst::ICMP_NE) { in convertICmp()
364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp273 if (Pred == CmpInst::ICMP_NE) { in convertICmp()
364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerBool.cpp81 auto Cmp = new ICmpInst(&I, CmpInst::ICMP_NE, Op, Zero); in visitTruncInst()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp332 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
433 case CmpInst::ICMP_NE: in calcZeroHeuristics()
458 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DLazyValueInfo.cpp232 CmpInst::ICMP_NE, getConstant(), RHS.getNotConstant(), DL))) in mergeIn()
251 CmpInst::ICMP_NE, getNotConstant(), RHS.getConstant(), DL))) in mergeIn()
985 case ICmpInst::ICMP_NE: in solveBlockValueSelect()
1558 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1581 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
1586 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1588 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp324 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in HandleFloatingPointIV()
368 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV()
395 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV()
1388 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR()
1541 SE->isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, N, Zero)) { in LinearFunctionTestReplace()
1613 P = ICmpInst::ICMP_NE; in LinearFunctionTestReplace()
1620 << (P == ICmpInst::ICMP_NE ? "!=" : "==") << "\n" in LinearFunctionTestReplace()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h295 ICMP_NE = 33, ///< not equal enumerator
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp102 ICMP_NE = 33, ///< not equal enumerator
117 case ICMP_NE : return Arg1 != Arg2; in ComputeCmp()
430 if ((CmpType == ICMP_EQ || CmpType == ICMP_NE) && Arg1 == Arg2) in TraceCmpCallback()

1234567