Blender Git Loki

Blender Git "strand_nodes" branch commits.

Page: 9 / 37

June 10, 2016, 09:07 (GMT)
Disabled compiling and eval of broken BVM functions, to simplify debugging until they can be reimplemented.
June 9, 2016, 14:11 (GMT)
Use persistent pass managers for optimization, rather than creating them every time.
June 9, 2016, 13:44 (GMT)
Set a target triple and data layout for modules.

According to the site below, this is necessary for proper optimization.

http://llvm.org/docs/Frontend/PerformanceTips.html
June 9, 2016, 10:29 (GMT)
Generalized code generation for nodes to support more complex control flow in the future.

The basic idea is that a node represents a function F, without assuming anything about
how the input expressions are evaluated:

F = F()

In most common case this function can be decomposed and defined in terms of concrete values,
which are given by the input expressions:

F = F'(G1(), G2(), ...), where Gn are the respective inputs of the node

This is a first *very* naive implementation. It would rely heavily on common-subexpression-
elimination (CSE) to avoid generating the same code paths over and over again. There should
probably be some initial optimization on the BVM node level instead of relying just on LLVM passes.

The purpose of this generalization is to allow more complicated control flow inside node functions.
Nodes would then also be able to take additional variable arguments (e.g. an index), which can
be modified before being used as internal arguments for input expressions.
June 8, 2016, 07:41 (GMT)
Merge branch 'master' into object_nodes
June 8, 2016, 07:14 (GMT)
Basic Gabor noise implementation for BLI_noise and blenvm.

This is just the very basic version of the sparse convolution noise
with a Gabor kernel. It does not yet have derivatives or anisotropic
filtering. The only frequency spectrum implemented atm is isotropic
band-limited noise.
June 3, 2016, 08:24 (GMT)
Removed cmake macro entry for deleted bf_blenvm_llvm_modules.
June 2, 2016, 15:30 (GMT)
Support for image sampling in the LLVM backend.

This reintroduces the "globals" concept for mapping ID datablocks with
a consistent permanent identifier key.
June 2, 2016, 12:58 (GMT)
Fix invalid function signature when passing derivatives for types that don't support them.
June 1, 2016, 14:36 (GMT)
Unify code generation through the llvm API.

Also standard functions for copying and zeroing values are now
implemented per type rather than relying on a simple load/store.
This will become more important with larger aggregate types such as matrix44.
May 31, 2016, 08:33 (GMT)
Removed the unused "simple" (without derivatives) compiler implementation.

As long as the compiler class is WIP the two implementations go out of sync too
easily. Better to make a copy of the dual version and then reduce it when the
compiler class is reasonably stable.
May 31, 2016, 08:09 (GMT)
Removed the WITH_IRMODULES option, used previously for loading IR code from text files.

This approach suffers from difficulty of generating machine-independent IR code
and is better generated using the C++ API directly. The llc tool can be used to suggest
implementations with C++ API usage, see for example
http://fdiv.net/2012/11/16/llvm-generates-code-that-generates-code
May 30, 2016, 14:36 (GMT)
Merge branch 'master' into object_nodes
May 29, 2016, 11:34 (GMT)
Generate names for formal function parameters to make LLVM output more readable.

Note that these names are not identifiers and don't have to be unique, their only
purpose is to aid in understanding the generated LLVM code.
May 29, 2016, 09:29 (GMT)
Replace function signature for dual values with a flattened sequence of basic types.

This avoids the allocation of aggregate struct space for duals and allows better
optimizations.
May 28, 2016, 09:29 (GMT)
Move the node-output-to-value map into compiler subclasses.

This is in preparation for specializing the value types of compiler implementations,
so that we can replace dual struct types with independent llvm values.
May 28, 2016, 06:22 (GMT)
Rename NodeValue to NodeConstant, to make it more consistent with LLVM naming.
May 27, 2016, 15:20 (GMT)
Cleanup: use argument pointers for aggregate base types.
May 27, 2016, 14:01 (GMT)
Merge branch 'master' into object_nodes
May 27, 2016, 10:26 (GMT)
Derivatives for all the basic math node functions.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021