1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-13 13:28:27 +02:00
chroma/lexers/testdata/mlir.expected
jpienaar 15c7468f37 Add simple MLIR lexer (#308)
* Add simple MLIR lexer

* Add simple MLIR lexer

Use sample.mlir from https://github.com/jpienaar/mlir-grammar
2019-11-30 14:29:49 -08:00

797 lines
30 KiB
Plaintext

[
{"type":"Comment","value":"// CHECK-LABEL: func @func_with_ops(%arg0: f32) {\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@func_with_ops"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Comment","value":"// CHECK: %0 = \"getTensor\"() : () -\u003e tensor\u003c4x4x?xf32\u003e\n"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%t"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"getTensor\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"tensor"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"4x4x?x"},
{"type":"KeywordType","value":"vector"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"10x"},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":"\u003e\u003e\u003e"},
{"type":"Text","value":"\n\n "},
{"type":"NameVariable","value":"%i6"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" muli "},
{"type":"NameVariable","value":"%i2"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%i2"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%t2"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"std.dim\""},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%t"},
{"type":"Punctuation","value":"){"},
{"type":"NameLabel","value":"index ="},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"2"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"KeywordType","value":"tensor"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"4x4x?x"},
{"type":"KeywordType","value":"vector"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"10x"},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":"\u003e\u003e)"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"index"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%x"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":","},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"KeywordType","value":"memref"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"1 x"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"d0"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"d0"},
{"type":"Punctuation","value":"),"},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"4"},
{"type":"Punctuation","value":"\u003e)"},
{"type":"Text","value":"\n\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@count"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%x"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"tensor"},
{"type":"Punctuation","value":"\u003c"},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n attributes "},
{"type":"Punctuation","value":"{"},
{"type":"NameLabel","value":"fruit ="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"banana\""},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%x"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%x"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@correct_number_of_regions"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Comment","value":"// CHECK: test.two_region_op\n"},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"test.two_region_op\""},
{"type":"Punctuation","value":"()("},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"{"},
{"type":"LiteralString","value":"\"work\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()},"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"{"},
{"type":"LiteralString","value":"\"work\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()}"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":"\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@inline_notation"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%1"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%1p"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"fused"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralString","value":"\"myPass\""},
{"type":"Punctuation","value":"\u003e["},
{"type":"LiteralString","value":"\"abc\""},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"de\""},
{"type":"Punctuation","value":"])"},
{"type":"Text","value":"\n\n "},
{"type":"Comment","value":"// CHECK: constant 4 : index loc(callsite(\"foo\" at \"mysource.cc\":10:8))\n"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%2"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"constant"},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"4"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"index"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"callsite"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Text","value":" at "},
{"type":"LiteralString","value":"\"mysource.cc\""},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"10"},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"8"},
{"type":"Punctuation","value":"))"},
{"type":"Text","value":"\n\n affine"},
{"type":"Punctuation","value":"."},
{"type":"Text","value":"for "},
{"type":"NameVariable","value":"%i0"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"0"},
{"type":"Text","value":" to "},
{"type":"LiteralNumber","value":"8"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"fused"},
{"type":"Punctuation","value":"["},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"mysource.cc\""},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"10"},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"8"},
{"type":"Punctuation","value":"])"},
{"type":"Text","value":"\n\n affine"},
{"type":"Punctuation","value":"."},
{"type":"Text","value":"if "},
{"type":"NameVariable","value":"#set0"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%2"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"fused"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralString","value":"\"myPass\""},
{"type":"Punctuation","value":"\u003e["},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo2\""},
{"type":"Punctuation","value":"])"},
{"type":"Text","value":"\n\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%1"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"unknown"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@simple"},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i1"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n"},
{"type":"NameLabel","value":"^bb0"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%cond"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i1"},
{"type":"Punctuation","value":"):"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// Code dominated by ^bb0 may refer to %a\n"},
{"type":"Text","value":" cond_br "},
{"type":"NameVariable","value":"%cond"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameLabel","value":"^bb1"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameLabel","value":"^bb2\n\n^bb1"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":"\n br "},
{"type":"NameLabel","value":"^bb3"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// Branch passes %a as the argument\n"},
{"type":"Text","value":"\n"},
{"type":"NameLabel","value":"^bb2"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%b"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" addi "},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%a"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Text","value":"\n br "},
{"type":"NameLabel","value":"^bb3"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%b"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// Branch passes %b as the argument\n"},
{"type":"Text","value":"\n"},
{"type":"Comment","value":"// ^bb3 receives an argument, named %c, from predecessors\n// and passes it on to bb4 twice.\n"},
{"type":"NameLabel","value":"^bb3"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%c"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":"):"},
{"type":"Text","value":"\n br "},
{"type":"NameLabel","value":"^bb4"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%c"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%c"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n\n"},
{"type":"NameLabel","value":"^bb4"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%d"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Punctuation","value":"):"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%0"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" addi "},
{"type":"NameVariable","value":"%d"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Text","value":"\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%0"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i64"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"Comment","value":"// CHECK-LABEL: func @func_with_ops(%arg0: f32) {\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@func_with_ops"},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n"},
{"type":"NameLabel","value":"^bb0"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":"):"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%t"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"getTensor\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"tensor"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"4x4x?x"},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":"\u003e"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%t2"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"std.dim\""},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%t"},
{"type":"Punctuation","value":"){"},
{"type":"NameLabel","value":"index ="},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"2"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"KeywordType","value":"tensor"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralNumber","value":"4x4x?x"},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":"\u003e)"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"index"},
{"type":"Text","value":"\n\n "},
{"type":"NameVariable","value":"%x"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"std.addf\""},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%a"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":","},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"f32"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// help\n"},
{"type":"Text","value":"\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@multiblock"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// CHECK: return\n"},
{"type":"NameLabel","value":"^bb1"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// CHECK: ^bb1: // no predecessors\n"},
{"type":"Text","value":" br "},
{"type":"NameLabel","value":"^bb4 "},
{"type":"Comment","value":"// CHECK: br ^bb3\n"},
{"type":"NameLabel","value":"^bb2"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// CHECK: ^bb2: // pred: ^bb2\n"},
{"type":"Text","value":" br "},
{"type":"NameLabel","value":"^bb2 "},
{"type":"Comment","value":"// CHECK: br ^bb2\n"},
{"type":"NameLabel","value":"^bb4"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// CHECK: ^bb3: // pred: ^bb1\n"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"Comment","value":"// CHECK: return\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@dialect_attribute_with_type"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"LiteralString","value":"\"foo.unknown_op\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"NameLabel","value":"foo ="},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"#foo.attr"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordType","value":"func"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"@inline_notation"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"NameVariable","value":"%1"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"-\u003e"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n\n "},
{"type":"NameVariable","value":"%2"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"constant"},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"4"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"index"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"callsite"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Text","value":" at "},
{"type":"LiteralString","value":"\"mysource.cc\""},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"10"},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"8"},
{"type":"Punctuation","value":"))"},
{"type":"Text","value":"\n\n affine"},
{"type":"Punctuation","value":"."},
{"type":"Text","value":"for "},
{"type":"NameVariable","value":"%i0"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"0"},
{"type":"Text","value":" to "},
{"type":"LiteralNumber","value":"8"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"fused"},
{"type":"Punctuation","value":"["},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"mysource.cc\""},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"10"},
{"type":"Punctuation","value":":"},
{"type":"LiteralNumber","value":"8"},
{"type":"Punctuation","value":"])"},
{"type":"Text","value":"\n\n affine"},
{"type":"Punctuation","value":"."},
{"type":"Text","value":"if "},
{"type":"NameVariable","value":"#set0"},
{"type":"Punctuation","value":"("},
{"type":"NameVariable","value":"%2"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"fused"},
{"type":"Punctuation","value":"\u003c"},
{"type":"LiteralString","value":"\"myPass\""},
{"type":"Punctuation","value":"\u003e["},
{"type":"LiteralString","value":"\"foo\""},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"foo2\""},
{"type":"Punctuation","value":"])"},
{"type":"Text","value":"\n\n "},
{"type":"KeywordType","value":"return"},
{"type":"Text","value":" "},
{"type":"NameVariable","value":"%1"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"i32"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"loc"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":"unknown"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n\n"}
]