MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / GetListOfPassesAsString

Function GetListOfPassesAsString

tools/opt/opt.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) {
55 std::stringstream ss;
56 for (const auto& name : optimizer.GetPassNames()) {
57 ss << "\n\t\t" << name;
58 }
59 return ss.str();
60}
61
62const auto kDefaultEnvironment = SPV_ENV_UNIVERSAL_1_6;
63

Callers 3

GetLegalizationPassesFunction · 0.85
GetOptimizationPassesFunction · 0.85
GetSizePassesFunction · 0.85

Calls 2

GetPassNamesMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected