diff options
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 ===================================== |