Lines Matching refs:SystemZAddressingMode
27 struct SystemZAddressingMode { struct
64 SystemZAddressingMode(AddrForm form, DispRange dr) in SystemZAddressingMode() argument
151 bool expandAddress(SystemZAddressingMode &AM, bool IsBase) const;
154 bool selectAddress(SDValue N, SystemZAddressingMode &AM) const;
157 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
159 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
165 bool selectBDAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
171 bool selectMVIAddr(SystemZAddressingMode::DispRange DR, SDValue Addr,
177 bool selectBDXAddr(SystemZAddressingMode::AddrForm Form,
178 SystemZAddressingMode::DispRange DR, SDValue Addr,
192 return selectBDAddr(SystemZAddressingMode::Disp12Only, Addr, Base, Disp); in selectBDAddr12Only()
195 return selectBDAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp); in selectBDAddr12Pair()
198 return selectBDAddr(SystemZAddressingMode::Disp20Only, Addr, Base, Disp); in selectBDAddr20Only()
201 return selectBDAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp); in selectBDAddr20Pair()
206 return selectMVIAddr(SystemZAddressingMode::Disp12Pair, Addr, Base, Disp); in selectMVIAddr12Pair()
209 return selectMVIAddr(SystemZAddressingMode::Disp20Pair, Addr, Base, Disp); in selectMVIAddr20Pair()
215 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr12Only()
216 SystemZAddressingMode::Disp12Only, in selectBDXAddr12Only()
221 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr12Pair()
222 SystemZAddressingMode::Disp12Pair, in selectBDXAddr12Pair()
227 return selectBDXAddr(SystemZAddressingMode::FormBDXDynAlloc, in selectDynAlloc12Only()
228 SystemZAddressingMode::Disp12Only, in selectDynAlloc12Only()
233 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Only()
234 SystemZAddressingMode::Disp20Only, in selectBDXAddr20Only()
239 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Only128()
240 SystemZAddressingMode::Disp20Only128, in selectBDXAddr20Only128()
245 return selectBDXAddr(SystemZAddressingMode::FormBDXNormal, in selectBDXAddr20Pair()
246 SystemZAddressingMode::Disp20Pair, in selectBDXAddr20Pair()
251 return selectBDXAddr(SystemZAddressingMode::FormBDXLA, in selectLAAddr12Pair()
252 SystemZAddressingMode::Disp12Pair, in selectLAAddr12Pair()
257 return selectBDXAddr(SystemZAddressingMode::FormBDXLA, in selectLAAddr20Pair()
258 SystemZAddressingMode::Disp20Pair, in selectLAAddr20Pair()
389 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in selectDisp()
391 case SystemZAddressingMode::Disp12Only: in selectDisp()
394 case SystemZAddressingMode::Disp12Pair: in selectDisp()
395 case SystemZAddressingMode::Disp20Only: in selectDisp()
396 case SystemZAddressingMode::Disp20Pair: in selectDisp()
399 case SystemZAddressingMode::Disp20Only128: in selectDisp()
407 static void changeComponent(SystemZAddressingMode &AM, bool IsBase, in changeComponent()
418 static bool expandAdjDynAlloc(SystemZAddressingMode &AM, bool IsBase, in expandAdjDynAlloc()
430 static bool expandIndex(SystemZAddressingMode &AM, SDValue Base, in expandIndex()
442 static bool expandDisp(SystemZAddressingMode &AM, bool IsBase, in expandDisp()
457 bool SystemZDAGToDAGISel::expandAddress(SystemZAddressingMode &AM, in expandAddress()
500 static bool isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in isValidDisp()
503 case SystemZAddressingMode::Disp12Only: in isValidDisp()
504 case SystemZAddressingMode::Disp20Only: in isValidDisp()
505 case SystemZAddressingMode::Disp20Only128: in isValidDisp()
508 case SystemZAddressingMode::Disp12Pair: in isValidDisp()
512 case SystemZAddressingMode::Disp20Pair: in isValidDisp()
573 SystemZAddressingMode &AM) const { in selectAddress()
594 if (AM.Form == SystemZAddressingMode::FormBDXLA && in selectAddress()
629 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
654 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
666 bool SystemZDAGToDAGISel::selectBDAddr(SystemZAddressingMode::DispRange DR, in selectBDAddr()
669 SystemZAddressingMode AM(SystemZAddressingMode::FormBD, DR); in selectBDAddr()
677 bool SystemZDAGToDAGISel::selectMVIAddr(SystemZAddressingMode::DispRange DR, in selectMVIAddr()
680 SystemZAddressingMode AM(SystemZAddressingMode::FormBDXNormal, DR); in selectMVIAddr()
688 bool SystemZDAGToDAGISel::selectBDXAddr(SystemZAddressingMode::AddrForm Form, in selectBDXAddr()
689 SystemZAddressingMode::DispRange DR, in selectBDXAddr()
692 SystemZAddressingMode AM(Form, DR); in selectBDXAddr()
1677 SystemZAddressingMode::AddrForm Form; in SelectInlineAsmMemoryOperand()
1678 SystemZAddressingMode::DispRange DispRange; in SelectInlineAsmMemoryOperand()
1688 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1689 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1694 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1695 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1700 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1701 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()
1712 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1713 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()