Home | History | Annotate | Download | only in Target

Lines Matching refs:IdxMode

710   getIndexedLoadAction(unsigned IdxMode, MVT VT) const {
711 assert(IdxMode < ISD::LAST_INDEXED_MODE && VT.isValid() &&
714 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4);
718 bool isIndexedLoadLegal(unsigned IdxMode, EVT VT) const {
720 (getIndexedLoadAction(IdxMode, VT.getSimpleVT()) == Legal ||
721 getIndexedLoadAction(IdxMode, VT.getSimpleVT()) == Custom);
728 getIndexedStoreAction(unsigned IdxMode, MVT VT) const {
729 assert(IdxMode < ISD::LAST_INDEXED_MODE && VT.isValid() &&
732 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f);
736 bool isIndexedStoreLegal(unsigned IdxMode, EVT VT) const {
738 (getIndexedStoreAction(IdxMode, VT.getSimpleVT()) == Legal ||
739 getIndexedStoreAction(IdxMode, VT.getSimpleVT()) == Custom);
1456 void setIndexedLoadAction(unsigned IdxMode, MVT VT,
1458 assert(VT.isValid() && IdxMode < ISD::LAST_INDEXED_MODE &&
1461 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] &= ~0xf0;
1462 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] |= ((uint8_t)Action) <<4;
1470 void setIndexedStoreAction(unsigned IdxMode, MVT VT,
1472 assert(VT.isValid() && IdxMode < ISD::LAST_INDEXED_MODE &&
1475 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] &= ~0x0f;
1476 IndexedModeActions[(unsigned)VT.SimpleTy][IdxMode] |= ((uint8_t)Action);