This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/llvm-mir/llvm-mir.mir.output
2022-12-04 16:06:01 +01:00

213 lines
4.7 KiB
Text
Generated

'# YAML line comment' Comment
'\n\n' Text
'--- |' Keyword
'\n ' Text.Whitespace
'; LLVM-IR line comment\n' Comment
' ' Text.Whitespace
'define' Keyword
' ' Text.Whitespace
'void' Keyword
' ' Text.Whitespace
'@myfunction' Name.Variable.Global
'(' Punctuation
')' Punctuation
' ' Text.Whitespace
'{' Punctuation
' ' Text.Whitespace
'ret' Keyword
' ' Text.Whitespace
'void' Keyword
' ' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace
'...' Keyword
'\n\n' Text
'---' Keyword
'\n' Text.Whitespace
'name:' Keyword
' myfunction' Name
'\n' Text.Whitespace
'legalized:' Keyword
' true' Name.Builtin
'\n' Text.Whitespace
'registers:' Keyword
'\n' Text.Whitespace
' - { id: 0, class: gpr }' Text
'\n' Text.Whitespace
'body: |' Keyword
'\n ' Text
'bb.0.named (address-taken):' Name.Label
'\n ' Text
'liveins:' Keyword
' ' Text
'$r0' Literal.String.Single
', ' Text
'$r1' Literal.String.Single
'\n ' Text
'successors:' Keyword
' ' Text
'%bb.1.alsonamed' Name.Label
'\n\n ' Text
'; MIR line comment' Comment
'\n ' Text
'%0' Name.Variable
':' Keyword
'gpr' Name.Variable
'(' Text
's64' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'COPY' Name.Builtin
' ' Text
'$r0' Literal.String.Single
'\n ' Text
'%1' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'COPY' Name.Builtin
' ' Text
'$r1' Literal.String.Single
'\n ' Text
'bb.1.alsonamed:' Name.Label
'\n ' Text
'successors:' Keyword
' ' Text
'%bb.2' Name.Label
'\n\n ' Text
'%2' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'EXTRACT_SUBREG' Name.Builtin
' ' Text
'%1' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
', ' Text
'%subreg.sub0' Name
'\n ' Text
'%3' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'G_ADD' Name.Builtin
' ' Text
'%0' Name.Variable
':' Keyword
'gpr' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
', ' Text
'%2' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'killed' Keyword
'\n ' Text
'%4' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'G_CONSTANT' Name.Builtin
' ' Text
'i32' Keyword.Type
' ' Text.Whitespace
'1' Literal.Number.Integer
'\n' Text.Whitespace
' ' Text
'%5' Name.Variable
'(' Text
's32' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'G_FCONSTANT' Name.Builtin
' ' Text
'float ' Keyword.Type
'1.0' Literal.Number.Float
'\n' Text.Whitespace
' ' Text
'%6' Name.Variable
'(' Text
'p0' Keyword.Type
')' Text
'' Text
' ' Text
'=' Operator
' ' Text
'G_LOAD' Name.Builtin
' ' Text
'%6' Name.Variable
'(' Text
'p0' Keyword.Type
')' Text
'' Text
' ' Text
'::' Operator
' ' Text.Whitespace
'(' Text
'load' Keyword
' ' Text.Whitespace
'4' Literal.Number.Integer
' ' Text.Whitespace
'from' Keyword
' ' Text.Whitespace
'%ir.myvar' Name
' ' Text.Whitespace
'+' Operator
' ' Text.Whitespace
'4' Literal.Number.Integer
')' Text
'\n\n ' Text
'bb.2:' Name.Label
'\n ' Text
'$r0' Literal.String.Single
' ' Text
'=' Operator
' ' Text
'COPY' Name.Builtin
' ' Text
'%3' Name.Variable
'\n' Text.Whitespace
'...' Keyword
'\n' Text