Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp33 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()
DInstructionSimplify.cpp82 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 …]
DBranchProbabilityInfo.cpp445 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
736 case CmpInst::ICMP_NE: in calcZeroHeuristics()
748 case CmpInst::ICMP_NE: in calcZeroHeuristics()
773 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DLazyValueInfo.cpp981 case ICmpInst::ICMP_NE: in solveBlockValueSelect()
1798 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1821 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
1826 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1828 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
1865 else if (Pred == ICmpInst::ICMP_NE) in getPredicateAt()
DDependenceAnalysis.cpp459 if (isKnownPredicate(CmpInst::ICMP_NE, X->getD(), Y->getD())) { in intersectConstraints()
493 if (isKnownPredicate(CmpInst::ICMP_NE, Prod1, Prod2)) { in intersectConstraints()
500 if (isKnownPredicate(CmpInst::ICMP_NE, Prod1, Prod2)) { in intersectConstraints()
574 if (isKnownPredicate(CmpInst::ICMP_NE, Sum, Y->getC())) { in intersectConstraints()
967 Pred == CmpInst::ICMP_NE) { in isKnownPredicate()
993 case CmpInst::ICMP_NE: in isKnownPredicate()
1105 if (isKnownPredicate(CmpInst::ICMP_NE, Src, Dst)) { in testZIV()
3236 if (!isKnownPredicate(CmpInst::ICMP_NE, in updateDirection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp351 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 …]
DInstCombineAndOrXor.cpp469 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
641 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps()
820 if (JoinedByAnd && Pred != ICmpInst::ICMP_NE) in foldAndOrOfEqualityCmpsWithConstants()
866 if (JoinedByAnd && Pred != ICmpInst::ICMP_NE) in foldAndOrOfICmpsOfAndWithPow2()
890 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldAndOrOfICmpsOfAndWithPow2()
1026 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2()
1037 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
1092 if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck()
1095 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE && in foldUnsignedUnderflowCheck()
1121 EqPred == ICmpInst::ICMP_NE && IsAnd) in foldUnsignedUnderflowCheck()
[all …]
DInstCombineSelect.cpp187 if (Pred == ICmpInst::ICMP_NE) { in foldSelectICmpAnd()
226 ShouldNotVal ^= Pred == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
818 if (ICI->getPredicate() == ICmpInst::ICMP_NE) in foldSelectCtlzToCttz()
862 if (Pred == ICmpInst::ICMP_NE) in foldSelectCttzCtlz()
1158 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldSelectValueEquivalence()
1220 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, in canonicalizeClampLike()
1280 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, in canonicalizeClampLike()
1431 } else if (CmpLHS == FalseVal && Pred == ICmpInst::ICMP_NE) { in foldSelectInstWithICmp()
DInstCombineCasts.cpp733 return new ICmpInst(ICmpInst::ICMP_NE, And, Zero); in visitTrunc()
744 return new ICmpInst(ICmpInst::ICMP_NE, And, Zero); in visitTrunc()
751 return new ICmpInst(ICmpInst::ICMP_NE, And, Zero); in visitTrunc()
894 bool isNE = Cmp->getPredicate() == ICmpInst::ICMP_NE; in transformZExtICmp()
1264 Value *V = Pred == ICmpInst::ICMP_NE ? in transformSExtICmp()
1270 if (!Op1C->isZero() == (Pred == ICmpInst::ICMP_NE)) { in transformSExtICmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp323 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()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp195 case naclbitc::ICMP_NE: in DecodeIcmpPredicate()
196 LLVMPredicate = CmpInst::ICMP_NE; in DecodeIcmpPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1544 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 …]
DInstructions.cpp3533 case ICMP_EQ: return ICMP_NE; in getInversePredicate()
3534 case ICMP_NE: return ICMP_EQ; in getInversePredicate()
3583 case ICmpInst::ICMP_NE: return "ne"; in getPredicateName()
3598 case ICMP_EQ: case ICMP_NE: in getSignedPredicate()
3611 case ICMP_EQ: case ICMP_NE: in getUnsignedPredicate()
3647 case ICMP_EQ: case ICMP_NE: in getSwappedPredicate()
3749 case ICMP_NE: case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT: in isFalseWhenEqual()
3769 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp()
3771 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp()
3773 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp158 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateURem(LHS, RHS), in generatePoisonChecksForBinOp()
167 B.CreateICmp(ICmpInst::ICMP_NE, B.CreateSRem(LHS, RHS), in generatePoisonChecksForBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp257 Predicate = CmpInst::ICMP_NE; in handleBrSelExpect()
260 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect()
DCallSiteSplitting.cpp144 if (Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) in recordCondition()
175 assert(Cond.second == ICmpInst::ICMP_NE); in addConditions()
DIndVarSimplify.cpp376 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
420 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
446 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
2090 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR()
2483 P = ICmpInst::ICMP_NE; in linearFunctionTestReplace()
2540 << " op:\t" << (P == ICmpInst::ICMP_NE ? "!=" : "==") in linearFunctionTestReplace()
2967 ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ; in predicateLoopExits()
DLoopIdiomRecognize.cpp861 CurLoop, ICmpInst::ICMP_NE, BECount, in getNumBytes()
1183 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1707 (LbBr->getSuccessor(0) == Body) ? CmpInst::ICMP_NE : CmpInst::ICMP_EQ; in transformLoopToCountable()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h290 ICMP_NE = 33, ///< not equal enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp370 unsigned SuccIdx = ICmp->getPredicate() == ICmpInst::ICMP_NE ? 0 : 1; in CanGenerateTest()
393 if (SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, ExitCount, in InitLoopCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp168 Value *Cmp = new ICmpInst(*EntryBB, ICmpInst::ICMP_NE, Res, in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp261 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp688 if (P != CmpInst::ICMP_EQ && P != CmpInst::ICMP_NE) in matchLeftShift()
713 TrueIfZero = (P == CmpInst::ICMP_NE); in matchLeftShift()
803 if (P != CmpInst::ICMP_EQ && P != CmpInst::ICMP_NE) in matchRightShift()
810 if (P != CmpInst::ICMP_EQ && P != CmpInst::ICMP_NE) in matchRightShift()
814 TrueIfZero = (P == CmpInst::ICMP_NE); in matchRightShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp34 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE)); in describeFuzzerIntOps()

1234