aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_flow.h
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: add lp_build_alloca_undefNicolai Hähnle2016-08-171-0/+5
| | | | | Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* gallium/auxilary: more __cplusplus exportsTim Rowley2016-03-021-0/+7
| | | | | | | | swr driver which is written in C++ needs access to some more gallium utility functions than are currently exposed. Reviewed-by: Roland Scheidegger <[email protected]> Acked-by: Jose Fonseca <[email protected]>
* gallivm: llvm c-style for loops, allows us to create loops with conditions ↵James Benton2012-05-021-0/+27
| | | | on entry, rather than condition check on loop
* gallivm/llvmpipe: squash merge of the llvm-context branchBrian Paul2010-11-301-22/+19
| | | | | | | | | | | | | | This branch defines a gallivm_state structure which contains the LLVMBuilderRef, LLVMContextRef, etc. All data structures built with this object can be periodically freed during a "garbage collection" operation. The gallivm_state object has to be passed to most of the builder functions where LLVMBuilderRef used to be used. Conflicts: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c src/gallium/drivers/llvmpipe/lp_state_setup.c
* gallivm: Use variables instead of Phis in loops.José Fonseca2010-10-101-1/+2
| | | | With this commit all explicit Phi emission is now gone.
* gallivm: Cleanup the rest of the flow module.José Fonseca2010-10-091-12/+16
|
* gallivm: Simplify if/then/else implementation.José Fonseca2010-10-091-2/+8
| | | | No need for for a flow stack anymore.
* gallivm: Remove support for Phi generation.José Fonseca2010-10-091-10/+0
| | | | Simply rely on mem2reg pass. It's easier and more reliable.
* gallivm: Don't generate Phis for execution mask.José Fonseca2010-10-091-1/+4
|
* llvmpipe: try to be sensible about whether to branch after mask updatesKeith Whitwell2010-10-091-0/+3
| | | | | Don't branch more than once in quick succession. Don't branch at the end of the shader.
* gallivm: Ensure all allocas are in the first block.José Fonseca2010-04-271-0/+10
| | | | Refactor the code to make this easier.
* draw llvm: fix loop iteration and vertex header offsetsZack Rusin2010-04-061-0/+7
| | | | | | the loop was doing a NE comparison which we could have skipped if the prim was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion to aos.
* gallivm/llvmpipe: rename os_llvm.h to lp_bld.hBrian Paul2010-03-151-1/+1
| | | | | | | The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory.
* gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.hBrian Paul2010-03-111-1/+1
|
* gallivm: implement loopsZack Rusin2010-03-101-1/+3
|
* llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-081-0/+151
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.