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()
375 static bool selectDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in selectDisp()
377 case SystemZAddressingMode::Disp12Only: in selectDisp()
380 case SystemZAddressingMode::Disp12Pair: in selectDisp()
381 case SystemZAddressingMode::Disp20Only: in selectDisp()
382 case SystemZAddressingMode::Disp20Pair: in selectDisp()
385 case SystemZAddressingMode::Disp20Only128: in selectDisp()
393 static void changeComponent(SystemZAddressingMode &AM, bool IsBase, in changeComponent()
404 static bool expandAdjDynAlloc(SystemZAddressingMode &AM, bool IsBase, in expandAdjDynAlloc()
416 static bool expandIndex(SystemZAddressingMode &AM, SDValue Base, in expandIndex()
428 static bool expandDisp(SystemZAddressingMode &AM, bool IsBase, in expandDisp()
443 bool SystemZDAGToDAGISel::expandAddress(SystemZAddressingMode &AM, in expandAddress()
486 static bool isValidDisp(SystemZAddressingMode::DispRange DR, int64_t Val) { in isValidDisp()
489 case SystemZAddressingMode::Disp12Only: in isValidDisp()
490 case SystemZAddressingMode::Disp20Only: in isValidDisp()
491 case SystemZAddressingMode::Disp20Only128: in isValidDisp()
494 case SystemZAddressingMode::Disp12Pair: in isValidDisp()
498 case SystemZAddressingMode::Disp20Pair: in isValidDisp()
559 SystemZAddressingMode &AM) const { in selectAddress()
580 if (AM.Form == SystemZAddressingMode::FormBDXLA && in selectAddress()
615 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
640 void SystemZDAGToDAGISel::getAddressOperands(const SystemZAddressingMode &AM, in getAddressOperands()
652 bool SystemZDAGToDAGISel::selectBDAddr(SystemZAddressingMode::DispRange DR, in selectBDAddr()
655 SystemZAddressingMode AM(SystemZAddressingMode::FormBD, DR); in selectBDAddr()
663 bool SystemZDAGToDAGISel::selectMVIAddr(SystemZAddressingMode::DispRange DR, in selectMVIAddr()
666 SystemZAddressingMode AM(SystemZAddressingMode::FormBDXNormal, DR); in selectMVIAddr()
674 bool SystemZDAGToDAGISel::selectBDXAddr(SystemZAddressingMode::AddrForm Form, in selectBDXAddr()
675 SystemZAddressingMode::DispRange DR, in selectBDXAddr()
678 SystemZAddressingMode AM(Form, DR); in selectBDXAddr()
1553 SystemZAddressingMode::AddrForm Form; in SelectInlineAsmMemoryOperand()
1554 SystemZAddressingMode::DispRange DispRange; in SelectInlineAsmMemoryOperand()
1563 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1564 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1568 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1569 DispRange = SystemZAddressingMode::Disp12Only; in SelectInlineAsmMemoryOperand()
1573 Form = SystemZAddressingMode::FormBD; in SelectInlineAsmMemoryOperand()
1574 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()
1583 Form = SystemZAddressingMode::FormBDXNormal; in SelectInlineAsmMemoryOperand()
1584 DispRange = SystemZAddressingMode::Disp20Only; in SelectInlineAsmMemoryOperand()