Home
last modified time | relevance | path

Searched refs:Codegen (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp88 virtual Value *Codegen() = 0;
96 Value *Codegen() override;
104 Value *Codegen() override;
114 Value *Codegen() override;
124 Value *Codegen() override;
137 Function *Codegen();
148 Function *Codegen();
356 Value *NumberExprAST::Codegen() { in Codegen() function in NumberExprAST
360 Value *VariableExprAST::Codegen() { in Codegen() function in VariableExprAST
366 Value *BinaryExprAST::Codegen() { in Codegen() function in BinaryExprAST
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp119 virtual Value *Codegen() = 0;
128 Value *Codegen() override;
137 Value *Codegen() override;
148 Value *Codegen() override;
159 Value *Codegen() override;
169 Value *Codegen() override;
181 Value *Codegen() override;
195 Function *Codegen();
206 Function *Codegen();
517 Value *NumberExprAST::Codegen() { in Codegen() function in NumberExprAST
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp127 virtual Value *Codegen() = 0;
136 Value *Codegen() override;
145 Value *Codegen() override;
156 Value *Codegen() override;
167 Value *Codegen() override;
178 Value *Codegen() override;
188 Value *Codegen() override;
200 Value *Codegen() override;
226 Function *Codegen();
237 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp130 virtual Value *Codegen() = 0;
138 virtual Value *Codegen();
147 virtual Value *Codegen();
157 virtual Value *Codegen();
167 virtual Value *Codegen();
177 virtual Value *Codegen();
186 virtual Value *Codegen();
197 virtual Value *Codegen();
209 virtual Value *Codegen();
234 Function *Codegen();
[all …]
Dtoy.cpp137 virtual Value *Codegen() = 0;
145 virtual Value *Codegen();
154 virtual Value *Codegen();
164 virtual Value *Codegen();
174 virtual Value *Codegen();
184 virtual Value *Codegen();
193 virtual Value *Codegen();
204 virtual Value *Codegen();
216 virtual Value *Codegen();
241 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp132 virtual Value *Codegen() = 0;
141 Value *Codegen() override;
151 Value *Codegen() override;
162 Value *Codegen() override;
173 Value *Codegen() override;
184 Value *Codegen() override;
194 Value *Codegen() override;
206 Value *Codegen() override;
219 Value *Codegen() override;
244 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp115 virtual Value *Codegen() = 0;
123 virtual Value *Codegen();
132 virtual Value *Codegen();
142 virtual Value *Codegen();
152 virtual Value *Codegen();
162 virtual Value *Codegen();
171 virtual Value *Codegen();
182 virtual Value *Codegen();
194 virtual Value *Codegen();
219 Function *Codegen();
[all …]
Dtoy.cpp116 virtual Value *Codegen() = 0;
124 virtual Value *Codegen();
133 virtual Value *Codegen();
143 virtual Value *Codegen();
153 virtual Value *Codegen();
163 virtual Value *Codegen();
172 virtual Value *Codegen();
183 virtual Value *Codegen();
195 virtual Value *Codegen();
220 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp114 virtual Value *Codegen() = 0;
122 virtual Value *Codegen();
131 virtual Value *Codegen();
141 virtual Value *Codegen();
151 virtual Value *Codegen();
161 virtual Value *Codegen();
170 virtual Value *Codegen();
181 virtual Value *Codegen();
193 virtual Value *Codegen();
218 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp215 virtual Value *Codegen() = 0;
227 Value *Codegen() override;
241 Value *Codegen() override;
257 Value *Codegen() override;
274 Value *Codegen() override;
292 Value *Codegen() override;
309 Value *Codegen() override;
329 Value *Codegen() override;
349 Value *Codegen() override;
378 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp156 virtual Value *Codegen() = 0;
164 virtual Value *Codegen();
173 virtual Value *Codegen();
183 virtual Value *Codegen();
193 virtual Value *Codegen();
203 virtual Value *Codegen();
212 virtual Value *Codegen();
223 virtual Value *Codegen();
235 virtual Value *Codegen();
260 Function *Codegen();
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp101 virtual Value *Codegen() = 0;
110 Value *Codegen() override;
119 Value *Codegen() override;
130 Value *Codegen() override;
141 Value *Codegen() override;
155 Function *Codegen();
166 Function *Codegen();
631 Value *NumberExprAST::Codegen() { in Codegen() function in NumberExprAST
635 Value *VariableExprAST::Codegen() { in Codegen() function in VariableExprAST
641 Value *BinaryExprAST::Codegen() { in Codegen() function in BinaryExprAST
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dtoplevel.ml24 dump_value (Codegen.codegen_func the_fpm e);
28 dump_value (Codegen.codegen_proto e);
33 let the_function = Codegen.codegen_func the_fpm e in
41 print_float (GenericValue.as_float Codegen.double_type result);
43 with Stream.Error s | Codegen.Error s ->
Dtoy.ml26 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
27 let the_fpm = PassManager.create_function Codegen.the_module in
54 dump_module Codegen.the_module
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dtoplevel.ml24 dump_value (Codegen.codegen_func the_fpm e);
28 dump_value (Codegen.codegen_proto e);
33 let the_function = Codegen.codegen_func the_fpm e in
41 print_float (GenericValue.as_float Codegen.double_type result);
43 with Stream.Error s | Codegen.Error s ->
Dtoy.ml25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
26 let the_fpm = PassManager.create_function Codegen.the_module in
50 dump_module Codegen.the_module
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dtoplevel.ml24 dump_value (Codegen.codegen_func the_fpm e);
28 dump_value (Codegen.codegen_proto e);
33 let the_function = Codegen.codegen_func the_fpm e in
41 print_float (GenericValue.as_float Codegen.double_type result);
43 with Stream.Error s | Codegen.Error s ->
Dtoy.ml25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
26 let the_fpm = PassManager.create_function Codegen.the_module in
50 dump_module Codegen.the_module
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dtoplevel.ml24 dump_value (Codegen.codegen_func the_fpm e);
28 dump_value (Codegen.codegen_proto e);
33 let the_function = Codegen.codegen_func the_fpm e in
41 print_float (GenericValue.as_float Codegen.double_type result);
43 with Stream.Error s | Codegen.Error s ->
Dtoy.ml25 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
26 let the_fpm = PassManager.create_function Codegen.the_module in
50 dump_module Codegen.the_module
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dtoplevel.ml23 dump_value (Codegen.codegen_func e);
27 dump_value (Codegen.codegen_proto e);
32 dump_value (Codegen.codegen_func e);
33 with Stream.Error s | Codegen.Error s ->
/external/llvm/docs/tutorial/
DLangImpl3.rst38 virtual Value *Codegen() = 0;
46 virtual Value *Codegen();
50 The Codegen() method says to emit IR for that AST node along with all
113 Value *NumberExprAST::Codegen() {
127 Value *VariableExprAST::Codegen() {
145 Value *BinaryExprAST::Codegen() {
146 Value *L = LHS->Codegen();
147 Value *R = RHS->Codegen();
201 Value *CallExprAST::Codegen() {
213 ArgsV.push_back(Args[i]->Codegen());
[all …]
DLangImpl5.rst97 virtual Value *Codegen();
265 In order to generate code for this, we implement the ``Codegen`` method
270 Value *IfExprAST::Codegen() {
271 Value *CondV = Cond->Codegen();
321 Value *ThenV = Then->Codegen();
325 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
352 expression. Because calling Codegen recursively could arbitrarily change
362 Value *ElseV = Else->Codegen();
366 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
472 virtual Value *Codegen();
[all …]
DOCamlLangImpl3.rst34 The ``Codegen.codegen_expr`` function says to emit IR for that AST node
66 The ``Codegen.builder`` object is a helper object that makes it easy to
72 The ``Codegen.named_values`` map keeps track of which values are defined
113 values that can be in the ``Codegen.named_values`` map are function
247 ``Codegen.the_module``. If not, we will create it.
259 specified: this name is registered in "``Codegen.the_module``"s symbol
306 and registering the arguments in the ``Codegen.named_values`` map for
322 clear out the ``Codegen.named_values`` map to make sure that there isn't
336 Now we get to the point where the ``Codegen.builder`` is set up. The
359 Once the insertion point is set up, we call the ``Codegen.codegen_func``
[all …]
/external/llvm/test/CodeGen/X86/
Dlarge-gep-scale.ll4 ; After scaling, this type doesn't fit in memory. Codegen should generate

123