Lines Matching refs:SystemZAddressingMode
27 struct SystemZAddressingMode { struct
64 SystemZAddressingMode(AddrForm form, DispRange dr) in SystemZAddressingMode() argument
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); in selectBDAddr12Only()
196 return selectBDAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp); in selectBDAddr12Pair()
199 return selectBDAddr(SystemZAddressingMode::Disp20Only, Addr, Base, Disp); in selectBDAddr20Only()
202 return selectBDAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp); in selectBDAddr20Pair()
207 return selectMVIAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp); in selectMVIAddr12Pair()
210 return selectMVIAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp); in selectMVIAddr20Pair()
216 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr12Only()
217 SystemZAddressingMode::Disp12Only, in selectBDXAddr12Only()
222 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr12Pair()
223 SystemZAddressingMode::Disp12Pair, in selectBDXAddr12Pair()
228 return selectBDXAddr(SystemZAddressingMode::FormBDXDynAlloc, in selectDynAlloc12Only()
229 SystemZAddressingMode::Disp12Only, in selectDynAlloc12Only()
234 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Only()
235 SystemZAddressingMode::Disp20Only, in selectBDXAddr20Only()
240 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Only128()
241 SystemZAddressingMode::Disp20Only128, in selectBDXAddr20Only128()
246 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Pair()
247 SystemZAddressingMode::Disp20Pair, in selectBDXAddr20Pair()
252 return selectBDXAddr(SystemZAddressingMode::FormBDXLA, in selectLAAddr12Pair()
253 SystemZAddressingMode::Disp12Pair, in selectLAAddr12Pair()
258 return selectBDXAddr(SystemZAddressingMode::FormBDXLA, in selectLAAddr20Pair()
259 SystemZAddressingMode::Disp20Pair, in selectLAAddr20Pair()
390 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in selectDisp()
392 case SystemZAddressingMode::Disp12Only: in selectDisp()
395 case SystemZAddressingMode::Disp12Pair: in selectDisp()
396 case SystemZAddressingMode::Disp20Only: in selectDisp()
397 case SystemZAddressingMode::Disp20Pair: in selectDisp()
400 case SystemZAddressingMode::Disp20Only128: in selectDisp()
408 static void changeComponent(SystemZAddressingMode &AM, bool IsBase, in changeComponent()
419 static bool expandAdjDynAlloc(SystemZAddressingMode &AM, bool IsBase, in expandAdjDynAlloc()
431 static bool expandIndex(SystemZAddressingMode &AM, SDValue Base, in expandIndex()
443 static bool expandDisp(SystemZAddressingMode &AM, bool IsBase, in expandDisp()
458 bool SystemZDAGToDAGISel::expandAddress(SystemZAddressingMode &AM, in expandAddress()
501 static bool isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in isValidDisp()
504 case SystemZAddressingMode::Disp12Only: in isValidDisp()
505 case SystemZAddressingMode::Disp20Only: in isValidDisp()
506 case SystemZAddressingMode::Disp20Only128: in isValidDisp()
509 case SystemZAddressingMode::Disp12Pair: in isValidDisp()
513 case SystemZAddressingMode::Disp20Pair: in isValidDisp()
574 SystemZAddressingMode &AM) const { in selectAddress()
595 if (AM.Form == SystemZAddressingMode::FormBDXLA && in selectAddress()
630 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
655 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
667 bool SystemZDAGToDAGISel::selectBDAddr(SystemZAddressingMode::DispRange DR, in selectBDAddr()
670 SystemZAddressingMode AM(SystemZAddressingMode::FormBD, DR); in selectBDAddr()
678 bool SystemZDAGToDAGISel::selectMVIAddr(SystemZAddressingMode::DispRange DR, in selectMVIAddr()
681 SystemZAddressingMode AM(SystemZAddressingMode::FormBDXNormal, DR); in selectMVIAddr()
689 bool SystemZDAGToDAGISel::selectBDXAddr(SystemZAddressingMode::AddrForm Form, in selectBDXAddr()
690 SystemZAddressingMode::DispRange DR, in selectBDXAddr()
693 SystemZAddressingMode AM(Form, DR); in selectBDXAddr()
1678 SystemZAddressingMode::AddrForm Form; in SelectInlineAsmMemoryOperand()
1679 SystemZAddressingMode::DispRange DispRange; in SelectInlineAsmMemoryOperand()
1688 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1689 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1693 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1694 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1698 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1699 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()
1708 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1709 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()