diff options
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-19 21:47:05 +0000 |
|---|---|---|
| committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-19 21:47:05 +0000 |
| commit | bbd610ae925b3d21babc5d41e184cd4a93d172fd (patch) | |
| tree | 9328b3b3dba7e2b4603333a0965b0d38465df9e8 /llvm/docs/MIRLangRef.rst | |
| parent | 3b265c8fcfef59a35ff00937e9ce06ffc62cf349 (diff) | |
| download | bcm5719-llvm-bbd610ae925b3d21babc5d41e184cd4a93d172fd.tar.gz bcm5719-llvm-bbd610ae925b3d21babc5d41e184cd4a93d172fd.zip | |
[CodeGen] Move printing MO_IntrinsicID operands to MachineOperand::print
Work towards the unification of MIR and debug output by refactoring the
interfaces.
Also add support for printing with a null TargetIntrinsicInfo and no
MachineFunction.
llvm-svn: 321111
Diffstat (limited to 'llvm/docs/MIRLangRef.rst')
| -rw-r--r-- | llvm/docs/MIRLangRef.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/docs/MIRLangRef.rst b/llvm/docs/MIRLangRef.rst index 541c024bdec..150e4e21375 100644 --- a/llvm/docs/MIRLangRef.rst +++ b/llvm/docs/MIRLangRef.rst @@ -713,6 +713,17 @@ which may be emitted later in the MC layer as: .cfi_offset w30, -16 +IntrinsicID Operands +^^^^^^^^^^^^^^^^^^^^ + +An Intrinsic ID operand contains a generic intrinsic ID or a target-specific ID. + +The syntax for the ``returnaddress`` intrinsic is: + +.. code-block:: text + + %x0 = COPY intrinsic(@llvm.returnaddress) + .. TODO: Describe the parsers default behaviour when optional YAML attributes are missing. .. TODO: Describe the syntax for the bundled instructions. |

