Lines Matching refs:spvtools
47 Disassembler(const spvtools::AssemblyGrammar& grammar, uint32_t options, in Disassembler()
48 spvtools::NameMapper name_mapper) in Disassembler()
80 using out_stream = spvtools::out_stream;
92 if (color_) out_.get() << spvtools::clr::reset{print_}; in ResetColor()
96 if (color_) out_.get() << spvtools::clr::grey{print_}; in SetGrey()
100 if (color_) out_.get() << spvtools::clr::blue{print_}; in SetBlue()
104 if (color_) out_.get() << spvtools::clr::yellow{print_}; in SetYellow()
108 if (color_) out_.get() << spvtools::clr::red{print_}; in SetRed()
112 if (color_) out_.get() << spvtools::clr::green{print_}; in SetGreen()
115 const spvtools::AssemblyGrammar& grammar_;
126 spvtools::NameMapper name_mapper_;
235 spvtools::EmitNumericLiteral(&stream_, inst, operand); in EmitOperand()
413 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvBinaryToText()
416 const spvtools::AssemblyGrammar grammar(&hijack_context); in spvBinaryToText()
420 std::unique_ptr<spvtools::FriendlyNameMapper> friendly_mapper; in spvBinaryToText()
421 spvtools::NameMapper name_mapper = spvtools::GetTrivialNameMapper(); in spvBinaryToText()
423 friendly_mapper = spvtools::MakeUnique<spvtools::FriendlyNameMapper>( in spvBinaryToText()
439 std::string spvtools::spvInstructionBinaryToText(const spv_target_env env, in spvInstructionBinaryToText()
446 const spvtools::AssemblyGrammar grammar(context); in spvInstructionBinaryToText()
453 std::unique_ptr<spvtools::FriendlyNameMapper> friendly_mapper; in spvInstructionBinaryToText()
454 spvtools::NameMapper name_mapper = spvtools::GetTrivialNameMapper(); in spvInstructionBinaryToText()
456 friendly_mapper = spvtools::MakeUnique<spvtools::FriendlyNameMapper>( in spvInstructionBinaryToText()