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

Method GetPassNames

source/opt/optimizer.cpp:926–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

924}
925
926std::vector<const char*> Optimizer::GetPassNames() const {
927 std::vector<const char*> v;
928 for (uint32_t i = 0; i < impl_->pass_manager.NumPasses(); i++) {
929 v.push_back(impl_->pass_manager.GetPass(i)->name());
930 }
931 return v;
932}
933
934Optimizer::PassToken CreateCFGCleanupPass() {
935 return MakeUnique<Optimizer::PassToken::Impl>(

Callers 1

GetListOfPassesAsStringFunction · 0.80

Calls 4

NumPassesMethod · 0.80
GetPassMethod · 0.80
push_backMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected