Lines Matching defs:SystemZAddressingMode

28 struct SystemZAddressingMode {
65 SystemZAddressingMode(AddrForm form, DispRange dr)
75 errs() << "SystemZAddressingMode " << this << '\n';
152 bool expandAddress(SystemZAddressingMode &AM, bool IsBase) const;
155 bool selectAddress(SDValue N, SystemZAddressingMode &AM) const;
158 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
160 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
166 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
172 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
178 bool selectBDXAddr(SystemZAddressingMode::AddrForm Form,
179 SystemZAddressingMode::DispRange DR, SDValue Addr,
193 return selectBDAddr(SystemZAddressingMode::Disp12Only, Addr, Base, Disp);
196 return selectBDAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp);
199 return selectBDAddr(SystemZAddressingMode::Disp20Only, Addr, Base, Disp);
202 return selectBDAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp);
207 return selectMVIAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp);
210 return selectMVIAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp);
216 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal,
217 SystemZAddressingMode::Disp12Only,
222 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal,
223 SystemZAddressingMode::Disp12Pair,
228 return selectBDXAddr(SystemZAddressingMode::FormBDXDynAlloc,
229 SystemZAddressingMode::Disp12Only,
234 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal,
235 SystemZAddressingMode::Disp20Only,
240 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal,
241 SystemZAddressingMode::Disp20Only128,
246 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal,
247 SystemZAddressingMode::Disp20Pair,
252 return selectBDXAddr(SystemZAddressingMode::FormBDXLA,
253 SystemZAddressingMode::Disp12Pair,
258 return selectBDXAddr(SystemZAddressingMode::FormBDXLA,
259 SystemZAddressingMode::Disp20Pair,
411 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) {
413 case SystemZAddressingMode::Disp12Only:
416 case SystemZAddressingMode::Disp12Pair:
417 case SystemZAddressingMode::Disp20Only:
418 case SystemZAddressingMode::Disp20Pair:
421 case SystemZAddressingMode::Disp20Only128:
429 static void changeComponent(SystemZAddressingMode &AM, bool IsBase,
440 static bool expandAdjDynAlloc(SystemZAddressingMode &AM, bool IsBase,
452 static bool expandIndex(SystemZAddressingMode &AM, SDValue Base,
464 static bool expandDisp(SystemZAddressingMode &AM, bool IsBase,
479 bool SystemZDAGToDAGISel::expandAddress(SystemZAddressingMode &AM,
523 static bool isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) {
526 case SystemZAddressingMode::Disp12Only:
527 case SystemZAddressingMode::Disp20Only:
528 case SystemZAddressingMode::Disp20Only128:
531 case SystemZAddressingMode::Disp12Pair:
535 case SystemZAddressingMode::Disp20Pair:
596 SystemZAddressingMode &AM) const {
617 if (AM.Form == SystemZAddressingMode::FormBDXLA &&
652 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM,
677 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM,
689 bool SystemZDAGToDAGISel::selectBDAddr(SystemZAddressingMode::DispRange DR,
692 SystemZAddressingMode AM(SystemZAddressingMode::FormBD, DR);
700 bool SystemZDAGToDAGISel::selectMVIAddr(SystemZAddressingMode::DispRange DR,
703 SystemZAddressingMode AM(SystemZAddressingMode::FormBDXNormal, DR);
711 bool SystemZDAGToDAGISel::selectBDXAddr(SystemZAddressingMode::AddrForm Form,
712 SystemZAddressingMode::DispRange DR,
715 SystemZAddressingMode AM(Form, DR);
1811 SystemZAddressingMode::AddrForm Form;
1812 SystemZAddressingMode::DispRange DispRange;
1822 Form = SystemZAddressingMode::FormBD;
1823 DispRange = SystemZAddressingMode::Disp12Only;
1828 Form = SystemZAddressingMode::FormBDXNormal;
1829 DispRange = SystemZAddressingMode::Disp12Only;
1834 Form = SystemZAddressingMode::FormBD;
1835 DispRange = SystemZAddressingMode::Disp20Only;
1846 Form = SystemZAddressingMode::FormBDXNormal;
1847 DispRange = SystemZAddressingMode::Disp20Only;