Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp267 FCmp32Libcalls[CmpInst::FCMP_ORD] = {{RTLIB::UO_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
268 FCmp32Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
269 FCmp32Libcalls[CmpInst::FCMP_UGT] = {{RTLIB::OLE_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
270 FCmp32Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
271 FCmp32Libcalls[CmpInst::FCMP_ULT] = {{RTLIB::OGE_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
272 FCmp32Libcalls[CmpInst::FCMP_UNE] = {{RTLIB::UNE_F32, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
293 FCmp64Libcalls[CmpInst::FCMP_ORD] = {{RTLIB::UO_F64, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
294 FCmp64Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F64, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
295 FCmp64Libcalls[CmpInst::FCMP_UGT] = {{RTLIB::OLE_F64, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
296 FCmp64Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F64, CmpInst::ICMP_EQ}}; in setFCmpLibcallsAEABI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp28 case ICmpInst::ICMP_EQ: return 2; // 010 in getICmpCode()
49 case 2: Pred = ICmpInst::ICMP_EQ; break; in getPredForICmpCode()
97 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
104 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
111 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
118 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
DInstructionSimplify.cpp84 ExpectedPred = ICmpInst::ICMP_EQ; in foldSelectWithBinaryOp()
1443 EqPred == ICmpInst::ICMP_EQ && IsAnd) in simplifyUnsignedRangeCheck()
1454 if (EqPred == ICmpInst::ICMP_EQ && (UnsignedPred == ICmpInst::ICMP_ULE || in simplifyUnsignedRangeCheck()
1472 EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1501 if (UnsignedPred == ICmpInst::ICMP_UGE && EqPred == ICmpInst::ICMP_EQ) in simplifyUnsignedRangeCheck()
1506 if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1511 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck()
1540 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1621 if ((IsAnd && P0 != ICmpInst::ICMP_NE) || (!IsAnd && P1 != ICmpInst::ICMP_EQ)) in simplifyAndOrOfICmpsWithZero()
1929 Pred != ICmpInst::Predicate::ICMP_EQ) in omitCheckForZeroBeforeInvertedMulWithOverflow()
[all …]
DDependenceAnalysis.cpp457 if (isKnownPredicate(CmpInst::ICMP_EQ, X->getD(), Y->getD())) in intersectConstraints()
486 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) { in intersectConstraints()
491 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) in intersectConstraints()
572 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC())) in intersectConstraints()
966 if (Pred == CmpInst::ICMP_EQ || in isKnownPredicate()
991 case CmpInst::ICMP_EQ: in isKnownPredicate()
1101 if (isKnownPredicate(CmpInst::ICMP_EQ, Src, Dst)) { in testZIV()
1353 if (isKnownPredicate(CmpInst::ICMP_EQ, Delta, ML)) { in weakCrossingSIVtest()
1720 if (isKnownPredicate(CmpInst::ICMP_EQ, SrcConst, DstConst)) { in weakZeroSrcSIVtest()
1747 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) { in weakZeroSrcSIVtest()
[all …]
DBranchProbabilityInfo.cpp733 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
744 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
769 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
DLazyValueInfo.cpp973 case ICmpInst::ICMP_EQ: in solveBlockValueSelect()
1204 if (isTrueDest == (Predicate == ICmpInst::ICMP_EQ)) in getValueFromICmpCondition()
1792 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
1819 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
1863 if (Pred == ICmpInst::ICMP_EQ) in getPredicateAt()
DAssumptionCache.cpp87 if (Pred == ICmpInst::ICMP_EQ) { in findAffectedValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp331 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx); in foldCmpLoadFromIndexedGlobal()
1183 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1197 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1199 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1234 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1240 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst()
1374 if (!match(C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, in foldSignBitTest()
1386 Pred == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_SGE in foldSignBitTest()
1519 return new ICmpInst(ICmpInst::ICMP_EQ, X, Builder.getInt(*EqC)); in foldICmpWithDominatingICmp()
1681 if (Cmp.getPredicate() == ICmpInst::ICMP_EQ) in foldICmpAndShift()
[all …]
DInstCombineAndOrXor.cpp235 bool IsEq = (Pred == ICmpInst::ICMP_EQ); in getMaskedICmpType()
469 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()
822 if (!JoinedByAnd && Pred != ICmpInst::ICMP_EQ) in foldAndOrOfEqualityCmpsWithConstants()
868 if (!JoinedByAnd && Pred != ICmpInst::ICMP_EQ) in foldAndOrOfICmpsOfAndWithPow2()
890 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldAndOrOfICmpsOfAndWithPow2()
969 Pred == ICmpInst::ICMP_EQ) in foldSignedTruncationCheck()
974 Pred == ICmpInst::ICMP_EQ) { in foldSignedTruncationCheck()
1028 else if (!JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_EQ) in foldIsPowerOf2()
1045 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2()
[all …]
DInstCombineSelect.cpp69 IsEq = Pred == ICmpInst::ICMP_EQ; in foldSelectBinOpIdentity()
180 if (Pred == ICmpInst::ICMP_EQ) { in foldSelectICmpAnd()
505 Cmp->getPredicate() == ICmpInst::ICMP_EQ && in foldSelectICmpAndAnd()
613 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_EQ; in foldSelectICmpAndOr()
1427 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) { in foldSelectInstWithICmp()
1452 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in foldSelectInstWithICmp()
2314 Pred != ICmpInst::ICMP_EQ) in foldSelectRotate()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp190 LLVMPredicate = CmpInst::ICMP_EQ; in DecodeIcmpPredicate()
192 case naclbitc::ICMP_EQ: in DecodeIcmpPredicate()
193 LLVMPredicate = CmpInst::ICMP_EQ; in DecodeIcmpPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1564 if (V1 == V2) return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1573 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1706 return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1796 return ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1853 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction()
1865 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction()
1875 case ICmpInst::ICMP_EQ: in ConstantFoldCompareInstruction()
1891 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction()
2038 case ICmpInst::ICMP_EQ: // We know the constants are equal! in ConstantFoldCompareInstruction()
2047 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction()
[all …]
DInstructions.cpp3533 case ICMP_EQ: return ICMP_NE; in getInversePredicate()
3534 case ICMP_NE: return ICMP_EQ; in getInversePredicate()
3582 case ICmpInst::ICMP_EQ: return "eq"; 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()
3742 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
3764 case ICMP_EQ: in isImpliedTrueByMatchingCmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp260 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect()
293 (Predicate == CmpInst::ICMP_EQ)) { in handleBrSelExpect()
DMergeICmps.cpp338 << (ExpectedPredicate == ICmpInst::ICMP_EQ ? "eq" : "ne") in visitICmp()
368 auto Result = visitICmp(CmpI, ICmpInst::ICMP_EQ, BaseId); in visitCmpBlock()
385 CmpI, FalseBlock == PhiBlock ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in visitCmpBlock()
DCallSiteSplitting.cpp144 if (Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) in recordCondition()
172 if (Cond.second == ICmpInst::ICMP_EQ) in addConditions()
DCorrelatedValuePropagation.cpp253 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
370 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch()
587 LVI->getPredicateAt(ICmpInst::ICMP_EQ, V, in processCallSite()
DIndVarSimplify.cpp374 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; 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()
2485 P = ICmpInst::ICMP_EQ; in linearFunctionTestReplace()
2967 ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ; in predicateLoopExits()
DAlignmentFromAssumptions.cpp209 if (ICI->getPredicate() != ICmpInst::ICMP_EQ) in extractAlignmentInfo()
DFloat2Int.cpp89 return CmpInst::ICMP_EQ; in mapFCmpPred()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h289 ICMP_EQ = 32, ///< equal enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp275 } else if (Pred == CmpInst::ICMP_EQ) { in convertICmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp131 if (Pred != CmpInst::ICMP_EQ) in foldGuardedRotateToFunnelShift()
/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()
711 TrueIfZero = (P == CmpInst::ICMP_EQ); in matchLeftShift()
803 if (P != CmpInst::ICMP_EQ && P != CmpInst::ICMP_NE) in matchRightShift()
807 TrueIfZero = (P == CmpInst::ICMP_EQ); in matchRightShift()
810 if (P != CmpInst::ICMP_EQ && P != CmpInst::ICMP_NE) in matchRightShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp33 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ)); in describeFuzzerIntOps()

1234