[PATCH] D153788: [SystemZ][z/OS] z/OS ADA codegen and emission

Yusra Syeda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 10:17:48 PDT 2023


yusra.syeda created this revision.
yusra.syeda added reviewers: uweigand, Kai, neumannh, kpn, MaskRay, sfertile.
Herald added a subscriber: hiraditya.
Herald added a project: All.
yusra.syeda requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153788

Files:
  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
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h
  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/test/CodeGen/SystemZ/call-zos-vararg.ll
  llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
  llvm/test/CodeGen/SystemZ/zos-ada.ll
  llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153788.534630.patch
Type: text/x-patch
Size: 36023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230626/a4a79858/attachment.bin>


More information about the llvm-commits mailing list