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

Method ForEachParam

source/opt/function.cpp:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void Function::ForEachParam(const std::function<void(Instruction*)>& f,
179 bool run_on_debug_line_insts) {
180 for (auto& param : params_)
181 static_cast<Instruction*>(param.get())
182 ->ForEachInst(f, run_on_debug_line_insts);
183}
184
185void Function::ForEachParam(const std::function<void(const Instruction*)>& f,
186 bool run_on_debug_line_insts) const {

Callers 15

GetImportExportPairsFunction · 0.80
MatchFunctionParamIdsMethod · 0.80
MapParamsMethod · 0.80
PropagateConstantsMethod · 0.80
IsApplicableMethod · 0.80
AvailableInstructionsMethod · 0.80
GetRegionInputIdsMethod · 0.80

Calls 2

getMethod · 0.80
ForEachInstMethod · 0.45