diff options
author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-06-27 07:48:06 +0000 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-06-27 07:48:06 +0000 |
commit | a7cde103c18224f426e613b64ecb228c2154300f (patch) | |
tree | 235dce0d944171a2789b34c51d736035fe76982d /llvm/docs | |
parent | 41825040f62f03a69d1c1c1f77bf2fd7089ab0b7 (diff) | |
download | bcm5719-llvm-a7cde103c18224f426e613b64ecb228c2154300f.tar.gz bcm5719-llvm-a7cde103c18224f426e613b64ecb228c2154300f.zip |
[MachineFunction] Base support for call site info tracking
Add an attribute into the MachineFunction that tracks call site info.
([8/13] Introduce the debug entry values.)
Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D61061
llvm-svn: 364506
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/MIRLangRef.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/MIRLangRef.rst b/llvm/docs/MIRLangRef.rst index ca6c0107fa6..407d6bc1c25 100644 --- a/llvm/docs/MIRLangRef.rst +++ b/llvm/docs/MIRLangRef.rst @@ -191,6 +191,9 @@ of such YAML document: tracksRegLiveness: true liveins: - { reg: '$rdi' } + callSites: + - { bb: 0, offset: 3, fwdArgRegs: + - { arg: 0, reg: '$edi' } } body: | bb.0.entry: liveins: $rdi @@ -198,6 +201,7 @@ of such YAML document: $eax = MOV32rm $rdi, 1, _, 0, _ $eax = INC32r killed $eax, implicit-def dead $eflags MOV32mr killed $rdi, 1, _, 0, _, $eax + CALL64pcrel32 @foo <regmask...> RETQ $eax ... @@ -210,6 +214,9 @@ name of a function that this machine function is based on. The attribute ``body`` is a `YAML block literal string`_. Its value represents the function's machine basic blocks and their machine instructions. +The attribute ``callSites`` is a representation of call site information which +keeps track of call instructions and registers used to transfer call arguments. + Machine Instructions Format Reference ===================================== |