/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable() 95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 63 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable() 64 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
|
D | BranchProbabilityInfo.cpp | 401 if (!CI || !CI->isEquality()) in calcPointerHeuristics() 777 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
|
D | InstructionSimplify.cpp | 1392 !ICmpInst::isEquality(EqPred)) in simplifyUnsignedRangeCheck() 2690 ICmpInst::isEquality(Pred) || in simplifyICmpWithBinOp() 2698 ICmpInst::isEquality(Pred) || in simplifyICmpWithBinOp() 2949 if (!ICmpInst::isEquality(Pred) || !LBO->isExact() || !RBO->isExact()) in simplifyICmpWithBinOp() 3399 if (ICmpInst::isEquality(Pred) && in SimplifyICmpInst() 3431 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst() 3768 if (ICmpInst::isEquality(Pred) && match(CmpRHS, m_Zero())) { in simplifySelectWithICmpCond()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 759 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst() 914 if (!ICI.isEquality()) { in FoldICmpShrCst() 999 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst() 1051 if (!ICI.isEquality() && XorCST->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst() 1062 if (!ICI.isEquality() && XorCST->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst() 1088 if (ICI.isEquality() || in visitICmpInstWithInstAndIntCst() 1105 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst() 1184 ICI.isEquality() && !Shift->isArithmeticShift() && in visitICmpInstWithInstAndIntCst() 1219 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse()) in visitICmpInstWithInstAndIntCst() 1251 if (ICI.isEquality()) { in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 187 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable() 188 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable() 776 if (LHSCC == RHSCC && ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps() 837 (ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps() 1534 (ICmpInst::isEquality(LHSCC) && in FoldOrOfICmps()
|
D | InstCombineCasts.cpp | 544 ICI->isEquality()) { in transformZExtICmp() 589 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp() 915 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1061 assert(ICI.isEquality() && "Cannot fold non-equality comparison."); in FoldAllocaCmp() 1200 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst() 1354 if (!ICI.isEquality()) { in FoldICmpShrCst() 1433 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShrCst() 1497 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShlCst() 1553 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst() 1604 if (!ICI.isEquality() && XorCst->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst() 1614 if (!ICI.isEquality() && XorCst->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst() 1651 if (ICI.isEquality() || in visitICmpInstWithInstAndIntCst() 1668 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineSelect.cpp | 313 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAndOr() 377 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz() 563 if (ICmpInst::isEquality(Pred) && in visitSelectInstWithICmp() 773 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAnd()
|
D | InstCombineAndOrXor.cpp | 621 if (!ICmpInst::isEquality(LHSCC)) in foldLogOpOfMaskedICmpsHelper() 653 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper() 698 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps() 967 (ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps() 1867 (ICmpInst::isEquality(LHSCC) && in FoldOrOfICmps()
|
D | InstCombineCasts.cpp | 622 ICI->isEquality()) { in transformZExtICmp() 666 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp() 998 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1008 assert(ICI.isEquality() && "Cannot fold non-equality comparison."); in foldAllocaCmp() 1135 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in foldICmpShrConstConst() 1194 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in foldICmpShlConstConst() 1406 if (Cmp.isEquality() || (IsSignBit && hasBranchUse(Cmp))) in foldICmpWithConstant() 1432 if (Cmp.isEquality() && Trunc->hasOneUse()) { in foldICmpTruncConstant() 1486 if (!Cmp.isEquality() && XorC->isSignMask()) { in foldICmpXorConstant() 1493 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant() 1581 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift() 1618 (Cmp.isEquality() || (!C1.isNegative() && !C2->isNegative()))) { in foldICmpAndConstConst() 1698 if (!Cmp.isEquality()) in foldICmpAndConstant() [all …]
|
D | InstCombineSelect.cpp | 72 !ICmpInst::isEquality(Pred)) in foldSelectBinOpIdentity() 112 if (ICmpInst::isEquality(Pred)) { in foldSelectICmpAnd() 124 assert(ICmpInst::isEquality(Pred) && "Not equality test?"); in foldSelectICmpAnd() 513 if (IC->isEquality()) { in foldSelectICmpAndOr() 659 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz() 953 if (ICmpInst::isEquality(Pred) && in foldSelectInstWithICmp() 1520 if (CI && CI->isEquality()) in visitSelectInst()
|
D | InstCombineAndOrXor.cpp | 352 if (!ICmpInst::isEquality(PredL)) in getMaskedTypeForICmpPair() 394 if (!ICmpInst::isEquality(PredR)) in getMaskedTypeForICmpPair() 580 assert(ICmpInst::isEquality(PredL) && ICmpInst::isEquality(PredR) && in foldLogOpOfMaskedICmpsAsymmetric() 617 assert(ICmpInst::isEquality(PredL) && ICmpInst::isEquality(PredR) && in foldLogOpOfMaskedICmps() 1013 (ICmpInst::isEquality(PredL) && CmpInst::isSigned(PredR))) in foldAndOfICmps() 1937 (ICmpInst::isEquality(PredL) && CmpInst::isSigned(PredR))) in foldOrOfICmps()
|
D | InstCombineCasts.cpp | 848 ICI->isEquality()) { in transformZExtICmp() 890 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp() 1218 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instructions.h | 978 static bool isEquality(Predicate P) { 984 bool isEquality() const { 985 return isEquality(getPredicate()); 990 bool isCommutative() const { return isEquality(); } 995 return !isEquality(); 1001 return !isEquality(P); 1099 bool isEquality() const { 1107 return isEquality() || 1116 bool isRelational() const { return !isEquality(); }
|
D | InstrTypes.h | 771 bool isEquality() const;
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 317 if (!CI || !CI->isEquality()) in calcPointerHeuristics() 497 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
|
D | InstructionSimplify.cpp | 1465 !ICmpInst::isEquality(EqPred)) in simplifyUnsignedRangeCheck() 2626 NoLHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst() 2632 NoRHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst() 3100 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst() 3121 if (ICmpInst::isEquality(Pred)) { in SimplifyICmpInst() 3412 if (ICmpInst::isEquality(Pred) && in SimplifySelectInst()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 1183 static bool isEquality(Predicate P) { 1189 bool isEquality() const { 1190 return isEquality(getPredicate()); 1195 bool isCommutative() const { return isEquality(); } 1200 return !isEquality(); 1206 return !isEquality(P); 1305 static bool isEquality(Predicate Pred) { 1312 bool isEquality() const { return isEquality(getPredicate()); } 1317 return isEquality() || 1326 bool isRelational() const { return !isEquality(); }
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instructions.h | 1201 static bool isEquality(Predicate P) { 1207 bool isEquality() const { 1208 return isEquality(getPredicate()); 1213 bool isCommutative() const { return isEquality(); } 1218 return !isEquality(); 1224 return !isEquality(P); 1311 static bool isEquality(Predicate Pred) { 1318 bool isEquality() const { return isEquality(getPredicate()); } 1323 return isEquality() || 1332 bool isRelational() const { return !isEquality(); }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 195 bool isZExt, bool isEquality); 1264 CI->isEquality())) in SelectBranch() 1353 bool isZExt, bool isEquality) { in ARMEmitCmp() argument 1402 if (isEquality) in ARMEmitCmp() 1410 if (isEquality) in ARMEmitCmp() 1490 CI->isEquality())) in SelectCmp()
|
D | ARMCodeGenPrepare.cpp | 503 return ICmp->isEquality() || !ICmp->isSigned(); in isSupportedValue()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 231 if (!CI || !CI->isEquality()) in calcPointerHeuristics()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 573 if (!CI || !CI->isEquality()) in EqualityPropUnSafe() 1605 if (CI && CI->isEquality()) { in SimplifyInstructionWithNotEqual()
|