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

References

lib/Target/AMDGPU/SIISelLowering.cpp
 6768   SDLoc DL(Op);
 6769   SDValue Chain = Op.getOperand(0);
 6770   unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 6775     const ConstantSDNode *Tgt = cast<ConstantSDNode>(Op.getOperand(2));
 6776     const ConstantSDNode *En = cast<ConstantSDNode>(Op.getOperand(3));
 6777     const ConstantSDNode *Done = cast<ConstantSDNode>(Op.getOperand(8));
 6778     const ConstantSDNode *VM = cast<ConstantSDNode>(Op.getOperand(9));
 6784       Op.getOperand(4), // src0
 6785       Op.getOperand(5), // src1
 6786       Op.getOperand(6), // src2
 6787       Op.getOperand(7), // src3
 6794     return DAG.getNode(Opc, DL, Op->getVTList(), Ops);
 6797     const ConstantSDNode *Tgt = cast<ConstantSDNode>(Op.getOperand(2));
 6798     const ConstantSDNode *En = cast<ConstantSDNode>(Op.getOperand(3));
 6799     SDValue Src0 = Op.getOperand(4);
 6800     SDValue Src1 = Op.getOperand(5);
 6801     const ConstantSDNode *Done = cast<ConstantSDNode>(Op.getOperand(6));
 6802     const ConstantSDNode *VM = cast<ConstantSDNode>(Op.getOperand(7));
 6819     return DAG.getNode(Opc, DL, Op->getVTList(), Ops);
 6827                                           Op.getOperand(0)), 0);
 6832     SDValue VData = Op.getOperand(2);
 6836     unsigned Dfmt = cast<ConstantSDNode>(Op.getOperand(8))->getZExtValue();
 6837     unsigned Nfmt = cast<ConstantSDNode>(Op.getOperand(9))->getZExtValue();
 6838     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(10))->getZExtValue();
 6839     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(11))->getZExtValue();
 6841     if (auto Idx = dyn_cast<ConstantSDNode>(Op.getOperand(4)))
 6846       Op.getOperand(3),  // rsrc
 6847       Op.getOperand(4),  // vindex
 6848       Op.getOperand(5),  // voffset
 6849       Op.getOperand(6),  // soffset
 6850       Op.getOperand(7),  // offset
 6857     MemSDNode *M = cast<MemSDNode>(Op);
 6858     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 6863     SDValue VData = Op.getOperand(2);
 6867     auto Offsets = splitBufferOffsets(Op.getOperand(5), DAG);
 6871       Op.getOperand(3),  // rsrc
 6872       Op.getOperand(4),  // vindex
 6874       Op.getOperand(6),  // soffset
 6876       Op.getOperand(7),  // format
 6877       Op.getOperand(8),  // cachepolicy, swizzled buffer
 6882     MemSDNode *M = cast<MemSDNode>(Op);
 6883     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 6888     SDValue VData = Op.getOperand(2);
 6892     auto Offsets = splitBufferOffsets(Op.getOperand(4), DAG);
 6896       Op.getOperand(3),  // rsrc
 6899       Op.getOperand(5),  // soffset
 6901       Op.getOperand(6),  // format
 6902       Op.getOperand(7),  // cachepolicy, swizzled buffer
 6907     MemSDNode *M = cast<MemSDNode>(Op);
 6908     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 6914     SDValue VData = Op.getOperand(2);
 6918     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 6919     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
 6921     if (auto Idx = dyn_cast<ConstantSDNode>(Op.getOperand(4)))
 6926       Op.getOperand(3), // rsrc
 6927       Op.getOperand(4), // vindex
 6934     unsigned Offset = setBufferOffsets(Op.getOperand(5), DAG, &Ops[4]);
 6941     MemSDNode *M = cast<MemSDNode>(Op);
 6949     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 6958     SDValue VData = Op.getOperand(2);
 6971     auto Offsets = splitBufferOffsets(Op.getOperand(4), DAG);
 6975       Op.getOperand(3), // rsrc
 6978       Op.getOperand(5), // soffset
 6980       Op.getOperand(6), // cachepolicy, swizzled buffer
 6986     MemSDNode *M = cast<MemSDNode>(Op);
 6993     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 7002     SDValue VData = Op.getOperand(2);
 7016     auto Offsets = splitBufferOffsets(Op.getOperand(5), DAG);
 7020       Op.getOperand(3), // rsrc
 7021       Op.getOperand(4), // vindex
 7023       Op.getOperand(6), // soffset
 7025       Op.getOperand(7), // cachepolicy, swizzled buffer
 7031     MemSDNode *M = cast<MemSDNode>(Op);
 7040     return DAG.getMemIntrinsicNode(Opc, DL, Op->getVTList(), Ops,
 7045     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 7047     if (auto Idx = dyn_cast<ConstantSDNode>(Op.getOperand(4)))
 7051       Op.getOperand(2), // vdata
 7052       Op.getOperand(3), // rsrc
 7053       Op.getOperand(4), // vindex
 7060     unsigned Offset = setBufferOffsets(Op.getOperand(5), DAG, &Ops[4]);
 7064     EVT VT = Op.getOperand(2).getValueType();
 7066     auto *M = cast<MemSDNode>(Op);
 7071     return DAG.getMemIntrinsicNode(Opcode, DL, Op->getVTList(), Ops, VT,
 7078       Op.getOperand(2), // ptr
 7079       Op.getOperand(3)  // vdata
 7081     EVT VT = Op.getOperand(3).getValueType();
 7083     auto *M = cast<MemSDNode>(Op);
 7087     return DAG.getMemIntrinsicNode(Opcode, DL, Op->getVTList(), Ops, VT,
 7093                                       Op->getOperand(2), Chain), 0);
 7098       return lowerImage(Op, ImageDimIntr, DAG);
 7100     return Op;