Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1472 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST() local
1475 if (AndRHSVal == 1 && AndLHS.getOpcode() == ISD::SRL) { in LowerAndToBTST()
1481 if (!isUInt<32>(AndRHSVal) && isPowerOf2_64(AndRHSVal)) { in LowerAndToBTST()
1483 RHS = DAG.getConstant(Log2_64_Ceil(AndRHSVal), DL, LHS.getValueType()); in LowerAndToBTST()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24032 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT() local
24035 if (AndRHSVal == 1 && AndLHS.getOpcode() == ISD::SRL) { in LowerAndToBT()
24042 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) && in LowerAndToBT()
24043 isPowerOf2_64(AndRHSVal)) { in LowerAndToBT()
24045 BitNo = DAG.getConstant(Log2_64_Ceil(AndRHSVal), dl, in LowerAndToBT()