Lines Matching refs:IdxMode
434 getIndexedLoadAction(unsigned IdxMode, EVT VT) const {
435 assert(IdxMode < ISD::LAST_INDEXED_MODE &&
439 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4);
444 bool isIndexedLoadLegal(unsigned IdxMode, EVT VT) const {
446 (getIndexedLoadAction(IdxMode, VT) == Legal ||
447 getIndexedLoadAction(IdxMode, VT) == Custom);
455 getIndexedStoreAction(unsigned IdxMode, EVT VT) const {
456 assert(IdxMode < ISD::LAST_INDEXED_MODE &&
460 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f);
465 bool isIndexedStoreLegal(unsigned IdxMode, EVT VT) const {
467 (getIndexedStoreAction(IdxMode, VT) == Legal ||
468 getIndexedStoreAction(IdxMode, VT) == Custom);
1083 void setIndexedLoadAction(unsigned IdxMode, MVT VT,
1085 assert(VT < MVT::LAST_VALUETYPE && IdxMode < ISD::LAST_INDEXED_MODE &&
1088 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] &= ~0xf0;
1089 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] |= ((uint8_t)Action) <<4;
1096 void setIndexedStoreAction(unsigned IdxMode, MVT VT,
1098 assert(VT < MVT::LAST_VALUETYPE && IdxMode < ISD::LAST_INDEXED_MODE &&
1101 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] &= ~0x0f;
1102 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] |= ((uint8_t)Action);