[SystemZ][z/OS] This patch adds support for the ADA (associated data area), doing...
authorYusra Syeda <yusra.syeda@ibm.com>
Wed, 28 Jun 2023 14:13:10 +0000 (10:13 -0400)
committerYusra Syeda <yusra.syeda@ibm.com>
Wed, 28 Jun 2023 14:13:10 +0000 (10:13 -0400)
commit9df0f66af5462e23216eae31aedbd4d2f459cc3d
tree92b69f0a595c6d04544610888f49a3ad194c1b33
parentc8e9c440193fd87f7fa42edd7494df9da376dae2
[SystemZ][z/OS] This patch adds support for the ADA (associated data area), doing the following:
- Creates the ADA table to handle displacements
- Emits the ADA section in the SystemZAsmPrinter
- Lowers the ADA_ENTRY node into the appropriate load instruction

Differential Revision: https://reviews.llvm.org/D153788
20 files changed:
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.cpp [new file with mode: 0644]
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h [new file with mode: 0644]
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.h
llvm/lib/Target/SystemZ/SystemZInstrInfo.h
llvm/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h
llvm/lib/Target/SystemZ/SystemZOperators.td
llvm/lib/Target/SystemZ/SystemZRegisterInfo.h
llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
llvm/lib/Target/SystemZ/SystemZSubtarget.h
llvm/test/CodeGen/SystemZ/call-zos-vararg.ll
llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/zos-ada.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll