• Home
  • Raw
  • Download

Lines Matching refs:interface_var

155     CheckExtraArraynessConflictBetweenEntries(Instruction* interface_var,  in CheckExtraArraynessConflictBetweenEntries()  argument
158 return !ReportErrorIfHasNoExtraArraynessForOtherEntry(interface_var); in CheckExtraArraynessConflictBetweenEntries()
160 return !ReportErrorIfHasExtraArraynessForOtherEntry(interface_var); in CheckExtraArraynessConflictBetweenEntries()
191 Instruction* interface_var = context()->get_def_use_mgr()->GetDef( in CollectInterfaceVariables() local
193 assert(interface_var->opcode() == SpvOpVariable); in CollectInterfaceVariables()
195 SpvStorageClass storage_class = GetStorageClass(interface_var); in CollectInterfaceVariables()
201 interface_vars.push_back(interface_var); in CollectInterfaceVariables()
243 Instruction* interface_var, Instruction* interface_var_type, in ReplaceInterfaceVariableWithScalars() argument
247 GetStorageClass(interface_var), in ReplaceInterfaceVariableWithScalars()
252 KillLocationAndComponentDecorations(interface_var->result_id()); in ReplaceInterfaceVariableWithScalars()
254 if (!ReplaceInterfaceVarWith(interface_var, extra_array_length, in ReplaceInterfaceVariableWithScalars()
259 context()->KillInst(interface_var); in ReplaceInterfaceVariableWithScalars()
264 Instruction* interface_var, uint32_t extra_array_length, in ReplaceInterfaceVarWith() argument
268 interface_var, [&users](Instruction* user) { users.push_back(user); }); in ReplaceInterfaceVarWith()
280 interface_var, users, scalar_interface_vars, in ReplaceInterfaceVarWith()
290 interface_var, users, scalar_interface_vars, in ReplaceInterfaceVarWith()
322 Instruction* interface_var, in ReplaceComponentsOfInterfaceVarWith() argument
333 interface_var, interface_var_user, in ReplaceComponentsOfInterfaceVarWith()
343 interface_var, interface_var_users, scalar_interface_vars.GetComponents(), in ReplaceComponentsOfInterfaceVarWith()
350 Instruction* interface_var, in ReplaceMultipleComponentsOfInterfaceVarWith() argument
364 interface_var, interface_var_users, components[i], in ReplaceMultipleComponentsOfInterfaceVarWith()
385 Instruction* interface_var, Instruction* interface_var_user, in ReplaceComponentOfInterfaceVarWith() argument
425 return ReplaceInterfaceVarInEntryPoint(interface_var, interface_var_user, in ReplaceComponentOfInterfaceVarWith()
441 interface_var->PrettyPrint(SPV_BINARY_TO_TEXT_OPTION_FRIENDLY_NAMES); in ReplaceComponentOfInterfaceVarWith()
558 Instruction* interface_var, Instruction* entry_point, in ReplaceInterfaceVarInEntryPoint() argument
561 uint32_t interface_var_id = interface_var->result_id(); in ReplaceInterfaceVarInEntryPoint()
581 message += "\n " + interface_var->PrettyPrint( in ReplaceInterfaceVarInEntryPoint()
929 for (Instruction* interface_var : interface_vars) { in ReplaceInterfaceVarsWithScalars()
931 if (!GetVariableLocation(interface_var, &location)) continue; in ReplaceInterfaceVarsWithScalars()
932 if (!GetVariableComponent(interface_var, &component)) component = 0; in ReplaceInterfaceVarsWithScalars()
934 Instruction* interface_var_type = GetTypeOfVariable(interface_var); in ReplaceInterfaceVarsWithScalars()
936 if (HasExtraArrayness(entry_point, interface_var)) { in ReplaceInterfaceVarsWithScalars()
941 vars_with_extra_arrayness.insert(interface_var); in ReplaceInterfaceVarsWithScalars()
943 vars_without_extra_arrayness.insert(interface_var); in ReplaceInterfaceVarsWithScalars()
946 if (!CheckExtraArraynessConflictBetweenEntries(interface_var, in ReplaceInterfaceVarsWithScalars()
956 if (!ReplaceInterfaceVariableWithScalars(interface_var, interface_var_type, in ReplaceInterfaceVarsWithScalars()