diff options
author | Lei Zhang <antiagainst@google.com> | 2016-09-12 14:11:46 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2016-09-20 16:52:05 -0400 |
commit | f18e1f293b7cf8f24a42587b48f35bc49912a5dd (patch) | |
tree | a62347cf0e7b4e4e6d6cf7a94dbde158555a37ec /source/opt/eliminate_dead_constant_pass.h | |
parent | 1bc0b275dd74f509259555e99f4e54f235532a8a (diff) | |
download | SPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.tar.gz SPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.tar.bz2 SPIRV-Tools-f18e1f293b7cf8f24a42587b48f35bc49912a5dd.zip |
Add a C++ interface to the optimization functionalities.
Diffstat (limited to 'source/opt/eliminate_dead_constant_pass.h')
-rw-r--r-- | source/opt/eliminate_dead_constant_pass.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/opt/eliminate_dead_constant_pass.h b/source/opt/eliminate_dead_constant_pass.h index 6e9a2784..6107cadf 100644 --- a/source/opt/eliminate_dead_constant_pass.h +++ b/source/opt/eliminate_dead_constant_pass.h @@ -21,11 +21,7 @@ namespace spvtools { namespace opt { -// The optimization pass to remove dead constants, including front-end -// contants: defined by OpConstant, OpConstantComposite, OpConstantTrue and -// OpConstantFalse; and spec constants: defined by OpSpecConstant, -// OpSpecConstantComposite, OpSpecConstantTrue, OpSpecConstantFalse and -// OpSpecConstantOp. +// See optimizer.hpp for documentation. class EliminateDeadConstantPass : public Pass { public: const char* name() const override { return "eliminate-dead-const"; } |