Home
last modified time | relevance | path

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

12

/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/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/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/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/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
Dcodegen.ml49 (* Codegen the rhs. *)
114 (* Codegen of 'then' can change the current block, update then_bb for the
124 (* Codegen of 'else' can change the current block, update else_bb for the
276 (* Codegen the body, now that all vars are in scope. *)
/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/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/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 ->
Dtoy.ml23 dump_module Codegen.the_module
/external/llvm/docs/tutorial/
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 …]
DOCamlLangImpl4.rst140 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
141 let the_fpm = PassManager.create_function Codegen.the_module in
179 (in ``Codegen.codegen_func``), but before it is returned to the client:
255 let the_execution_engine = ExecutionEngine.create Codegen.the_module in
277 let the_function = Codegen.codegen_func the_fpm e in
285 print_float (GenericValue.as_float Codegen.double_type result);
819 dump_value (Codegen.codegen_func the_fpm e);
823 dump_value (Codegen.codegen_proto e);
828 let the_function = Codegen.codegen_func the_fpm e in
836 print_float (GenericValue.as_float Codegen.double_type result);
[all …]
DOCamlLangImpl5.rst245 In order to generate code for this, we implement the ``Codegen`` method
291 (* Codegen of 'then' can change the current block, update then_bb for the
312 expression. Because calling Codegen recursively could arbitrarily change
323 (* Codegen of 'else' can change the current block, update else_bb for the
532 The first part of Codegen is very simple: we just output the start
683 ``Codegen.codegen_expr``.
1078 (* Codegen of 'then' can change the current block, update then_bb for the
1088 (* Codegen of 'else' can change the current block, update else_bb for the
1265 dump_value (Codegen.codegen_func the_fpm e);
1269 dump_value (Codegen.codegen_proto e);
[all …]
/external/llvm/test/CodeGen/X86/
Dlarge-gep-scale.ll4 ; After scaling, this type doesn't fit in memory. Codegen should generate
Dtest-shrink-bug.ll3 ; Codegen shouldn't reduce the comparison down to testb $-1, %al
Dshl-anyext.ll3 ; Codegen should be able to use a 32-bit shift instead of a 64-bit shift.
/external/llvm/test/CodeGen/ARM/
Dload_i1_select.ll6 ; Codegen should only compare one bit of the loaded value.
/external/llvm/test/CodeGen/PowerPC/
Dmem-rr-addr-mode.ll4 ; Codegen lvx (R+16) as t = li 16, lvx t,R

12