Searched refs:global_varp (Results 1 – 6 of 6) sorted by relevance
223 const GlobalVarIR *global_varp) { in ConvertGlobalVarIR() argument225 added_global_var.set_referenced_type(global_varp->GetReferencedType()); in ConvertGlobalVarIR()226 added_global_var.set_source_file(global_varp->GetSourceFile()); in ConvertGlobalVarIR()227 added_global_var.set_name(global_varp->GetName()); in ConvertGlobalVarIR()228 added_global_var.set_linker_set_key(global_varp->GetLinkerSetKey()); in ConvertGlobalVarIR()230 AccessIRToProtobuf(global_varp->GetAccess())); in ConvertGlobalVarIR()402 bool ProtobufIRDumper::AddGlobalVarIR(const GlobalVarIR *global_varp) { in AddGlobalVarIR() argument407 *added_global_var = ConvertGlobalVarIR(global_varp); in AddGlobalVarIR()
233 const GlobalVarIR *global_varp);
229 IRToJsonConverter::ConvertGlobalVarIR(const GlobalVarIR *global_varp) { in ConvertGlobalVarIR() argument231 global_var.Set("referenced_type", global_varp->GetReferencedType()); in ConvertGlobalVarIR()232 global_var.Set("source_file", global_varp->GetSourceFile()); in ConvertGlobalVarIR()233 global_var.Set("name", global_varp->GetName()); in ConvertGlobalVarIR()234 global_var.Set("linker_set_key", global_varp->GetLinkerSetKey()); in ConvertGlobalVarIR()235 AddAccess(global_var, global_varp->GetAccess()); in ConvertGlobalVarIR()
62 static JsonObject ConvertGlobalVarIR(const GlobalVarIR *global_varp);
931 bool GlobalVarDeclWrapper::SetupGlobalVar(repr::GlobalVarIR *global_varp, in SetupGlobalVar() argument940 global_varp->SetSourceFile(source_file); in SetupGlobalVar()941 global_varp->SetName(global_var_decl_->getQualifiedNameAsString()); in SetupGlobalVar()942 global_varp->SetLinkerSetKey(mangled_name); in SetupGlobalVar()943 global_varp->SetAccess(AccessClangToIR(global_var_decl_->getAccess())); in SetupGlobalVar()944 global_varp->SetReferencedType(GetTypeUniqueId(global_var_decl_->getType())); in SetupGlobalVar()
230 bool SetupGlobalVar(repr::GlobalVarIR *global_varp,