Home
last modified time | relevance | path

Searched refs:ICMP_EQ (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp102 ICMP_EQ = 32, ///< equal enumerator
117 case ICMP_EQ : return Arg1 == Arg2; in ComputeCmp()
139 if (CmpType == ICMP_EQ) return Arg1 == Arg2; in ComputeCmp()
424 TS->DFSanCmpCallback(PC, n, fuzzer::ICMP_EQ, S1, S2, L1, L2); in dfsan_weak_hook_memcmp()
440 TS->DFSanCmpCallback(PC, n, fuzzer::ICMP_EQ, S1, S2, L1, L2); in dfsan_weak_hook_strncmp()
457 TS->DFSanCmpCallback(PC, N, fuzzer::ICMP_EQ, S1, S2, L1, L2); in dfsan_weak_hook_strcmp()
468 TS->TraceCmpCallback(PC, n, fuzzer::ICMP_EQ, S1, S2); in __sanitizer_weak_hook_memcmp()
484 TS->TraceCmpCallback(PC, n, fuzzer::ICMP_EQ, S1, S2); in __sanitizer_weak_hook_strncmp()
499 TS->TraceCmpCallback(PC, N, fuzzer::ICMP_EQ, S1, S2); in __sanitizer_weak_hook_strcmp()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp51 case ICmpInst::ICMP_EQ: return 2; // 010 in getICmpCode()
79 case 2: NewICmpPred = ICmpInst::ICMP_EQ; break; in getICmpValue()
DLowerSwitch.cpp313 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_EQ, Val, in newLeafBlock()
DSimplifyIndVar.cpp268 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp410 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx); in FoldCmpLoadFromIndexedGlobal()
974 case ICmpInst::ICMP_EQ: in FoldICmpDivCst()
1143 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst()
1157 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst()
1159 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst()
1199 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst()
1205 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst()
1414 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst()
1527 ICI.getPredicate() == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_UGT in visitICmpInstWithInstAndIntCst()
1540 return new ICmpInst(ICI.getPredicate() == ICmpInst::ICMP_EQ in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp458 bool icmp_eq = (SCC == ICmpInst::ICMP_EQ); in getTypeOfMaskedICmp()
563 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
570 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
725 ICmpInst::Predicate NEWCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps()
925 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) { in FoldAndOfICmps()
934 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC && in FoldAndOfICmps()
1016 case ICmpInst::ICMP_EQ: in FoldAndOfICmps()
1037 case ICmpInst::ICMP_EQ: // (X != 13 & X == 15) -> X == 15 in FoldAndOfICmps()
1058 case ICmpInst::ICMP_EQ: // (X u< 13 & X == 15) -> false in FoldAndOfICmps()
1085 case ICmpInst::ICMP_EQ: // (X u> 13 & X == 15) -> X == 15 in FoldAndOfICmps()
[all …]
DInstCombineSelect.cpp341 (Pred == ICmpInst::ICMP_EQ && OrOnTrueVal)) in foldSelectICmpAndOr()
534 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) { in visitSelectInstWithICmp()
556 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp144 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
253 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch()
317 LVI->getPredicateAt(ICmpInst::ICMP_EQ, V, in processCallSite()
DIndVarSimplify.cpp347 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; 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()
1925 P = ICmpInst::ICMP_EQ; in linearFunctionTestReplace()
DAlignmentFromAssumptions.cpp222 if (ICI->getPredicate() != ICmpInst::ICMP_EQ) in extractAlignmentInfo()
DFloat2Int.cpp98 return CmpInst::ICMP_EQ; in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/IR/
DConstantFold.cpp1422 if (V1 == V2) return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1431 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1556 return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1646 return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1700 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction()
1710 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction()
1720 case ICmpInst::ICMP_EQ: in ConstantFoldCompareInstruction()
1736 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction()
1877 case ICmpInst::ICMP_EQ: // We know the constants are equal! in ConstantFoldCompareInstruction()
1886 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: 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()
3430 case ICmpInst::ICMP_EQ: ++Upper; break; in makeConstantRange()
3487 case ICMP_EQ: case ICMP_NE: in getSwappedPredicate()
3568 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
DConstantRange.cpp63 case CmpInst::ICMP_EQ: in makeAllowedICmpRegion()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1498 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1971 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp()
1981 case CmpInst::ICMP_EQ: in computePointerICmp()
2012 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp()
2159 case ICmpInst::ICMP_EQ: in SimplifyICmpInst()
2218 case ICmpInst::ICMP_EQ: in SimplifyICmpInst()
2481 case ICmpInst::ICMP_EQ: in SimplifyICmpInst()
2538 case ICmpInst::ICMP_EQ: in SimplifyICmpInst()
2583 if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) && in SimplifyICmpInst()
2695 if (Pred == ICmpInst::ICMP_EQ) in SimplifyICmpInst()
[all …]
DDependenceAnalysis.cpp441 if (isKnownPredicate(CmpInst::ICMP_EQ, X->getD(), Y->getD())) in intersectConstraints()
470 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) { in intersectConstraints()
475 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) in intersectConstraints()
556 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC())) in intersectConstraints()
948 if (Pred == CmpInst::ICMP_EQ || in isKnownPredicate()
973 case CmpInst::ICMP_EQ: in isKnownPredicate()
1035 if (isKnownPredicate(CmpInst::ICMP_EQ, Src, Dst)) { in testZIV()
1294 if (isKnownPredicate(CmpInst::ICMP_EQ, Delta, ML)) { in weakCrossingSIVtest()
1670 if (isKnownPredicate(CmpInst::ICMP_EQ, SrcConst, DstConst)) { in weakZeroSrcSIVtest()
1697 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) { in weakZeroSrcSIVtest()
[all …]
DBranchProbabilityInfo.cpp416 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
441 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
DValueTracking.cpp577 case ICmpInst::ICMP_EQ: in computeKnownBitsFromTrueCondition()
775 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
783 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
796 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
809 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
822 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
835 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
851 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
867 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
877 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
[all …]
DLazyValueInfo.cpp902 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition()
1261 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
1288 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
DScalarEvolution.cpp4065 case ICmpInst::ICMP_EQ: in createNodeForSelectOrPHI()
5498 case ICmpInst::ICMP_EQ: { // while (X == Y) in computeExitLimitFromICmp()
6842 case ICmpInst::ICMP_EQ: in SimplifyICmpOperands()
6863 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6881 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6899 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6917 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6934 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6948 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
6962 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands()
[all …]
/external/llvm/examples/BrainF/
DBrainF.cpp436 ICmpInst *test_0 = new ICmpInst(*testbb, ICmpInst::ICMP_EQ, tape_0, in readloop()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp165 new ICmpInst(OrigBB->getTerminator(), ICmpInst::ICMP_EQ, CopyLen, in convertMemMoveToLoop()
/external/llvm/include/llvm/IR/
DInstrTypes.h903 ICMP_EQ = 32, ///< equal
913 FIRST_ICMP_PREDICATE = ICMP_EQ,
/external/llvm/lib/CodeGen/
DAnalysis.cpp202 case ICmpInst::ICMP_EQ: return ISD::SETEQ; in getICmpCondCode()
/external/llvm/unittests/IR/
DConstantsTest.cpp249 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()

123