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()
134 void write(std::vector<SpvWord>& spv, const std::string& outFile, int verbosity) in write() argument
149 for (auto it = spv.cbegin(); it != spv.cend(); ++it) { in write()
194 std::vector<SpvWord> spv; in execute() local
195 read(spv, filename, verbosity); in execute()
196 spv::spirvbin_t(verbosity).remap(spv, whiteListStrings, opts); in execute()
198 write(spv, outfile, verbosity); in execute()
216 options = spv::spirvbin_t::NONE; in parseCmdLine()
268 options = options | spv::spirvbin_t::DO_EVERYTHING; in parseCmdLine()
271 options = options | spv::spirvbin_t::STRIP; in parseCmdLine()
275 options = options | spv::spirvbin_t::STRIP; in parseCmdLine()
286 options = (options | spv::spirvbin_t::DCE_ALL); in parseCmdLine()
289 options = (options | spv::spirvbin_t::DCE_ALL); in parseCmdLine()
292 options = (options | spv::spirvbin_t::DCE_FUNCS); in parseCmdLine()
295 options = (options | spv::spirvbin_t::DCE_TYPES); in parseCmdLine()
305 options = (options | spv::spirvbin_t::MAP_ALL); in parseCmdLine()
308 options = (options | spv::spirvbin_t::MAP_ALL); in parseCmdLine()
311 options = (options | spv::spirvbin_t::MAP_TYPES); in parseCmdLine()
314 options = (options | spv::spirvbin_t::MAP_NAMES); in parseCmdLine()
317 options = (options | spv::spirvbin_t::MAP_FUNCS); in parseCmdLine()
326 options = (options | spv::spirvbin_t::OPT_ALL); in parseCmdLine()
329 options = (options | spv::spirvbin_t::OPT_ALL); in parseCmdLine()
332 options = (options | spv::spirvbin_t::OPT_LOADSTORE); in parseCmdLine()
357 spv::spirvbin_t::registerErrorHandler(errHandler); in main()
360 spv::spirvbin_t::registerLogHandler(logHandler); in main()