Lines Matching refs:spv
78 void read(std::vector<SpvWord>& spv, const std::string& inFilename, int verbosity) in read() argument
85 spv.clear(); in read()
93 spv.reserve(size_t(fp.tellg()) / sizeof(SpvWord)); in read()
101 spv.push_back(inWord); in read()
108 void write(std::vector<SpvWord>& spv, const std::string& outFile, int verbosity) in write() argument
123 for (auto it = spv.cbegin(); it != spv.cend(); ++it) { in write()
163 std::vector<SpvWord> spv; in execute() local
164 read(spv, filename, verbosity); in execute()
165 spv::spirvbin_t(verbosity).remap(spv, opts); in execute()
169 write(spv, outfile, verbosity); in execute()
186 options = spv::spirvbin_t::NONE; in parseCmdLine()
238 options = options | spv::spirvbin_t::DO_EVERYTHING; in parseCmdLine()
241 options = options | spv::spirvbin_t::STRIP; in parseCmdLine()
245 options = options | spv::spirvbin_t::STRIP; in parseCmdLine()
253 options = (options | spv::spirvbin_t::DCE_ALL); in parseCmdLine()
256 options = (options | spv::spirvbin_t::DCE_ALL); in parseCmdLine()
259 options = (options | spv::spirvbin_t::DCE_FUNCS); in parseCmdLine()
262 options = (options | spv::spirvbin_t::DCE_TYPES); in parseCmdLine()
272 options = (options | spv::spirvbin_t::MAP_ALL); in parseCmdLine()
275 options = (options | spv::spirvbin_t::MAP_ALL); in parseCmdLine()
278 options = (options | spv::spirvbin_t::MAP_TYPES); in parseCmdLine()
281 options = (options | spv::spirvbin_t::MAP_NAMES); in parseCmdLine()
284 options = (options | spv::spirvbin_t::MAP_FUNCS); in parseCmdLine()
293 options = (options | spv::spirvbin_t::OPT_ALL); in parseCmdLine()
296 options = (options | spv::spirvbin_t::OPT_ALL); in parseCmdLine()
299 options = (options | spv::spirvbin_t::OPT_LOADSTORE); in parseCmdLine()
323 spv::spirvbin_t::registerErrorHandler(errHandler); in main()
326 spv::spirvbin_t::registerLogHandler(logHandler); in main()