comparison src/Makefile.am @ 15016:005cb78e1dd1

Split pt-jit into multiple files. * src/Makefile: Add jit-util.h, jit-typeinfo.h, jit-ir.h, jit-util.cc, jit-typeinfo.cc, and jit-ir.cc. * src/jit-ir.cc: New file. * src/jit-ir.h: New file. * src/jit-typeinfo.cc: New file. * src/jit-typeinfo.h: New file. * src/jit-util.h: New file. * src/jit-util.cc: New file. * src/pt-jit.cc: (jit_fail_exception): Move to jit-ir.h. (fail): Removed function. (jit_print, jit_use, jit_value, jit_instruction, jit_block, jit_phi_incomming, jit_phi, jit_terminator, jit_call): Moved to jit-ir.cc. (octave_jit_print_any, octave_jit_print_double, octave_jit_binary_any_any, octave_jit_compute_nelem, octave_jit_release_any, octave_jit_release_matrix, octave_jit_grab_any, octave_jit_grab_matrix, octave_jit_cast_any_matrix, octave_jit_cast_matrix_any, octave_jit_cast_scalar_any, octave_jit_cast_any_scalar, octave_jit_cast_complex_any, octave_jit_cast_any_complex, octave_jit_gripe_nan_to_logical_conversion, octave_jit_ginvalid_index, octave_jit_gindex_range, octave_jit_paren_subsasgn_impl, octave_jit_paren_subsasgn_matrix_range, octave_jit_complex_div, octave_jit_pow_scalar_scalar, octave_jit_pow_complex_complex, octave_jit_pow_scalar_scalar, octave_jit_pow_complex_scalar, octave_jit_pow_scalar_scalar, octave_jit_pow_scalar_complex, octave_jit_pow_scalar_scalar, octave_jit_print_matrix, octave_jit_call, jit_type, jit_function, jit_operation, jit_typeinfo): Moved to jit-typeinfo.cc * src/pt-jit.h (jit_print, jit_use, jit_value, jit_instruction, jit_block, jit_phi_incomming, jit_phi, jit_terminator, jit_call): Moved to jit-ir.h. (jit_internal_list, jit_internal_node, jit_range, jit_array): Moved to jit-util.h. (jit_type, jit_function, jit_operation, jit_typeinfo): Moved to jit-typeinfo.h
author Max Brister <max@2bass.com>
date Wed, 25 Jul 2012 21:12:47 -0500
parents 0b0569667939
children a820a990968e e753177cde93
comparison
equal deleted inserted replaced
15015:fee211d42c5c 15016:005cb78e1dd1
218 pt-except.h \ 218 pt-except.h \
219 pt-exp.h \ 219 pt-exp.h \
220 pt-fcn-handle.h \ 220 pt-fcn-handle.h \
221 pt-id.h \ 221 pt-id.h \
222 pt-idx.h \ 222 pt-idx.h \
223 pt-jit.h \
224 pt-jump.h \ 223 pt-jump.h \
225 pt-loop.h \ 224 pt-loop.h \
226 pt-mat.h \ 225 pt-mat.h \
227 pt-misc.h \ 226 pt-misc.h \
228 pt-pr-code.h \ 227 pt-pr-code.h \
229 pt-select.h \ 228 pt-select.h \
230 pt-stmt.h \ 229 pt-stmt.h \
231 pt-unop.h \ 230 pt-unop.h \
232 pt-walk.h \ 231 pt-walk.h \
233 pt.h 232 pt.h
233
234 JIT_INCLUDES = \
235 jit-util.h \
236 jit-typeinfo.h \
237 jit-ir.h \
238 pt-jit.h
234 239
235 octinclude_HEADERS = \ 240 octinclude_HEADERS = \
236 Cell.h \ 241 Cell.h \
237 builtins.h \ 242 builtins.h \
238 c-file-ptr-stream.h \ 243 c-file-ptr-stream.h \
308 xnorm.h \ 313 xnorm.h \
309 xpow.h \ 314 xpow.h \
310 zfstream.h \ 315 zfstream.h \
311 $(OV_INCLUDES) \ 316 $(OV_INCLUDES) \
312 $(OV_SPARSE_INCLUDES) \ 317 $(OV_SPARSE_INCLUDES) \
313 $(PT_INCLUDES) 318 $(PT_INCLUDES) \
319 $(JIT_INCLUDES)
314 320
315 nodist_octinclude_HEADERS = \ 321 nodist_octinclude_HEADERS = \
316 defaults.h \ 322 defaults.h \
317 graphics.h \ 323 graphics.h \
318 oct-conf.h \ 324 oct-conf.h \
391 pt-except.cc \ 397 pt-except.cc \
392 pt-exp.cc \ 398 pt-exp.cc \
393 pt-fcn-handle.cc \ 399 pt-fcn-handle.cc \
394 pt-id.cc \ 400 pt-id.cc \
395 pt-idx.cc \ 401 pt-idx.cc \
396 pt-jit.cc \
397 pt-jump.cc \ 402 pt-jump.cc \
398 pt-loop.cc \ 403 pt-loop.cc \
399 pt-mat.cc \ 404 pt-mat.cc \
400 pt-misc.cc \ 405 pt-misc.cc \
401 pt-pr-code.cc \ 406 pt-pr-code.cc \
402 pt-select.cc \ 407 pt-select.cc \
403 pt-stmt.cc \ 408 pt-stmt.cc \
404 pt-unop.cc \ 409 pt-unop.cc \
405 pt.cc 410 pt.cc
411
412 JIT_SRC = \
413 jit-util.cc \
414 jit-typeinfo.cc \
415 jit-ir.cc \
416 pt-jit.cc
406 417
407 DIST_SRC = \ 418 DIST_SRC = \
408 Cell.cc \ 419 Cell.cc \
409 bitfcns.cc \ 420 bitfcns.cc \
410 c-file-ptr-stream.cc \ 421 c-file-ptr-stream.cc \
474 xgl2ps.c \ 485 xgl2ps.c \
475 xnorm.cc \ 486 xnorm.cc \
476 xpow.cc \ 487 xpow.cc \
477 zfstream.cc \ 488 zfstream.cc \
478 $(OV_SRC) \ 489 $(OV_SRC) \
479 $(PT_SRC) 490 $(PT_SRC) \
491 $(JIT_SRC)
480 492
481 include DLD-FUNCTIONS/module.mk 493 include DLD-FUNCTIONS/module.mk
482 494
483 $(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh $(srcdir)/DLD-FUNCTIONS/config-module.awk $(srcdir)/DLD-FUNCTIONS/module-files 495 $(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh $(srcdir)/DLD-FUNCTIONS/config-module.awk $(srcdir)/DLD-FUNCTIONS/module-files
484 $(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir) 496 $(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir)