Home
last modified time | relevance | path

Searched refs:func_iter (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Deliminate_dead_functions_util.cpp23 Module::iterator* func_iter) { in EliminateFunction() argument
24 bool first_func = *func_iter == context->module()->begin(); in EliminateFunction()
26 (*func_iter) in EliminateFunction()
28 [context, first_func, func_iter, &seen_func_end](Instruction* inst) { in EliminateFunction()
42 auto prev_func_iter = *func_iter; in EliminateFunction()
53 return func_iter->Erase(); in EliminateFunction()
Deliminate_dead_functions_util.h30 Module::iterator* func_iter);
/external/deqp-deps/SPIRV-Tools/source/opt/
Deliminate_dead_functions_util.cpp23 Module::iterator* func_iter) { in EliminateFunction() argument
24 bool first_func = *func_iter == context->module()->begin(); in EliminateFunction()
26 (*func_iter) in EliminateFunction()
28 [context, first_func, func_iter, &seen_func_end](Instruction* inst) { in EliminateFunction()
42 auto prev_func_iter = *func_iter; in EliminateFunction()
53 return func_iter->Erase(); in EliminateFunction()
Deliminate_dead_functions_util.h30 Module::iterator* func_iter);
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Deliminate_dead_functions_util.cpp23 Module::iterator* func_iter) { in EliminateFunction() argument
24 bool first_func = *func_iter == context->module()->begin(); in EliminateFunction()
27 (*func_iter) in EliminateFunction()
29 [context, first_func, func_iter, &seen_func_end, in EliminateFunction()
45 auto prev_func_iter = *func_iter; in EliminateFunction()
61 return func_iter->Erase(); in EliminateFunction()
Deliminate_dead_functions_util.h30 Module::iterator* func_iter);
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow.cc58 bool FunctionHasBeenProcessed(FuncMapIter func_iter, const FuncMap* func_map) { in FunctionHasBeenProcessed() argument
59 return func_iter != func_map->end(); in FunctionHasBeenProcessed()
63 bool FunctionHasBeenModified(FuncMapIter func_iter) { in FunctionHasBeenModified() argument
64 return func_iter->second.has_value(); in FunctionHasBeenModified()
82 const string& GetMappedFunctionName(FuncMapIter func_iter) { in GetMappedFunctionName() argument
83 DCHECK(func_iter->second.has_value()); in GetMappedFunctionName()
84 return func_iter->second.value(); in GetMappedFunctionName()
171 auto func_iter = func_map->find(canonicalized_name); in FunctionalizeControlFlowForNodeAssociatedFunctions() local
173 if (FunctionHasBeenProcessed(func_iter, func_map)) { in FunctionalizeControlFlowForNodeAssociatedFunctions()
174 if (FunctionHasBeenModified(func_iter)) { in FunctionalizeControlFlowForNodeAssociatedFunctions()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/link/
Dlinker.cpp436 for (auto func_iter = linked_context.module()->cbegin(); in GetImportExportPairs() local
437 func_iter != linked_context.module()->cend(); ++func_iter) { in GetImportExportPairs()
438 if (func_iter->result_id() != id) continue; in GetImportExportPairs()
439 func_iter->ForEachParam([&symbol_info](const Instruction* inst) { in GetImportExportPairs()
539 for (auto func_iter = linked_context->module()->begin(); in RemoveLinkageSpecificInstructions() local
540 func_iter != linked_context->module()->end();) { in RemoveLinkageSpecificInstructions()
541 if (func_iter->result_id() == linking_entry.imported_symbol.id) in RemoveLinkageSpecificInstructions()
542 func_iter = func_iter.Erase(); in RemoveLinkageSpecificInstructions()
544 ++func_iter; in RemoveLinkageSpecificInstructions()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp436 for (auto func_iter = linked_context.module()->cbegin(); in GetImportExportPairs() local
437 func_iter != linked_context.module()->cend(); ++func_iter) { in GetImportExportPairs()
438 if (func_iter->result_id() != id) continue; in GetImportExportPairs()
439 func_iter->ForEachParam([&symbol_info](const Instruction* inst) { in GetImportExportPairs()
539 for (auto func_iter = linked_context->module()->begin(); in RemoveLinkageSpecificInstructions() local
540 func_iter != linked_context->module()->end();) { in RemoveLinkageSpecificInstructions()
541 if (func_iter->result_id() == linking_entry.imported_symbol.id) in RemoveLinkageSpecificInstructions()
542 func_iter = func_iter.Erase(); in RemoveLinkageSpecificInstructions()
544 ++func_iter; in RemoveLinkageSpecificInstructions()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp436 for (auto func_iter = linked_context.module()->cbegin(); in GetImportExportPairs() local
437 func_iter != linked_context.module()->cend(); ++func_iter) { in GetImportExportPairs()
438 if (func_iter->result_id() != id) continue; in GetImportExportPairs()
439 func_iter->ForEachParam([&symbol_info](const Instruction* inst) { in GetImportExportPairs()
539 for (auto func_iter = linked_context->module()->begin(); in RemoveLinkageSpecificInstructions() local
540 func_iter != linked_context->module()->end();) { in RemoveLinkageSpecificInstructions()
541 if (func_iter->result_id() == linking_entry.imported_symbol.id) in RemoveLinkageSpecificInstructions()
542 func_iter = func_iter.Erase(); in RemoveLinkageSpecificInstructions()
544 ++func_iter; in RemoveLinkageSpecificInstructions()