Home
last modified time | relevance | path

Searched refs:CompilerType (Results 1 – 25 of 219) sorted by relevance

123456789

/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp31 bool CompilerType::IsAggregateType() const { in IsAggregateType()
38 bool CompilerType::IsAnonymousType() const { in IsAnonymousType()
45 bool CompilerType::IsScopedEnumerationType() const { in IsScopedEnumerationType()
52 bool CompilerType::IsArrayType(CompilerType *element_type_ptr, uint64_t *size, in IsArrayType()
68 bool CompilerType::IsVectorType(CompilerType *element_type, in IsVectorType()
76 bool CompilerType::IsRuntimeGeneratedType() const { in IsRuntimeGeneratedType()
83 bool CompilerType::IsCharType() const { in IsCharType()
90 bool CompilerType::IsCompleteType() const { in IsCompleteType()
97 bool CompilerType::IsForcefullyCompleted() const { in IsForcefullyCompleted()
104 bool CompilerType::IsConst() const { in IsConst()
[all …]
H A DTypeSystem.cpp73 CompilerType TypeSystem::GetArrayType(lldb::opaque_compiler_type_t type, in GetArrayType()
75 return CompilerType(); in GetArrayType()
78 CompilerType
80 return CompilerType(); in GetLValueReferenceType()
83 CompilerType
85 return CompilerType(); in GetRValueReferenceType()
88 CompilerType TypeSystem::GetAtomicType(lldb::opaque_compiler_type_t type) { in GetAtomicType()
89 return CompilerType(); in GetAtomicType()
92 CompilerType TypeSystem::AddConstModifier(lldb::opaque_compiler_type_t type) { in AddConstModifier()
93 return CompilerType(); in AddConstModifier()
[all …]
H A DType.cpp271 const Declaration &decl, const CompilerType &compiler_type, in Type()
578 CompilerType encoding_compiler_type = in ResolveCompilerType()
647 CompilerType void_compiler_type; in ResolveCompilerType()
756 CompilerType Type::GetFullCompilerType() { in GetFullCompilerType()
761 CompilerType Type::GetLayoutCompilerType() { in GetLayoutCompilerType()
766 CompilerType Type::GetForwardCompilerType() { in GetForwardCompilerType()
898 void TypeAndOrName::SetCompilerType(CompilerType compiler_type) { in SetCompilerType()
924 TypeImpl::TypeImpl(const CompilerType &compiler_type) in TypeImpl()
929 TypeImpl::TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic) in TypeImpl()
934 TypeImpl::TypeImpl(const CompilerType &static_type, in TypeImpl()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h36 class CompilerType {
44 CompilerType(lldb::TypeSystemWP type_system,
88 CompilerType(TypeSystemSPWrapper type_system,
91 CompilerType(const CompilerType &rhs) in CompilerType() function
94 CompilerType() = default;
98 const CompilerType &operator=(const CompilerType &rhs) {
104 bool operator<(const CompilerType &rhs) const {
121 bool IsArrayType(CompilerType *element_type = nullptr,
125 bool IsVectorType(CompilerType *element_type = nullptr,
150 uint32_t IsHomogeneousAggregate(CompilerType *base_type_ptr) const;
[all …]
H A DTypeSystem.h105 virtual CompilerType DeclGetFunctionReturnType(void *opaque_decl);
109 virtual CompilerType DeclGetFunctionArgumentType(void *opaque_decl,
117 virtual CompilerType GetTypeForDecl(void *opaque_decl) = 0;
139 GetCompilerDeclContextForType(const CompilerType &type);
152 CompilerType *element_type, uint64_t *size,
173 virtual CompilerType
183 CompilerType *function_pointer_type_ptr) = 0;
197 CompilerType *target_type, // Can pass NULL
201 CompilerType *pointee_type) = 0;
207 virtual bool CanPassInRegisters(const CompilerType &type) = 0;
[all …]
H A DTaggedASTType.h18 template <unsigned int C> class TaggedASTType : public CompilerType {
20 TaggedASTType(const CompilerType &compiler_type) in TaggedASTType()
21 : CompilerType(compiler_type) {} in TaggedASTType()
25 : CompilerType(type_system, type) {} in TaggedASTType()
27 TaggedASTType(const TaggedASTType<C> &tw) : CompilerType(tw) {} in TaggedASTType()
29 TaggedASTType() : CompilerType() {} in TaggedASTType()
34 CompilerType::operator=(tw);
H A DType.h486 CompilerType GetFullCompilerType();
491 CompilerType GetLayoutCompilerType();
495 CompilerType GetForwardCompilerType();
551 CompilerType m_compiler_type;
569 const Declaration &decl, const CompilerType &compiler_qual_type,
596 TypeImpl(const CompilerType &compiler_type);
598 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
600 TypeImpl(const CompilerType &compiler_type, const CompilerType &dynamic);
604 void SetType(const CompilerType &compiler_type);
606 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h206 CompilerType GetBuiltinTypeForEncodingAndBitSize(lldb::Encoding encoding,
209 CompilerType GetBasicType(lldb::BasicType type);
213 CompilerType
217 CompilerType GetCStringType(bool is_const);
221 static clang::DeclContext *GetDeclContextForType(const CompilerType &type);
224 GetCompilerDeclContextForType(const CompilerType &type) override;
232 static bool AreTypesSame(CompilerType type1, CompilerType type2,
242 CompilerType GetType(clang::QualType qt) { in GetType()
244 return CompilerType(); in GetType()
248 return CompilerType(weak_from_this(), qt.getAsOpaquePtr()); in GetType()
[all …]
H A DTypeSystemClang.cpp206 CompilerType pointee_type; in GetVTableAddress()
207 CompilerType this_type(valobj.GetCompilerType()); in GetVTableAddress()
744 CompilerType
802 return CompilerType(); in GetBuiltinTypeForEncodingAndBitSize()
875 CompilerType TypeSystemClang::GetBasicType(lldb::BasicType basic_type) { in GetBasicType()
882 return CompilerType(weak_from_this(), clang_type); in GetBasicType()
883 return CompilerType(); in GetBasicType()
886 CompilerType TypeSystemClang::GetBuiltinTypeForDWARFEncodingAndBitSize( in GetBuiltinTypeForDWARFEncodingAndBitSize()
913 CompilerType complex_int_clang_type = in GetBuiltinTypeForDWARFEncodingAndBitSize()
934 CompilerType complex_float_clang_type = in GetBuiltinTypeForDWARFEncodingAndBitSize()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.h25 static bool IsClangType(const CompilerType &ct);
31 static clang::QualType GetQualType(const CompilerType &ct);
33 static clang::QualType GetCanonicalQualType(const CompilerType &ct);
35 static CompilerType RemoveFastQualifiers(const CompilerType &ct);
37 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
46 static std::string ToString(const CompilerType &c);
H A DClangUtil.cpp17 bool ClangUtil::IsClangType(const CompilerType &ct) { in IsClangType()
36 QualType ClangUtil::GetQualType(const CompilerType &ct) { in GetQualType()
44 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { in GetCanonicalQualType()
51 CompilerType ClangUtil::RemoveFastQualifiers(const CompilerType &ct) { in RemoveFastQualifiers()
57 return CompilerType(ct.GetTypeSystem(), qual_type.getAsOpaquePtr()); in RemoveFastQualifiers()
60 clang::TagDecl *ClangUtil::GetAsTagDecl(const CompilerType &type) { in GetAsTagDecl()
85 std::string ClangUtil::ToString(const CompilerType &c) { in ToString()
H A DNameSearchContext.h40 llvm::SmallSet<CompilerType, 5> m_function_types;
77 clang::NamedDecl *AddVarDecl(const CompilerType &type);
87 clang::NamedDecl *AddFunDecl(const CompilerType &type, bool extern_c = false);
98 clang::NamedDecl *AddTypeDecl(const CompilerType &compiler_type);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp208 CompilerType PlatformNetBSD::GetSiginfoType(const llvm::Triple &triple) { in GetSiginfoType()
217 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType()
218 CompilerType uint_type = ast->GetBasicType(eBasicTypeUnsignedInt); in GetSiginfoType()
219 CompilerType long_type = ast->GetBasicType(eBasicTypeLong); in GetSiginfoType()
220 CompilerType long_long_type = ast->GetBasicType(eBasicTypeLongLong); in GetSiginfoType()
221 CompilerType voidp_type = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in GetSiginfoType()
224 CompilerType &pid_type = int_type; in GetSiginfoType()
225 CompilerType &uid_type = uint_type; in GetSiginfoType()
226 CompilerType &clock_type = uint_type; in GetSiginfoType()
227 CompilerType in GetSiginfoType()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.h27 class CompilerType; variable
49 bool CompleteTypeFromPDB(lldb_private::CompilerType &compiler_type);
83 bool AddEnumValue(lldb_private::CompilerType enum_type,
86 lldb_private::CompilerType &compiler_type,
90 lldb_private::CompilerType &record_type,
95 lldb_private::CompilerType &record_type, int record_kind,
99 lldb_private::CompilerType &record_type,
103 lldb_private::CompilerType &record_type,
H A DPDBASTParser.cpp105 static CompilerType
115 return CompilerType(); in GetBuiltinTypeForPDBEncodingAndBitSize()
124 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
127 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
132 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
135 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
140 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
144 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
147 return CompilerType(clang_ast.weak_from_this(), in GetBuiltinTypeForPDBEncodingAndBitSize()
162 CompilerType &compiler_type) { in GetPDBBuiltinTypeName()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObjectConstResult.h43 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
48 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
54 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
83 uint32_t offset, const CompilerType &type, bool can_create,
106 lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override;
111 CompilerType GetCompilerTypeImpl() override;
128 const CompilerType &compiler_type, ConstString name,
133 const CompilerType &compiler_type, ConstString name,
140 const CompilerType &compiler_type, ConstString name,
H A DValueObjectCast.h32 const CompilerType &cast_type);
52 const CompilerType &cast_type);
56 CompilerType GetCompilerTypeImpl() override;
58 CompilerType m_cast_type;
H A DValueObject.h352 CompilerType GetCompilerType() { return MaybeCalculateCompleteType(); } in GetCompilerType()
378 GetTypeInfo(CompilerType *pointee_or_element_compiler_type = nullptr) {
592 GetSyntheticChildAtOffset(uint32_t offset, const CompilerType &type,
597 GetSyntheticBase(uint32_t offset, const CompilerType &type, bool can_create,
635 lldb::ValueObjectSP Cast(const CompilerType &compiler_type);
637 virtual lldb::ValueObjectSP DoCast(const CompilerType &compiler_type);
640 CompilerType &ast_type);
653 CastDerivedToBaseType(CompilerType type,
660 llvm::Expected<lldb::ValueObjectSP> CastBaseToDerivedType(CompilerType type,
665 lldb::ValueObjectSP CastToBasicType(CompilerType type);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp189 CompilerType PlatformFreeBSD::GetSiginfoType(const llvm::Triple &triple) { in GetSiginfoType()
198 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType()
199 CompilerType uint_type = ast->GetBasicType(eBasicTypeUnsignedInt); in GetSiginfoType()
200 CompilerType long_type = ast->GetBasicType(eBasicTypeLong); in GetSiginfoType()
201 CompilerType voidp_type = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in GetSiginfoType()
204 CompilerType &pid_type = int_type; in GetSiginfoType()
205 CompilerType &uid_type = uint_type; in GetSiginfoType()
207 CompilerType sigval_type = ast->CreateRecordType( in GetSiginfoType()
218 CompilerType siginfo_type = ast->CreateRecordType( in GetSiginfoType()
240 CompilerType union_typ in GetSiginfoType()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h123 bool CompleteType(CompilerType &compiler_type) override;
196 CompilerType ct);
199 CompilerType ct);
200 lldb::TypeSP CreateSimpleType(llvm::codeview::TypeIndex ti, CompilerType ct);
203 CompilerType ct);
206 CompilerType ct);
209 CompilerType ct);
212 CompilerType ct);
215 CompilerType ct);
218 CompilerType ct);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DBlockPointer.cpp35 CompilerType block_pointer_type(m_backend.GetCompilerType()); in BlockPointerSyntheticFrontEnd()
36 CompilerType function_pointer_type; in BlockPointerSyntheticFrontEnd()
59 const CompilerType isa_type = in BlockPointerSyntheticFrontEnd()
62 const CompilerType flags_type = in BlockPointerSyntheticFrontEnd()
65 const CompilerType reserved_type = in BlockPointerSyntheticFrontEnd()
118 CompilerType child_type = *child_type_or_err; in GetChildAtIndex()
160 CompilerType m_block_struct_type;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.h67 lldb_private::CompilerType &compiler_type) override;
96 const lldb_private::CompilerType &int_type,
181 lldb_private::CompilerType &class_compiler_type,
194 std::vector<lldb_private::CompilerType> &function_args,
199 lldb_private::CompilerType &compiler_type, bool is_signed,
336 const lldb_private::CompilerType &class_clang_type,
342 const lldb_private::CompilerType &class_clang_type,
361 const lldb_private::CompilerType &class_clang_type);
365 lldb_private::CompilerType &clang_type);
368 lldb_private::CompilerType &clang_type);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/
H A DRegisterTypeBuilderClang.cpp39 CompilerType RegisterTypeBuilderClang::GetRegisterType( in GetRegisterType()
48 CompilerType fields_type = in GetRegisterType()
56 CompilerType field_uint_type = in GetRegisterType()
69 CompilerType field_type = field_uint_type; in GetRegisterType()
84 CompilerType field_enum_type = in GetRegisterType()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObjectConstResult.cpp53 const CompilerType &compiler_type, in Create()
65 const CompilerType &compiler_type, ConstString name, in ValueObjectConstResult()
86 const CompilerType &compiler_type, in Create()
111 const CompilerType &compiler_type, ConstString name, in ValueObjectConstResult()
128 const CompilerType &compiler_type, in Create()
142 const CompilerType &compiler_type, ConstString name, lldb::addr_t address, in ValueObjectConstResult()
199 CompilerType ValueObjectConstResult::GetCompilerTypeImpl() { in GetCompilerTypeImpl()
255 uint32_t offset, const CompilerType &type, bool can_create, in GetSyntheticChildAtOffset()
294 ValueObjectConstResult::DoCast(const CompilerType &compiler_type) { in DoCast()
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp26 static CompilerType GetCompilerTypeForFormat(lldb::Format format, in GetCompilerTypeForFormat()
27 CompilerType element_type, in GetCompilerTypeForFormat()
127 CompilerType element_type) { in GetItemFormatForFormat()
198 CalculateNumChildren(CompilerType container_elem_type, uint64_t num_elements, in CalculateNumChildren()
199 CompilerType element_type) { in CalculateNumChildren()
257 CompilerType parent_type(m_backend.GetCompilerType()); in Update()
258 CompilerType element_type; in Update()
284 CompilerType m_child_type;

123456789