reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/X86/X86ISelLowering.cpp
20323   if (VT != MVT::i16 && VT != MVT::i32 &&
20323   if (VT != MVT::i16 && VT != MVT::i32 &&
20324       !(Subtarget.is64Bit() && VT == MVT::i64))
20335   SDValue Zero = DAG.getConstant(0, DL, VT);
20336   APInt Lg2Mask = APInt::getLowBitsSet(VT.getSizeInBits(), Lg2);
20337   SDValue Pow2MinusOne = DAG.getConstant(Lg2Mask, DL, VT);
20341   SDValue Add = DAG.getNode(ISD::ADD, DL, VT, N0, Pow2MinusOne);
20342   SDValue CMov = DAG.getNode(ISD::SELECT, DL, VT, Cmp, Add, N0);
20350       DAG.getNode(ISD::SRA, DL, VT, CMov, DAG.getConstant(Lg2, DL, MVT::i64));
20358   return DAG.getNode(ISD::SUB, DL, VT, Zero, SRA);