|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Target/Mips/MipsISelLowering.cpp 2256 SDValue Const1 = DAG.getConstant(1, DL, MVT::i32);
2259 SDValue X = DAG.getNode(ISD::BITCAST, DL, TyX, Op.getOperand(0));
2260 SDValue Y = DAG.getNode(ISD::BITCAST, DL, TyY, Op.getOperand(1));
2265 SDValue E = DAG.getNode(MipsISD::Ext, DL, TyY, Y,
2266 DAG.getConstant(WidthY - 1, DL, MVT::i32), Const1);
2269 E = DAG.getNode(ISD::ZERO_EXTEND, DL, TyX, E);
2271 E = DAG.getNode(ISD::TRUNCATE, DL, TyX, E);
2273 SDValue I = DAG.getNode(MipsISD::Ins, DL, TyX, E,
2274 DAG.getConstant(WidthX - 1, DL, MVT::i32), Const1,
2276 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), I);
2284 SDValue SllX = DAG.getNode(ISD::SHL, DL, TyX, X, Const1);
2285 SDValue SrlX = DAG.getNode(ISD::SRL, DL, TyX, SllX, Const1);
2286 SDValue SrlY = DAG.getNode(ISD::SRL, DL, TyY, Y,
2287 DAG.getConstant(WidthY - 1, DL, MVT::i32));
2290 SrlY = DAG.getNode(ISD::ZERO_EXTEND, DL, TyX, SrlY);
2292 SrlY = DAG.getNode(ISD::TRUNCATE, DL, TyX, SrlY);
2294 SDValue SllY = DAG.getNode(ISD::SHL, DL, TyX, SrlY,
2295 DAG.getConstant(WidthX - 1, DL, MVT::i32));
2296 SDValue Or = DAG.getNode(ISD::OR, DL, TyX, SrlX, SllY);
2297 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), Or);