Searched refs:m_SpecificInt_ICMP (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | PatternMatch.cpp | 77 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 80 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 83 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 87 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 90 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 93 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 116 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 119 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 122 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 126 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 1)) in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 117 if (!match(NewShAmt, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, in reassociateShiftAmtsOfTwoSameDirectionShifts() 129 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() 352 m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, Threshold)); in foldShiftOfShiftedLogic() 1307 C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, in foldVariableSignZeroExtensionOfVariableHighBitExtract()
|
| H A D | InstCombineSelect.cpp | 525 !match(Z, m_SpecificInt_ICMP(CmpInst::ICMP_ULT, in foldSelectICmpAndAnd() 565 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr() 568 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr() 1298 if (!match(C0, m_SpecificInt_ICMP( in canonicalizeClampLike() 1308 m_SpecificInt_ICMP( in canonicalizeClampLike() 1369 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, in canonicalizeClampLike()
|
| H A D | InstCombineCasts.cpp | 698 if (match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULE, in narrowBinOp() 876 if (match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULE, in visitTrunc() 918 if (match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, Threshold))) { in visitTrunc()
|
| H A D | InstCombineAndOrXor.cpp | 1540 return match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, Threshold)); in canNarrowShiftAmt() 1987 match(Y, m_SpecificInt_ICMP( in visitAnd() 2243 match(L, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, APInt(Width, Width))) && in matchFunnelShift() 2244 match(R, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, APInt(Width, Width))) && in matchFunnelShift()
|
| H A D | InstCombineAddSub.cpp | 1174 !match(C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
|
| H A D | InstCombineCompares.cpp | 1358 if (!match(C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, in foldSignBitTest() 3905 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 2535 BitPos, PatternMatch::m_SpecificInt_ICMP( in recognizeShiftUntilBitTest()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 598 m_SpecificInt_ICMP(ICmpInst::Predicate Predicate, const APInt &Threshold) { in m_SpecificInt_ICMP() function
|