Lines Matching defs:ValVT

1064   LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT,
1066 if (ValVT.isExtended() || MemVT.isExtended()) return Expand;
1067 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy;
1076 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const {
1077 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal;
1082 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const {
1083 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal ||
1084 getLoadExtAction(ExtType, ValVT, MemVT) == Custom;
1090 LegalizeAction getTruncStoreAction(EVT ValVT, EVT MemVT) const {
1091 if (ValVT.isExtended() || MemVT.isExtended()) return Expand;
1092 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy;
1101 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const {
1102 return isTypeLegal(ValVT) && getTruncStoreAction(ValVT, MemVT) == Legal;
1107 bool isTruncStoreLegalOrCustom(EVT ValVT, EVT MemVT) const {
1108 return isTypeLegal(ValVT) &&
1109 (getTruncStoreAction(ValVT, MemVT) == Legal ||
1110 getTruncStoreAction(ValVT, MemVT) == Custom);
2011 void setLoadExtAction(unsigned ExtType, MVT ValVT, MVT MemVT,
2013 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValVT.isValid() &&
2017 LoadExtActions[ValVT.SimpleTy][MemVT.SimpleTy] &= ~((uint16_t)0xF << Shift);
2018 LoadExtActions[ValVT.SimpleTy][MemVT.SimpleTy] |= (uint16_t)Action << Shift;
2023 void setTruncStoreAction(MVT ValVT, MVT MemVT,
2025 assert(ValVT.isValid() && MemVT.isValid() && "Table isn't big enough!");
2026 TruncStoreActions[(unsigned)ValVT.SimpleTy][MemVT.SimpleTy] = Action;