Home | History | Annotate | Download | only in R600

Lines Matching refs:LOAD

84   setOperationAction(ISD::LOAD, MVT::v2i32, Custom);
85 setOperationAction(ISD::LOAD, MVT::v4i32, Custom);
86 setOperationAction(ISD::LOAD, MVT::v8i32, Custom);
87 setOperationAction(ISD::LOAD, MVT::v16i32, Custom);
93 setOperationAction(ISD::LOAD, MVT::i32, Custom);
94 setOperationAction(ISD::LOAD, MVT::v2i32, Custom);
95 setOperationAction(ISD::LOAD, MVT::v4i32, Custom);
96 setOperationAction(ISD::LOAD, MVT::v8i32, Custom);
166 setOperationAction(ISD::LOAD, MVT::i1, Custom);
176 // We only support LOAD/STORE and vector manipulation ops for vectors
185 case ISD::LOAD:
606 case ISD::LOAD: {
607 LoadSDNode *Load = dyn_cast<LoadSDNode>(Op);
611 if (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS &&
617 (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
618 Load->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS ||
619 (Load->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS &&
626 "Load should return a value and a chain");
843 LoadSDNode *Load = cast<LoadSDNode>(Op);
848 if (Load->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) {
852 EVT MemVT = Load->getMemoryVT();
857 SDValue Ptr = DAG.getNode(ISD::SRL, DL, MVT::i32, Load->getBasePtr(),
861 SDValue Chain = Load->getChain();
1062 // Handle v4i8 -> v4f32 extload. Replace the v4i8 with a legal i32 load to
1069 LoadSDNode *Load = cast<LoadSDNode>(Src);
1071 Load->getChain(),
1072 Load->getBasePtr(),
1074 Load->getMemOperand());
1076 // Make sure successors of the original load stay after it by updating
1078 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 1), NewLoad.getValue(1));