Searched refs:global_varp (Results 1 – 6 of 6) sorted by relevance
235 const GlobalVarIR *global_varp) { in ConvertGlobalVarIR() argument237 added_global_var.set_referenced_type(global_varp->GetReferencedType()); in ConvertGlobalVarIR()238 added_global_var.set_source_file(global_varp->GetSourceFile()); in ConvertGlobalVarIR()239 added_global_var.set_name(global_varp->GetName()); in ConvertGlobalVarIR()240 added_global_var.set_linker_set_key(global_varp->GetLinkerSetKey()); in ConvertGlobalVarIR()242 AccessIRToProtobuf(global_varp->GetAccess())); in ConvertGlobalVarIR()414 bool ProtobufIRDumper::AddGlobalVarIR(const GlobalVarIR *global_varp) { in AddGlobalVarIR() argument419 *added_global_var = ConvertGlobalVarIR(global_varp); in AddGlobalVarIR()
236 const GlobalVarIR *global_varp);
236 IRToJsonConverter::ConvertGlobalVarIR(const GlobalVarIR *global_varp) { in ConvertGlobalVarIR() argument238 global_var.Set("referenced_type", global_varp->GetReferencedType()); in ConvertGlobalVarIR()239 global_var.Set("source_file", global_varp->GetSourceFile()); in ConvertGlobalVarIR()240 global_var.Set("name", global_varp->GetName()); in ConvertGlobalVarIR()241 global_var.Set("linker_set_key", global_varp->GetLinkerSetKey()); in ConvertGlobalVarIR()242 AddAccess(global_var, global_varp->GetAccess()); in ConvertGlobalVarIR()
65 static JsonObject ConvertGlobalVarIR(const GlobalVarIR *global_varp);
923 bool GlobalVarDeclWrapper::SetupGlobalVar(repr::GlobalVarIR *global_varp, in SetupGlobalVar() argument932 global_varp->SetSourceFile(source_file); in SetupGlobalVar()933 global_varp->SetName(global_var_decl_->getQualifiedNameAsString()); in SetupGlobalVar()934 global_varp->SetLinkerSetKey(mangled_name); in SetupGlobalVar()935 global_varp->SetAccess(AccessClangToIR(global_var_decl_->getAccess())); in SetupGlobalVar()936 global_varp->SetReferencedType( in SetupGlobalVar()
228 bool SetupGlobalVar(repr::GlobalVarIR *global_varp,