Home
last modified time | relevance | path

Searched refs:I01 (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp797 const APInt *I01, *I1; // powers of two; I1 == I01 << 1 in foldSignedTruncationCheck() local
799 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck()
800 Pred == ICmpInst::ICMP_ULT && I1->ugt(*I01) && I01->shl(1) == *I1)) in foldSignedTruncationCheck()
803 SignBitMask = *I01; in foldSignedTruncationCheck()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3792 APInt I01 = C01->getAPIntValue(); in optimizeSetCCOfSignedTruncationCheck() local
3794 auto checkConstants = [&I1, &I01]() -> bool { in optimizeSetCCOfSignedTruncationCheck()
3796 return I1.ugt(I01) && I1.isPowerOf2() && I01.isPowerOf2(); in optimizeSetCCOfSignedTruncationCheck()
3804 I01.negate(); in optimizeSetCCOfSignedTruncationCheck()
3814 const unsigned KeptBitsMinusOne = I01.logBase2(); in optimizeSetCCOfSignedTruncationCheck()