Home
last modified time | relevance | path

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

12

/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()
DFlattenCFG.cpp249 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
DLoopUtils.cpp573 CmpInst::Predicate P = CmpInst::ICMP_NE; in createMinMaxOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp430 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in FoldCmpLoadFromIndexedGlobal()
488 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in FoldCmpLoadFromIndexedGlobal()
985 case ICmpInst::ICMP_NE: in FoldICmpDivCst()
1078 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1110 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1116 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1174 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1180 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1416 if (ICI.getPredicate() == ICmpInst::ICMP_NE) in visitICmpInstWithInstAndIntCst()
1504 return new ICmpInst(ICmpInst::ICMP_NE, LHSI, in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp556 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
577 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
725 ICmpInst::Predicate NEWCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps()
1019 case ICmpInst::ICMP_NE: // (X == 13 & X != 15) -> X == 13 in FoldAndOfICmps()
1024 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
1041 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
1063 case ICmpInst::ICMP_NE: // (X u< 13 & X != 15) -> X u< 13 in FoldAndOfICmps()
1075 case ICmpInst::ICMP_NE: // (X s< 13 & X != 15) -> X < 13 in FoldAndOfICmps()
1090 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
1108 case ICmpInst::ICMP_NE: in FoldAndOfICmps()
[all …]
DInstCombineSelect.cpp340 if ((Pred == ICmpInst::ICMP_NE && OrOnFalseVal) || in foldSelectICmpAndOr()
371 if (Pred == ICmpInst::ICMP_NE) in foldSelectCttzCtlz()
538 } else if (CmpLHS == FalseVal && Pred == ICmpInst::ICMP_NE) { in visitSelectInstWithICmp()
816 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
DInstCombineCasts.cpp519 return new ICmpInst(ICmpInst::ICMP_NE, Src, Zero); in visitTrunc()
632 bool isNE = ICI->getPredicate() == ICmpInst::ICMP_NE; in transformZExtICmp()
1009 Value *V = Pred == ICmpInst::ICMP_NE ? in transformSExtICmp()
1015 if (!Op1C->isZero() == (Pred == ICmpInst::ICMP_NE)) { in transformSExtICmp()
/external/llvm/lib/IR/
DConstantFold.cpp1402 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual()
1469 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation()
1475 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1494 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1499 return ICmpInst::ICMP_NE; in evaluateICmpRelation()
1702 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1712 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction()
1724 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction()
1737 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction()
1884 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
[all …]
DInstructions.cpp3363 case ICMP_EQ: return ICMP_NE; in getInversePredicate()
3364 case ICMP_NE: return ICMP_EQ; in getInversePredicate()
3398 case ICMP_EQ: case ICMP_NE: in getSignedPredicate()
3411 case ICMP_EQ: case ICMP_NE: in getUnsignedPredicate()
3431 case ICmpInst::ICMP_NE: ++Lower; break; in makeConstantRange()
3487 case ICMP_EQ: case ICMP_NE: in getSwappedPredicate()
3575 case ICMP_NE: case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT: in isFalseWhenEqual()
DConstantRange.cpp65 case CmpInst::ICMP_NE: in makeAllowedICmpRegion()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp226 CmpInst::ICMP_NE, getConstant(), RHS.getNotConstant(), DL))) in mergeIn()
250 CmpInst::ICMP_NE, getNotConstant(), RHS.getConstant(), DL))) in mergeIn()
1267 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1290 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
1295 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1297 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
DBranchProbabilityInfo.cpp321 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
420 case CmpInst::ICMP_NE: in calcZeroHeuristics()
445 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DInstructionSimplify.cpp1486 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1492 if (EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck()
1971 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp()
1982 case CmpInst::ICMP_NE: in computePointerICmp()
2012 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp()
2164 case ICmpInst::ICMP_NE: in SimplifyICmpInst()
2223 case ICmpInst::ICMP_NE: in SimplifyICmpInst()
2486 case ICmpInst::ICMP_NE: in SimplifyICmpInst()
2540 case ICmpInst::ICMP_NE: in SimplifyICmpInst()
2583 if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) && in SimplifyICmpInst()
[all …]
DDependenceAnalysis.cpp443 if (isKnownPredicate(CmpInst::ICMP_NE, X->getD(), Y->getD())) { in intersectConstraints()
477 if (isKnownPredicate(CmpInst::ICMP_NE, Prod1, Prod2)) { in intersectConstraints()
484 if (isKnownPredicate(CmpInst::ICMP_NE, Prod1, Prod2)) { in intersectConstraints()
558 if (isKnownPredicate(CmpInst::ICMP_NE, Sum, Y->getC())) { in intersectConstraints()
949 Pred == CmpInst::ICMP_NE) { in isKnownPredicate()
975 case CmpInst::ICMP_NE: in isKnownPredicate()
1039 if (isKnownPredicate(CmpInst::ICMP_NE, Src, Dst)) { in testZIV()
3219 if (!isKnownPredicate(CmpInst::ICMP_NE, in updateDirection()
DScalarEvolution.cpp4051 case ICmpInst::ICMP_NE: in createNodeForSelectOrPHI()
5492 case ICmpInst::ICMP_NE: { // while (X != Y) in computeExitLimitFromICmp()
6843 case ICmpInst::ICMP_NE: in SimplifyICmpOperands()
6857 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6875 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6893 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6911 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6929 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6943 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
6957 Pred = ICmpInst::ICMP_NE; in SimplifyICmpOperands()
[all …]
DInlineCost.cpp588 bool IsNotEqual = I.getPredicate() == CmpInst::ICMP_NE; in visitCmpInst()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp93 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect()
DIndVarSimplify.cpp349 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
393 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
420 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
1622 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR()
1923 P = ICmpInst::ICMP_NE; in linearFunctionTestReplace()
1930 << (P == ICmpInst::ICMP_NE ? "!=" : "==") << "\n" in linearFunctionTestReplace()
DFloat2Int.cpp113 return CmpInst::ICMP_NE; in INITIALIZE_PASS_DEPENDENCY()
DLoopIdiomRecognize.cpp741 if ((Pred == ICmpInst::ICMP_NE && BI->getSuccessor(0) == LoopEntry) || in matchCondition()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp103 ICMP_NE = 33, ///< not equal enumerator
118 case ICMP_NE : return Arg1 != Arg2; in ComputeCmp()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp525 EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_NE, LowHalf), in TEST()
529 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_NE, HighHalf), in TEST()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp538 VISITCOMP(NE, ICMP_NE , ICMP_NE , FCMP_UNE)
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()
/external/llvm/lib/CodeGen/
DAnalysis.cpp203 case ICmpInst::ICMP_NE: return ISD::SETNE; in getICmpCondCode()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp887 case ICmpInst::ICMP_NE: Out << "NE"; break; in printConstant()
1291 case ICmpInst::ICMP_NE: Out << "ICmpInst::ICMP_NE"; break; in printInstruction()

12