/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 91 Ast.Unary (op, operand) 127 let lhs = Ast.Binary (c, lhs, rhs) in 160 Ast.Prototype (id, Array.of_list (List.rev args)) 176 Ast.Prototype (name, args) 178 Ast.BinOpPrototype (name, args, binary_precedence) [all …]
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 91 Ast.Unary (op, operand) 127 let lhs = Ast.Binary (c, lhs, rhs) in 160 Ast.Prototype (id, Array.of_list (List.rev args)) 176 Ast.Prototype (name, args) 178 Ast.BinOpPrototype (name, args, binary_precedence) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 91 Ast.Unary (op, operand) 127 let lhs = Ast.Binary (c, lhs, rhs) in 160 Ast.Prototype (id, Array.of_list (List.rev args)) 176 Ast.Prototype (name, args) 178 Ast.BinOpPrototype (name, args, binary_precedence) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
D | parser.ml | 21 | [< 'Token.Number n >] -> Ast.Number n 43 Ast.Call (id, Array.of_list (List.rev args)) 46 | [< >] -> Ast.Variable id 54 Ast.If (c, t, e) 76 Ast.For (id, start, end_, step, body) 95 Ast.Var (Array.of_list (List.rev var_names), body) 105 Ast.Unary (op, operand) 141 let lhs = Ast.Binary (c, lhs, rhs) in 186 Ast.Prototype (id, Array.of_list (List.rev args)) 202 Ast.Prototype (name, args) [all …]
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
D | parser.ml | 21 | [< 'Token.Number n >] -> Ast.Number n 43 Ast.Call (id, Array.of_list (List.rev args)) 46 | [< >] -> Ast.Variable id 54 Ast.If (c, t, e) 76 Ast.For (id, start, end_, step, body) 95 Ast.Var (Array.of_list (List.rev var_names), body) 105 Ast.Unary (op, operand) 141 let lhs = Ast.Binary (c, lhs, rhs) in 186 Ast.Prototype (id, Array.of_list (List.rev args)) 202 Ast.Prototype (name, args) [all …]
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/ |
D | parser.ml | 21 | [< 'Token.Number n >] -> Ast.Number n 43 Ast.Call (id, Array.of_list (List.rev args)) 46 | [< >] -> Ast.Variable id 54 Ast.If (c, t, e) 76 Ast.For (id, start, end_, step, body) 95 Ast.Var (Array.of_list (List.rev var_names), body) 105 Ast.Unary (op, operand) 141 let lhs = Ast.Binary (c, lhs, rhs) in 186 Ast.Prototype (id, Array.of_list (List.rev args)) 202 Ast.Prototype (name, args) [all …]
|
D | codegen.ml | 22 | Ast.Number n -> const_float double_type n 23 | Ast.Variable name -> 29 | Ast.Unary (op, operand) -> 38 | Ast.Binary (op, lhs, rhs) -> 45 | Ast.Variable name -> name 82 | Ast.Call (callee, args) -> 96 | Ast.If (cond, then_, else_) -> 147 | Ast.For (var_name, start, end_, step, body) -> 241 | Ast.Var (var_names, body) -> 288 | Ast.Prototype (name, args) | Ast.BinOpPrototype (name, args, _) -> [all …]
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 116 let lhs = Ast.Binary (c, lhs, rhs) in 140 Ast.Prototype (id, Array.of_list (List.rev args)) 148 Ast.Function (p, e) 154 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 116 let lhs = Ast.Binary (c, lhs, rhs) in 140 Ast.Prototype (id, Array.of_list (List.rev args)) 148 Ast.Function (p, e) 154 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
D | parser.ml | 20 | [< 'Token.Number n >] -> Ast.Number n 42 Ast.Call (id, Array.of_list (List.rev args)) 45 | [< >] -> Ast.Variable id 53 Ast.If (c, t, e) 75 Ast.For (id, start, end_, step, body) 116 let lhs = Ast.Binary (c, lhs, rhs) in 140 Ast.Prototype (id, Array.of_list (List.rev args)) 148 Ast.Function (p, e) 154 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
D | parser.ml | 18 | [< 'Token.Number n >] -> Ast.Number n 40 Ast.Call (id, Array.of_list (List.rev args)) 43 | [< >] -> Ast.Variable id 80 let lhs = Ast.Binary (c, lhs, rhs) in 104 Ast.Prototype (id, Array.of_list (List.rev args)) 112 Ast.Function (p, e) 118 Ast.Function (Ast.Prototype ("", [||]), e)
|
D | codegen.ml | 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 20 | Ast.Binary (op, lhs, rhs) -> 34 | Ast.Call (callee, args) -> 50 | Ast.Prototype (name, args) -> 80 | Ast.Function (proto, body) ->
|