Blender Git Loki
Git Commits -> Revision ff3c066
June 18, 2016, 10:41 (GMT) |
Refactor of the node graph compiler class, to have a backend-agnostic base. The main compiler class is now itself independent of LLVM and can be used for future backends. The implementation of specific behavior (values, statements, etc.) happens through a CodeGenerator implementation. This also uses aggregation rather than inheritance on the compiler class part (which is not a virtual class itself). |
Commit Details:
Full Hash: ff3c066324b6848bd2be9c364e017ff98fae8e62
Parent Commit: e197ce6
Lines Changed: +1450, -1202
5 Added Paths:
/source/blender/blenvm/compile/compiler.cc (+247, -0) (View)
/source/blender/blenvm/compile/compiler.h (+113, -0) (View)
/source/blender/blenvm/llvm/llvm_codegen.cc (+839, -0) (View)
/source/blender/blenvm/llvm/llvm_codegen.h (+123, -0) (View)
/source/blender/blenvm/util/util_array.h (+105, -0) (View)
/source/blender/blenvm/compile/compiler.h (+113, -0) (View)
/source/blender/blenvm/llvm/llvm_codegen.cc (+839, -0) (View)
/source/blender/blenvm/llvm/llvm_codegen.h (+123, -0) (View)
/source/blender/blenvm/util/util_array.h (+105, -0) (View)
3 Deleted Paths:
/source/blender/blenvm/llvm/llvm_compiler.cc (+0, -464)
/source/blender/blenvm/llvm/llvm_compiler.h (+0, -194)
/source/blender/blenvm/llvm/llvm_compiler_dual.cc (+0, -528)
/source/blender/blenvm/llvm/llvm_compiler.h (+0, -194)
/source/blender/blenvm/llvm/llvm_compiler_dual.cc (+0, -528)
7 Modified Paths:
/build_files/cmake/macros.cmake (+1, -1) (Diff)
/source/blender/blenvm/CMakeLists.txt (+2, -3) (Diff)
/source/blender/blenvm/compile/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+11, -7) (Diff)
/source/blender/blenvm/llvm/CMakeLists.txt (+2, -3) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+3, -0) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+2, -2) (Diff)
/source/blender/blenvm/CMakeLists.txt (+2, -3) (Diff)
/source/blender/blenvm/compile/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+11, -7) (Diff)
/source/blender/blenvm/llvm/CMakeLists.txt (+2, -3) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+3, -0) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+2, -2) (Diff)