reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
7175 EVT SetCCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT); 7175 EVT SetCCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT); 7187 EVT ShiftAmtTy = getShiftAmountTy(VT, DAG.getDataLayout()); 7188 SDValue ShiftAmt = DAG.getConstant(C.logBase2(), dl, ShiftAmtTy); 7189 Result = DAG.getNode(ISD::SHL, dl, VT, LHS, ShiftAmt); 7190 Overflow = DAG.getSetCC(dl, SetCCVT, 7191 DAG.getNode(UseArithShift ? ISD::SRA : ISD::SRL, 7198 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VT.getScalarSizeInBits() * 2); 7200 WideVT = EVT::getVectorVT(*DAG.getContext(), WideVT, 7209 BottomHalf = DAG.getNode(ISD::MUL, dl, VT, LHS, RHS); 7210 TopHalf = DAG.getNode(Ops[isSigned][0], dl, VT, LHS, RHS); 7212 BottomHalf = DAG.getNode(Ops[isSigned][1], dl, DAG.getVTList(VT, VT), LHS, 7212 BottomHalf = DAG.getNode(Ops[isSigned][1], dl, DAG.getVTList(VT, VT), LHS, 7216 LHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, LHS); 7217 RHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, RHS); 7218 SDValue Mul = DAG.getNode(ISD::MUL, dl, WideVT, LHS, RHS); 7219 BottomHalf = DAG.getNode(ISD::TRUNCATE, dl, VT, Mul); 7220 SDValue ShiftAmt = DAG.getConstant(VT.getScalarSizeInBits(), dl, 7221 getShiftAmountTy(WideVT, DAG.getDataLayout())); 7222 TopHalf = DAG.getNode(ISD::TRUNCATE, dl, VT, 7223 DAG.getNode(ISD::SRL, dl, WideVT, Mul, ShiftAmt)); 7250 DAG.getNode(ISD::SRA, dl, VT, LHS, 7251 DAG.getConstant(LoSize - 1, dl, 7252 getPointerTy(DAG.getDataLayout()))); 7254 DAG.getNode(ISD::SRA, dl, VT, RHS, 7255 DAG.getConstant(LoSize - 1, dl, 7256 getPointerTy(DAG.getDataLayout()))); 7258 HiLHS = DAG.getConstant(0, dl, VT); 7259 HiRHS = DAG.getConstant(0, dl, VT); 7270 if (shouldSplitFunctionArgumentsAsLittleEndian(DAG.getDataLayout())) { 7276 Ret = makeLibCall(DAG, LC, WideVT, Args, CallOptions, dl).first; 7279 Ret = makeLibCall(DAG, LC, WideVT, Args, CallOptions, dl).first; 7283 if (DAG.getDataLayout().isLittleEndian()) { 7295 SDValue ShiftAmt = DAG.getConstant( 7297 getShiftAmountTy(BottomHalf.getValueType(), DAG.getDataLayout())); 7298 SDValue Sign = DAG.getNode(ISD::SRA, dl, VT, BottomHalf, ShiftAmt); 7299 Overflow = DAG.getSetCC(dl, SetCCVT, TopHalf, Sign, ISD::SETNE); 7301 Overflow = DAG.getSetCC(dl, SetCCVT, TopHalf, 7302 DAG.getConstant(0, dl, VT), ISD::SETNE); 7308 Overflow = DAG.getNode(ISD::TRUNCATE, dl, RType, Overflow);