History log of /llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp (Results 1 – 25 of 117)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6
# dc04d414 10-Dec-2024 anoopkg6 <anoop.kumar6@ibm.com>

SystemZ: Add support for __builtin_setjmp and __builtin_longjmp. (#119257)

This pr includes fixes for original pr##116642.
Implementation for __builtin_setjmp and __builtin_longjmp for SystemZ..


# 8787bc72 06-Dec-2024 Ulrich Weigand <ulrich.weigand@de.ibm.com>

Revert "[SystemZ] Add support for __builtin_setjmp and __builtin_longjmp (#116642)"

This reverts commit 030bbc92a705758f1131fb29cab5be6d6a27dd1f.


# 030bbc92 06-Dec-2024 anoopkg6 <anoop.kumar6@ibm.com>

[SystemZ] Add support for __builtin_setjmp and __builtin_longjmp (#116642)

Implementation for __builtin_setjmp and __builtin_longjmp for SystemZ.


Revision tags: llvmorg-19.1.5, llvmorg-19.1.4
# ed8019d9 18-Nov-2024 Kazu Hirata <kazu@google.com>

[Target] Remove unused includes (NFC) (#116577)

Identified with misc-include-cleaner.


# 4a37799a 05-Nov-2024 Kai Nacke <kai.peter.nacke@ibm.com>

[SystemZ][XRay] Implement XRay instrumentation for SystemZ (#113253)

Expands pseudo instructions PATCHABLE_FUNCTION_ENTER and PATCHABLE_RET
into a small instruction sequence which calls into the XRa

[SystemZ][XRay] Implement XRay instrumentation for SystemZ (#113253)

Expands pseudo instructions PATCHABLE_FUNCTION_ENTER and PATCHABLE_RET
into a small instruction sequence which calls into the XRay library.

show more ...


Revision tags: llvmorg-19.1.3
# 6512a8dd 22-Oct-2024 tltao <tony.le.tao@gmail.com>

[SystemZ] Split SystemZInstPrinter to two classes based on Asm dialect (#112975)

In preparation for future work on separating the output of the GNU/HLASM
ASM dialects, we first separate the SystemZ

[SystemZ] Split SystemZInstPrinter to two classes based on Asm dialect (#112975)

In preparation for future work on separating the output of the GNU/HLASM
ASM dialects, we first separate the SystemZInstPrinter classes to two
versions, one for each ASM dialect.

The common code remains in a SystemZInstPrinterCommon class instead.

---------

Co-authored-by: Tony Tao <tonytao@ca.ibm.com>

show more ...


Revision tags: llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2
# bc747c3e 01-Aug-2024 tltao <tony.le.tao@gmail.com>

[SystemZ][z/OS] Fix incorrect codegen for ADA_ENTRY pseudo instruction (#101415)

The current MCInstBuilder for generating an ALGFI when loading something
from the ADA is incorrect and will crash th

[SystemZ][z/OS] Fix incorrect codegen for ADA_ENTRY pseudo instruction (#101415)

The current MCInstBuilder for generating an ALGFI when loading something
from the ADA is incorrect and will crash the compiler.

r0 must also be excluded from the registers returned as the result,
since it is treated as the value "0" on z/OS.

Also add some tests to properly test the paths where LLILF and ALGFI are
generated.

---------

Co-authored-by: Tony Tao <tonytao@ca.ibm.com>

show more ...


Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init
# 4169338e 28-Jun-2024 Nikita Popov <npopov@redhat.com>

[IR] Don't include Module.h in Analysis.h (NFC) (#97023)

Replace it with a forward declaration instead. Analysis.h is pulled in
by all passes, but not all passes need to access the module.


Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1
# eccc7178 05-Mar-2024 Neumann Hon <neumann.hon@ibm.com>

[SystemZ] [z/OS] Emit offset to PPA2 in separate MCSection (#84043)

The ppa2list section isn't really part of the ppa2 section. The ppa2list
section contains the offset to the ppa2, and must be cre

[SystemZ] [z/OS] Emit offset to PPA2 in separate MCSection (#84043)

The ppa2list section isn't really part of the ppa2 section. The ppa2list
section contains the offset to the ppa2, and must be created with a
special section name (specifically, C_@@QPPA2). The binder searches for
a section with this name, then uses this value to locate the ppa2.

In GOFF terms, these are entirely separate sections; the PPA2 section
isn't even really a section but rather belongs to the code section. On
the other hand, the ppa2list section is a section in its own right and
resides in a separate TXT record.

show more ...


Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3
# 9c75a981 07-Feb-2024 Ilya Leoshkevich <iii@linux.ibm.com>

[SystemZ] Implement A, O and R inline assembly format flags (#80685)

Implement the following assembly format flags, which are already
supported by GCC:

'A': On z14 or higher: If operand is a me

[SystemZ] Implement A, O and R inline assembly format flags (#80685)

Implement the following assembly format flags, which are already
supported by GCC:

'A': On z14 or higher: If operand is a mem print the alignment
hint usable with vl/vst prefixed by a comma.
'O': print only the displacement of a memory reference or address.
'R': print only the base register of a memory reference or address.

Implement 'A' conservatively, since the memory operand alignment
information is not available for INLINEASM at the moment.

show more ...


Revision tags: llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init
# 0768253c 19-Dec-2023 Yusra Syeda <99052248+ysyeda@users.noreply.github.com>

[SystemZ][z/OS] Add exception handling for XPLINK (#74638)

Adds emitting the exception table and the EH registers for XPLINK.

---------

Co-authored-by: Yusra Syeda <yusra.syeda@ibm.com>


# 901e484f 04-Dec-2023 Ulrich Weigand <ulrich.weigand@de.ibm.com>

[SystemZ] Handle index-only addresses in (dis)assembler

Most addresses in SystemZ instructions take two registers,
an index register and a base register. However, either of
those can be omitted. I

[SystemZ] Handle index-only addresses in (dis)assembler

Most addresses in SystemZ instructions take two registers,
an index register and a base register. However, either of
those can be omitted. If there is just a single register,
this usually is taken as the base register - however, there
are certain rare cases where you specifically want to use
an index register but no base register. This is currently
not handled consistently by the assembler / disassembler.

Fix this by
- always emitting a dummy 0 as base register for index-
only addresses
- correctly handle dummy 0 as indicating no base register
when parsing an address

This is compatible with current GNU binutils behavior.

show more ...


Revision tags: llvmorg-17.0.6
# 9a38a72f 27-Nov-2023 Yusra Syeda <99052248+ysyeda@users.noreply.github.com>

[SystemZ][z/OS] This change adds support for the PPA2 section in zOS (#68926)

This PR adds support for the PPA2 fields.

---------

Co-authored-by: Yusra Syeda <yusra.syeda@ibm.com>


Revision tags: llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4
# d00f5989 23-Aug-2023 Neumann Hon <neumann.hon@ibm.com>

[SystemZ][z/OS] Fix the entry point marker for leaf functions

The function emitFunctionEntryLabel does not look at whether or not a function is a leaf when setting the entry flags, and instead blind

[SystemZ][z/OS] Fix the entry point marker for leaf functions

The function emitFunctionEntryLabel does not look at whether or not a function is a leaf when setting the entry flags, and instead blindly marks all functions as non-leaf routines.

Differential Revision: https://reviews.llvm.org/D157701

Reviewed By: uweigand

show more ...


Revision tags: llvmorg-17.0.0-rc3
# 43207225 21-Aug-2023 Neumann Hon <neumann.hon@ibm.com>

Revert "[SystemZ][z/OS] Fix the entry point marker for leaf functions"

This reverts commit 8af297bbb8e97de8908b857eae1a44f46a0d5afe.

Testcase LLVM :: MC/GOFF/ppa1.ll needs to be updated to account

Revert "[SystemZ][z/OS] Fix the entry point marker for leaf functions"

This reverts commit 8af297bbb8e97de8908b857eae1a44f46a0d5afe.

Testcase LLVM :: MC/GOFF/ppa1.ll needs to be updated to account for this.

show more ...


# 8af297bb 21-Aug-2023 Neumann Hon <neumann.hon@ibm.com>

[SystemZ][z/OS] Fix the entry point marker for leaf functions

The function emitFunctionEntryLabel does not look at whether or not a function is a leaf when setting the entry flags,
and instead blind

[SystemZ][z/OS] Fix the entry point marker for leaf functions

The function emitFunctionEntryLabel does not look at whether or not a function is a leaf when setting the entry flags,
and instead blindly marks all functions as non-leaf routines. Change it to check if a function is a leaf function and
mark it accordingly.

show more ...


# 3e139be2 10-Aug-2023 Neumann Hon <neumann.hon@ibm.com>

[SystemZ][z/OS] Add support for function name field of PPA1

This PR causes the PPA1 to emit the function's name if it exists. This field is not emitted for unnamed functions.

Reviewed By: uweigand

[SystemZ][z/OS] Add support for function name field of PPA1

This PR causes the PPA1 to emit the function's name if it exists. This field is not emitted for unnamed functions.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D157494

show more ...


Revision tags: llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init
# c2964a59 06-Jul-2023 Yusra Syeda <yusra.syeda@ibm.com>

[SystemZ][z/OS] Address single comment in ADA patch for EmittedBytes unused in -Asserts


# 163aad6b 05-Jul-2023 Yusra Syeda <yusra.syeda@ibm.com>

[SystemZ][z/OS] z/OS ADA codegen and emission

This patch adds support for the ADA (associated data area), doing the following:

-Creates the ADA table to handle displacements
-Emits the ADA section

[SystemZ][z/OS] z/OS ADA codegen and emission

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

show more ...


# 1bfdc534 28-Jun-2023 Yusra Syeda <yusra.syeda@ibm.com>

Revert "[SystemZ][z/OS] This patch adds support for the ADA (associated data area), doing the following:"

This reverts commit 9df0f66af5462e23216eae31aedbd4d2f459cc3d.


# 9df0f66a 28-Jun-2023 Yusra Syeda <yusra.syeda@ibm.com>

[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
- Low

[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

show more ...


# b0abd489 17-Jun-2023 Elliot Goodrich <elliotgoodrich@gmail.com>

[llvm] Add missing StringExtras.h includes

In preparation for removing the `#include "llvm/ADT/StringExtras.h"`
from the header to source file of `llvm/Support/Error.h`, first add in
all the missing

[llvm] Add missing StringExtras.h includes

In preparation for removing the `#include "llvm/ADT/StringExtras.h"`
from the header to source file of `llvm/Support/Error.h`, first add in
all the missing includes that were previously included transitively
through this header.

show more ...


# 8a7a2da1 14-Jun-2023 Neumann Hon <neumann.hon@ibm.com>

[SystemZ][z/OS] Correct value of length/4 of params field in PPA1.

The Length/4 of Params field in the PPA1 ought to be the length of the parameters for the current function. Currently we are storin

[SystemZ][z/OS] Correct value of length/4 of params field in PPA1.

The Length/4 of Params field in the PPA1 ought to be the length of the parameters for the current function. Currently we are storing the length of the parameter area in the current function's stack frame, which represents the length of the params of the longest callee in the current function.

Differential Revision: https://reviews.llvm.org/D152920

Reviewed By: uweigand

show more ...


# 049324ac 14-Jun-2023 Neumann Hon <neumann.hon@ibm.com>

Revert "[SystemZ][z/OS] Correct value of length/4 of params field in PPA1."

This reverts commit e0f7b0e0f704dc3759925602e474b9e669270fcb.


# e0f7b0e0 14-Jun-2023 Neumann Hon <neumann.hon@ibm.com>

[SystemZ][z/OS] Correct value of length/4 of params field in PPA1.

The Length/4 of Params field in the PPA1 ought to be the length of the parameters for the current function. Currently we are storin

[SystemZ][z/OS] Correct value of length/4 of params field in PPA1.

The Length/4 of Params field in the PPA1 ought to be the length of the parameters for the current function. Currently we are storing the length of the parameter area in the current function's stack frame, which represents the length of the params of the longest callee in the current function.

Differential revision: https://reviews.llvm.org/D119049

Reviewed By: uweigand

show more ...


12345