SPIRV-Tools/source/val
Lei Zhang 80c94a4fa8 Change the interfaces of in-memory representation to use pointers.
Previously we use vectors of objects and move semantics to handle
ownership. That approach has the flaw that inserting an object into
the middle of a vector, which may trigger a vector reallocation,
can invalidate some addresses taken from instructions.

Now the in-memory representation internally uses vector of unique
pointers to handle ownership. Since objects are explicitly heap-
allocated now, pointers to them won't be invalidated by vector
resizing anymore.
2016-08-10 12:11:33 -04:00
..
BasicBlock.cpp Hide implementations of BasicBlock::dominates,postdominates 2016-08-05 16:55:21 -04:00
BasicBlock.h Change the interfaces of in-memory representation to use pointers. 2016-08-10 12:11:33 -04:00
Construct.cpp Fix several violations of the style guide 2016-06-27 10:45:46 -04:00
Construct.h Fix several violations of the style guide 2016-06-27 10:45:46 -04:00
Function.cpp Track a construct by its entry block. 2016-08-05 16:05:44 -04:00
Function.h Track a construct by its entry block. 2016-08-05 16:05:44 -04:00
Instruction.cpp Refactor Id -> Instruction 2016-08-09 15:50:03 -04:00
Instruction.h Removed dead code/const_casts/lists 2016-08-09 18:09:38 -04:00
ValidationState.cpp Removed dead code/const_casts/lists 2016-08-09 18:09:38 -04:00
ValidationState.h Removed dead code/const_casts/lists 2016-08-09 18:09:38 -04:00