Lines Matching refs:repr
38 repr::ModuleIR *module, in ABIWrapper()
159 static repr::AccessSpecifierIR AccessClangToIR( in AccessClangToIR()
163 return repr::AccessSpecifierIR::PrivateAccess; in AccessClangToIR()
167 return repr::AccessSpecifierIR::ProtectedAccess; in AccessClangToIR()
171 return repr::AccessSpecifierIR::PublicAccess; in AccessClangToIR()
204 repr::TypeIR *typep) { in CreateExtendedType()
230 std::unique_ptr<repr::TypeIR> typep = std::move(type_and_status.typep_); in CreateBasicNamedAndTypedDecl()
273 clang::QualType canonical_type, repr::TypeIR *typep, in CreateBasicNamedAndTypedDecl()
319 std::make_unique<repr::QualifiedTypeIR>(); in SetTypeKind()
328 auto pointer_type_ir = std::make_unique<repr::PointerTypeIR>(); in SetTypeKind()
334 std::make_unique<repr::LvalueReferenceTypeIR>(); in SetTypeKind()
340 std::make_unique<repr::RvalueReferenceTypeIR>(); in SetTypeKind()
345 auto array_type_ir = std::make_unique<repr::ArrayTypeIR>(); in SetTypeKind()
350 return TypeAndCreationStatus(std::make_unique<repr::EnumTypeIR>()); in SetTypeKind()
353 auto builtin_type_ir = std::make_unique<repr::BuiltinTypeIR>(); in SetTypeKind()
403 repr::TemplatedArtifactIR *ta, in SetupTemplateArguments()
405 repr::TemplateInfoIR template_info; in SetupTemplateArguments()
414 repr::TemplateElementIR( in SetupTemplateArguments()
439 const clang::FunctionType *function_type, repr::ModuleIR *module, in FunctionTypeWrapper()
447 repr::FunctionTypeIR *function_type_ir) { in SetupFunctionType()
468 auto abi_decl = std::make_unique<repr::FunctionTypeIR>(); in GetFunctionType()
483 repr::ModuleIR *module, in FunctionDeclWrapper()
489 bool FunctionDeclWrapper::SetupThisParameter(repr::FunctionIR *functionp, in SetupThisParameter()
502 repr::CFunctionLikeIR *functionp, const clang::QualType qual_type, in SetupFunctionParameter()
508 functionp->AddParameter(repr::ParamIR( in SetupFunctionParameter()
515 repr::FunctionIR *functionp, in SetupFunctionParameters()
538 bool FunctionDeclWrapper::SetupFunction(repr::FunctionIR *functionp, in SetupFunction()
555 bool FunctionDeclWrapper::SetupTemplateInfo(repr::FunctionIR *functionp, in SetupTemplateInfo()
574 std::unique_ptr<repr::FunctionIR> FunctionDeclWrapper::GetFunctionDecl() { in GetFunctionDecl()
575 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()
613 recordp->AddRecordField(repr::RecordFieldIR( in SetupRecordFields()
623 repr::RecordTypeIR *cxxp, const clang::CXXRecordDecl *cxx_record_decl) { in SetupCXXBases()
632 repr::AccessSpecifierIR access = in SetupCXXBases()
635 repr::CXXBaseSpecifierIR( in SetupCXXBases()
646 repr::RecordTypeIR *record_declp, in SetupRecordVTable()
669 repr::VTableLayoutIR vtable_ir_layout; in SetupRecordVTable()
678 repr::VTableComponentIR added_component = in SetupRecordVTable()
687 repr::VTableComponentIR RecordDeclWrapper::SetupRecordVTableComponent( in SetupRecordVTableComponent()
690 repr::VTableComponentIR::Kind kind = in SetupRecordVTableComponent()
691 repr::VTableComponentIR::Kind::RTTI; in SetupRecordVTableComponent()
701 kind = repr::VTableComponentIR::Kind::VCallOffset; in SetupRecordVTableComponent()
705 kind = repr::VTableComponentIR::Kind::VBaseOffset; in SetupRecordVTableComponent()
709 kind = repr::VTableComponentIR::Kind::OffsetToTop; in SetupRecordVTableComponent()
714 kind = repr::VTableComponentIR::Kind::RTTI; in SetupRecordVTableComponent()
732 kind = repr::VTableComponentIR::Kind::FunctionPointer; in SetupRecordVTableComponent()
747 kind = repr::VTableComponentIR::Kind::CompleteDtorPointer; in SetupRecordVTableComponent()
750 kind = repr::VTableComponentIR::Kind::DeletingDtorPointer; in SetupRecordVTableComponent()
765 kind = repr::VTableComponentIR::Kind::UnusedFunctionPointer; in SetupRecordVTableComponent()
775 return repr::VTableComponentIR(mangled_component_name, kind, value, in SetupRecordVTableComponent()
780 repr::RecordTypeIR *record_declp, in SetupTemplateInfo()
797 bool RecordDeclWrapper::SetupRecordInfo(repr::RecordTypeIR *record_declp, in SetupRecordInfo()
804 repr::RecordTypeIR::RecordKind::struct_kind); in SetupRecordInfo()
807 repr::RecordTypeIR::RecordKind::class_kind); in SetupRecordInfo()
810 repr::RecordTypeIR::RecordKind::union_kind); in SetupRecordInfo()
832 bool RecordDeclWrapper::SetupCXXRecordInfo(repr::RecordTypeIR *record_declp, in SetupCXXRecordInfo()
846 auto abi_decl = std::make_unique<repr::RecordTypeIR>(); in GetRecordDecl()
865 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper()
871 bool EnumDeclWrapper::SetupEnumFields(repr::EnumTypeIR *enump) { in SetupEnumFields()
879 enump->AddEnumField(repr::EnumFieldIR(name, field_value)); in SetupEnumFields()
885 bool EnumDeclWrapper::SetupEnum(repr::EnumTypeIR *enum_type, in SetupEnum()
903 auto abi_decl = std::make_unique<repr::EnumTypeIR>(); in GetEnumDecl()
917 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper()
923 bool GlobalVarDeclWrapper::SetupGlobalVar(repr::GlobalVarIR *global_varp, in SetupGlobalVar()
942 auto abi_decl = std::make_unique<repr::GlobalVarIR>(); in GetGlobalVarDecl()