Lines Matching refs:repr
38 static repr::AccessSpecifierIR AccessClangToIR( in AccessClangToIR()
42 return repr::AccessSpecifierIR::PrivateAccess; in AccessClangToIR()
45 return repr::AccessSpecifierIR::ProtectedAccess; in AccessClangToIR()
48 return repr::AccessSpecifierIR::PublicAccess; in AccessClangToIR()
62 repr::ModuleIR *module, in ABIWrapper()
109 repr::TemplatedArtifactIR *ta, in SetupTemplateArguments()
111 repr::TemplateInfoIR template_info; in SetupTemplateArguments()
120 repr::TemplateElementIR(GetTypeUniqueId(type))); in SetupTemplateArguments()
131 repr::CFunctionLikeIR *functionp, const clang::QualType qual_type, in SetupFunctionParameter()
137 functionp->AddParameter(repr::ParamIR( in SetupFunctionParameter()
214 repr::TypeIR *typep) { in CreateExtendedType()
284 clang::QualType canonical_type, repr::TypeIR *typep, in CreateBasicNamedAndTypedDecl()
338 std::unique_ptr<repr::TypeIR> typep = std::move(type_and_status.typep_); in CreateBasicNamedAndTypedDecl()
361 std::make_unique<repr::QualifiedTypeIR>(); in SetTypeKind()
370 auto pointer_type_ir = std::make_unique<repr::PointerTypeIR>(); in SetTypeKind()
376 std::make_unique<repr::LvalueReferenceTypeIR>(); in SetTypeKind()
382 std::make_unique<repr::RvalueReferenceTypeIR>(); in SetTypeKind()
387 auto array_type_ir = std::make_unique<repr::ArrayTypeIR>(); in SetTypeKind()
392 return TypeAndCreationStatus(std::make_unique<repr::EnumTypeIR>()); in SetTypeKind()
395 auto builtin_type_ir = std::make_unique<repr::BuiltinTypeIR>(); in SetTypeKind()
443 const clang::FunctionType *function_type, repr::ModuleIR *module, in FunctionTypeWrapper()
451 repr::FunctionTypeIR *function_type_ir) { in SetupFunctionType()
472 auto abi_decl = std::make_unique<repr::FunctionTypeIR>(); in GetFunctionType()
492 repr::ModuleIR *module, in FunctionDeclWrapper()
498 bool FunctionDeclWrapper::SetupThisParameter(repr::FunctionIR *functionp, in SetupThisParameter()
511 repr::FunctionIR *functionp, in SetupFunctionParameters()
534 bool FunctionDeclWrapper::SetupFunction(repr::FunctionIR *functionp, in SetupFunction()
550 bool FunctionDeclWrapper::SetupTemplateInfo(repr::FunctionIR *functionp, in SetupTemplateInfo()
569 std::unique_ptr<repr::FunctionIR> FunctionDeclWrapper::GetFunctionDecl() { in GetFunctionDecl()
570 auto abi_decl = std::make_unique<repr::FunctionIR>(); in GetFunctionDecl()
587 const clang::RecordDecl *decl, repr::ModuleIR *module, in RecordDeclWrapper()
593 bool RecordDeclWrapper::SetupRecordFields(repr::RecordTypeIR *recordp, in SetupRecordFields()
607 recordp->AddRecordField(repr::RecordFieldIR( in SetupRecordFields()
617 repr::RecordTypeIR *cxxp, const clang::CXXRecordDecl *cxx_record_decl) { in SetupCXXBases()
625 repr::AccessSpecifierIR access = in SetupCXXBases()
627 cxxp->AddCXXBaseSpecifier(repr::CXXBaseSpecifierIR( in SetupCXXBases()
637 repr::RecordTypeIR *record_declp, in SetupRecordVTable()
660 repr::VTableLayoutIR vtable_ir_layout; in SetupRecordVTable()
669 repr::VTableComponentIR added_component = in SetupRecordVTable()
678 repr::VTableComponentIR RecordDeclWrapper::SetupRecordVTableComponent( in SetupRecordVTableComponent()
681 repr::VTableComponentIR::Kind kind = in SetupRecordVTableComponent()
682 repr::VTableComponentIR::Kind::RTTI; in SetupRecordVTableComponent()
692 kind = repr::VTableComponentIR::Kind::VCallOffset; in SetupRecordVTableComponent()
696 kind = repr::VTableComponentIR::Kind::VBaseOffset; in SetupRecordVTableComponent()
700 kind = repr::VTableComponentIR::Kind::OffsetToTop; in SetupRecordVTableComponent()
705 kind = repr::VTableComponentIR::Kind::RTTI; in SetupRecordVTableComponent()
723 kind = repr::VTableComponentIR::Kind::FunctionPointer; in SetupRecordVTableComponent()
738 kind = repr::VTableComponentIR::Kind::CompleteDtorPointer; in SetupRecordVTableComponent()
741 kind = repr::VTableComponentIR::Kind::DeletingDtorPointer; in SetupRecordVTableComponent()
756 kind = repr::VTableComponentIR::Kind::UnusedFunctionPointer; in SetupRecordVTableComponent()
766 return repr::VTableComponentIR(mangled_component_name, kind, value, in SetupRecordVTableComponent()
771 repr::RecordTypeIR *record_declp, in SetupTemplateInfo()
788 bool RecordDeclWrapper::SetupRecordInfo(repr::RecordTypeIR *record_declp, in SetupRecordInfo()
795 repr::RecordTypeIR::RecordKind::struct_kind); in SetupRecordInfo()
798 repr::RecordTypeIR::RecordKind::class_kind); in SetupRecordInfo()
801 repr::RecordTypeIR::RecordKind::union_kind); in SetupRecordInfo()
822 bool RecordDeclWrapper::SetupCXXRecordInfo(repr::RecordTypeIR *record_declp, in SetupCXXRecordInfo()
836 auto abi_decl = std::make_unique<repr::RecordTypeIR>(); in GetRecordDecl()
870 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper()
876 bool EnumDeclWrapper::SetupEnumFields(repr::EnumTypeIR *enump) { in SetupEnumFields()
884 enump->AddEnumField(repr::EnumFieldIR(name, field_value)); in SetupEnumFields()
890 bool EnumDeclWrapper::SetupEnum(repr::EnumTypeIR *enum_type, in SetupEnum()
905 auto abi_decl = std::make_unique<repr::EnumTypeIR>(); in GetEnumDecl()
924 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper()
930 bool GlobalVarDeclWrapper::SetupGlobalVar(repr::GlobalVarIR *global_varp, in SetupGlobalVar()
948 auto abi_decl = std::make_unique<repr::GlobalVarIR>(); in GetGlobalVarDecl()