Searched refs:brigVar (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-variable-handler.cc34 (const BrigDirectiveVariable *brigVar, tree_code var_decltype)
36 std::string var_name = m_parent.get_mangled_name (brigVar);
38 bool is_definition = brigVar->modifier & BRIG_VARIABLE_DEFINITION;
44 if (brigVar->type & BRIG_TYPE_ARRAY)
47 = gccbrig_tree_type_for_hsa_type (brigVar->type & ~BRIG_TYPE_ARRAY);
48 uint64_t element_count = gccbrig_to_uint64_t (brigVar->dim);
58 t = gccbrig_tree_type_for_hsa_type (brigVar->type);
61 size_t alignment = get_brig_var_alignment (brigVar);
63 if (brigVar->segment == BRIG_SEGMENT_READONLY
64 || brigVar
33 build_variable(const BrigDirectiveVariable *brigVar, tree_code var_decltype) argument
123 const BrigDirectiveVariable *brigVar = (const BrigDirectiveVariable *) base; local
248 get_brig_var_alignment(const BrigDirectiveVariable *brigVar) argument
[all...]
H A Dbrig-to-generic.h95 get_mangled_name_tmpl (const T *brigVar) const;
192 brig_to_generic::get_mangled_name_tmpl (const T *brigVar) const
194 std::string var_name = get_string (brigVar->name).substr (1);
199 && m_cf->has_function_scope_var (&brigVar->base))
202 if (brigVar->linkage == BRIG_LINKAGE_MODULE)
H A Dbrig-function-handler.cc192 const BrigDirectiveVariable *brigVar local
197 if (brigVar->type & BRIG_TYPE_ARRAY)
203 tree arg_var = varhandler.build_variable (brigVar, PARM_DECL);
206 m_parent.m_cf->add_arg_variable (brigVar, arg_var);
213 m_parent.m_cf->add_arg_variable (brigVar, arg_var);
220 ret_value = varhandler.build_variable (brigVar, RESULT_DECL);
223 m_parent.m_cf->m_ret_value_brig_var = brigVar;
239 const BrigDirectiveVariable *brigVar local
243 gcc_assert (brigVar->base.kind == BRIG_KIND_DIRECTIVE_VARIABLE);
247 tree arg_var = varhandler.build_variable (brigVar, PARM_DEC
[all...]
H A Dbrig-util.cc373 gccbrig_might_be_host_defined_var_p (const BrigDirectiveVariable *brigVar) argument
375 bool is_definition = brigVar->modifier & BRIG_VARIABLE_DEFINITION;
376 return (brigVar->segment == BRIG_SEGMENT_GLOBAL
377 || brigVar->segment == BRIG_SEGMENT_READONLY) && !is_definition
378 && brigVar->linkage == BRIG_LINKAGE_PROGRAM
379 && (brigVar->allocation == BRIG_ALLOCATION_PROGRAM
380 || brigVar->allocation == BRIG_ALLOCATION_AGENT);
H A Dbrig-util.h84 bool gccbrig_might_be_host_defined_var_p (const BrigDirectiveVariable *brigVar);
H A Dbrig-function.h66 void add_arg_variable (const BrigDirectiveVariable *brigVar, tree treeDecl);
H A Dbrig-code-entry-handler.h212 tree build_variable (const BrigDirectiveVariable *brigVar,
215 size_t get_brig_var_alignment (const BrigDirectiveVariable *brigVar);
H A Dbrig-function.cc126 brig_function::add_arg_variable (const BrigDirectiveVariable *brigVar, argument
129 m_arg_variables[brigVar] = treeDecl;

Completed in 82 milliseconds