Lines Matching refs:IdxMode
1521 LegalizeAction getIndexedLoadAction(unsigned IdxMode, MVT VT) const { in getIndexedLoadAction() argument
1522 return getIndexedModeAction(IdxMode, VT, IMAB_Load); in getIndexedLoadAction()
1526 bool isIndexedLoadLegal(unsigned IdxMode, EVT VT) const { in isIndexedLoadLegal() argument
1528 (getIndexedLoadAction(IdxMode, VT.getSimpleVT()) == Legal || in isIndexedLoadLegal()
1529 getIndexedLoadAction(IdxMode, VT.getSimpleVT()) == Custom); in isIndexedLoadLegal()
1535 LegalizeAction getIndexedStoreAction(unsigned IdxMode, MVT VT) const { in getIndexedStoreAction() argument
1536 return getIndexedModeAction(IdxMode, VT, IMAB_Store); in getIndexedStoreAction()
1540 bool isIndexedStoreLegal(unsigned IdxMode, EVT VT) const { in isIndexedStoreLegal() argument
1542 (getIndexedStoreAction(IdxMode, VT.getSimpleVT()) == Legal || in isIndexedStoreLegal()
1543 getIndexedStoreAction(IdxMode, VT.getSimpleVT()) == Custom); in isIndexedStoreLegal()
1549 LegalizeAction getIndexedMaskedLoadAction(unsigned IdxMode, MVT VT) const { in getIndexedMaskedLoadAction() argument
1550 return getIndexedModeAction(IdxMode, VT, IMAB_MaskedLoad); in getIndexedMaskedLoadAction()
1554 bool isIndexedMaskedLoadLegal(unsigned IdxMode, EVT VT) const { in isIndexedMaskedLoadLegal() argument
1556 (getIndexedMaskedLoadAction(IdxMode, VT.getSimpleVT()) == Legal || in isIndexedMaskedLoadLegal()
1557 getIndexedMaskedLoadAction(IdxMode, VT.getSimpleVT()) == Custom); in isIndexedMaskedLoadLegal()
1563 LegalizeAction getIndexedMaskedStoreAction(unsigned IdxMode, MVT VT) const { in getIndexedMaskedStoreAction() argument
1564 return getIndexedModeAction(IdxMode, VT, IMAB_MaskedStore); in getIndexedMaskedStoreAction()
1568 bool isIndexedMaskedStoreLegal(unsigned IdxMode, EVT VT) const { in isIndexedMaskedStoreLegal() argument
1570 (getIndexedMaskedStoreAction(IdxMode, VT.getSimpleVT()) == Legal || in isIndexedMaskedStoreLegal()
1571 getIndexedMaskedStoreAction(IdxMode, VT.getSimpleVT()) == Custom); in isIndexedMaskedStoreLegal()
2611 for (auto IdxMode : IdxModes) in setIndexedLoadAction() local
2612 setIndexedModeAction(IdxMode, VT, IMAB_Load, Action); in setIndexedLoadAction()
2628 for (auto IdxMode : IdxModes) in setIndexedStoreAction() local
2629 setIndexedModeAction(IdxMode, VT, IMAB_Store, Action); in setIndexedStoreAction()
2643 void setIndexedMaskedLoadAction(unsigned IdxMode, MVT VT, in setIndexedMaskedLoadAction() argument
2645 setIndexedModeAction(IdxMode, VT, IMAB_MaskedLoad, Action); in setIndexedMaskedLoadAction()
2653 void setIndexedMaskedStoreAction(unsigned IdxMode, MVT VT, in setIndexedMaskedStoreAction() argument
2655 setIndexedModeAction(IdxMode, VT, IMAB_MaskedStore, Action); in setIndexedMaskedStoreAction()
3650 void setIndexedModeAction(unsigned IdxMode, MVT VT, unsigned Shift, in setIndexedModeAction() argument
3652 assert(VT.isValid() && IdxMode < ISD::LAST_INDEXED_MODE && in setIndexedModeAction()
3655 IndexedModeActions[Ty][IdxMode] &= ~(0xf << Shift); in setIndexedModeAction()
3656 IndexedModeActions[Ty][IdxMode] |= ((uint16_t)Action) << Shift; in setIndexedModeAction()
3659 LegalizeAction getIndexedModeAction(unsigned IdxMode, MVT VT, in getIndexedModeAction() argument
3661 assert(IdxMode < ISD::LAST_INDEXED_MODE && VT.isValid() && in getIndexedModeAction()
3664 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] >> Shift) & 0xf); in getIndexedModeAction()