Searched refs:ICMP_EQ (Results 1 - 25 of 46) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp51 case ICmpInst::ICMP_EQ: return 2; // 010
79 case 2: NewICmpPred = ICmpInst::ICMP_EQ; break;
H A DLoopUnrollRuntime.cpp346 Value *BranchVal = new ICmpInst(*NewBB, ICmpInst::ICMP_EQ, ModVal,
H A DLowerSwitch.cpp176 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_EQ, Val,
H A DSimplifyIndVar.cpp219 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ,
H A DLowerInvoke.cpp495 ICmpInst::ICMP_EQ, SJRet,
H A DSimplifyCFG.cpp352 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) {
504 return BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_EQ);
740 if (ICI->getPredicate() == ICmpInst::ICMP_EQ)
2643 if (ICI->getPredicate() == ICmpInst::ICMP_EQ)
2667 if (ICI->getPredicate() == ICmpInst::ICMP_EQ)
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp115 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C,
230 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ,
H A DIndVarSimplify.cpp310 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break;
356 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) &&
383 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) &&
1284 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ)
1584 P = ICmpInst::ICMP_EQ;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp411 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx);
752 if (Pred == ICmpInst::ICMP_EQ)
920 case ICmpInst::ICMP_EQ:
1227 if (ICI.getPredicate() == ICmpInst::ICMP_EQ)
1298 ICI.getPredicate() == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_UGT
1315 if (ICI.getPredicate() == ICmpInst::ICMP_EQ)
1369 Pred = ICmpInst::ICMP_EQ;
1384 return new ICmpInst(ICmpInst::ICMP_EQ, X,
1395 return new ICmpInst(ICmpInst::ICMP_EQ, X,
1410 ICI, Pred == ICmpInst::ICMP_EQ
[all...]
H A DInstCombineAndOrXor.cpp430 bool icmp_eq = (SCC == ICmpInst::ICMP_EQ);
515 Pred = ICmpInst::ICMP_EQ;
718 if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, ICmpInst::ICMP_EQ, Builder))
737 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) {
746 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC &&
828 case ICmpInst::ICMP_EQ:
847 case ICmpInst::ICMP_EQ: // (X != 13 & X == 15) -> X == 15
863 case ICmpInst::ICMP_EQ: // (X u< 13 & X == 15) -> false
890 case ICmpInst::ICMP_EQ: // (X u> 13 & X == 15) -> X == 15
908 case ICmpInst::ICMP_EQ
[all...]
H A DInstCombineSelect.cpp409 (Pred == ICmpInst::ICMP_EQ && OrOnTrueVal))
556 if (Pred == ICmpInst::ICMP_EQ) {
575 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) {
H A DInstructionCombining.cpp1537 if (Pred != ICmpInst::ICMP_EQ && Pred != ICmpInst::ICMP_NE)
1541 if (SuccBB != (Pred == ICmpInst::ICMP_EQ ? TrueBB : FalseBB))
1543 assert(FreeInstrBB == (Pred == ICmpInst::ICMP_EQ ? FalseBB : TrueBB) &&
/external/llvm/lib/IR/
H A DConstantFold.cpp1339 if (V1 == V2) return ICmpInst::ICMP_EQ;
1348 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ;
1475 return ICmpInst::ICMP_EQ;
1558 return ICmpInst::ICMP_EQ;
1604 if (pred == ICmpInst::ICMP_EQ)
1614 if (pred == ICmpInst::ICMP_EQ)
1624 case ICmpInst::ICMP_EQ:
1640 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2);
1777 case ICmpInst::ICMP_EQ: // We know the constants are equal!
1786 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ
[all...]
H A DInstructions.cpp3025 case ICMP_EQ: return ICMP_NE;
3026 case ICMP_NE: return ICMP_EQ;
3058 case ICMP_EQ: case ICMP_NE:
3071 case ICMP_EQ: case ICMP_NE:
3090 case ICmpInst::ICMP_EQ: ++Upper; break;
3147 case ICMP_EQ: case ICMP_NE:
3211 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE:
/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp436 if (isKnownPredicate(CmpInst::ICMP_EQ, X->getD(), Y->getD()))
465 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) {
470 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2))
551 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC()))
876 if (Pred == CmpInst::ICMP_EQ ||
901 case CmpInst::ICMP_EQ:
961 if (isKnownPredicate(CmpInst::ICMP_EQ, Src, Dst)) {
1222 if (isKnownPredicate(CmpInst::ICMP_EQ, Delta, ML)) {
1598 if (isKnownPredicate(CmpInst::ICMP_EQ, SrcConst, DstConst)) {
1625 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelt
[all...]
H A DLazyValueInfo.cpp807 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ))
1088 if (Pred == ICmpInst::ICMP_EQ) {
1115 if (Pred == ICmpInst::ICMP_EQ) {
H A DInstructionSimplify.cpp1741 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE))
1751 case CmpInst::ICMP_EQ:
1782 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) {
1875 case ICmpInst::ICMP_EQ:
1917 case ICmpInst::ICMP_EQ:
2084 case ICmpInst::ICMP_EQ:
2141 case ICmpInst::ICMP_EQ:
2260 case ICmpInst::ICMP_EQ:
2299 case ICmpInst::ICMP_EQ:
2384 case CmpInst::ICMP_EQ
[all...]
H A DScalarEvolution.cpp3938 case ICmpInst::ICMP_EQ:
4613 case ICmpInst::ICMP_EQ: { // while (X == Y)
5740 case ICmpInst::ICMP_EQ:
5761 Pred = ICmpInst::ICMP_EQ;
5779 Pred = ICmpInst::ICMP_EQ;
5797 Pred = ICmpInst::ICMP_EQ;
5815 Pred = ICmpInst::ICMP_EQ;
5832 Pred = ICmpInst::ICMP_EQ;
5846 Pred = ICmpInst::ICMP_EQ;
5860 Pred = ICmpInst::ICMP_EQ;
[all...]
H A DBranchProbabilityInfo.cpp378 case CmpInst::ICMP_EQ:
/external/llvm/include/llvm/IR/
H A DInstrTypes.h672 ICMP_EQ = 32, ///< equal enumerator in enum:llvm::CmpInst::Predicate
682 FIRST_ICMP_PREDICATE = ICMP_EQ,
/external/llvm/examples/BrainF/
H A DBrainF.cpp439 ICmpInst *test_0 = new ICmpInst(*testbb, ICmpInst::ICMP_EQ, tape_0,
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp371 ICmpInst *Cmp = new ICmpInst(*BB, CmpInst::ICMP_EQ, LI1, LI2, "");
H A DAnalysis.cpp189 case ICmpInst::ICMP_EQ: return ISD::SETEQ;
/external/llvm/unittests/IR/
H A DConstantsTest.cpp239 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR
/external/llvm/lib/Support/
H A DConstantRange.cpp60 case CmpInst::ICMP_EQ:

Completed in 697 milliseconds

12