Home
last modified time | relevance | path

Searched refs:compiler_type (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObjectConstResult.cpp53 const CompilerType &compiler_type, in Create() argument
58 return (new ValueObjectConstResult(exe_scope, *manager_sp, compiler_type, in Create()
65 const CompilerType &compiler_type, ConstString name, in ValueObjectConstResult() argument
78 m_value.SetCompilerType(compiler_type); in ValueObjectConstResult()
86 const CompilerType &compiler_type, in Create() argument
93 return (new ValueObjectConstResult(exe_scope, *manager_sp, compiler_type, in Create()
111 const CompilerType &compiler_type, ConstString name, in ValueObjectConstResult() argument
120 m_value.SetCompilerType(compiler_type); in ValueObjectConstResult()
128 const CompilerType &compiler_type, in Create() argument
134 return (new ValueObjectConstResult(exe_scope, *manager_sp, compiler_type, in Create()
[all …]
H A DValueObjectConstResultImpl.cpp66 CompilerType compiler_type = m_impl_backend->GetCompilerType(); in CreateChildAtIndex() local
70 auto child_compiler_type_or_err = compiler_type.GetChildCompilerTypeAtIndex( in CreateChildAtIndex()
94 if (m_live_address != LLDB_INVALID_ADDRESS && !compiler_type.IsPointerType()) in CreateChildAtIndex()
123 CompilerType compiler_type = m_impl_backend->GetCompilerType(); in CreateSyntheticArrayMember() local
127 auto child_compiler_type_or_err = compiler_type.GetChildCompilerTypeAtIndex( in CreateSyntheticArrayMember()
152 if (m_live_address != LLDB_INVALID_ADDRESS && !compiler_type.IsPointerType()) in CreateSyntheticArrayMember()
178 CompilerType compiler_type(m_impl_backend->GetCompilerType()); in AddressOf() local
187 exe_ctx.GetBestExecutionContextScope(), compiler_type.GetPointerType(), in AddressOf()
200 ValueObjectConstResultImpl::Cast(const CompilerType &compiler_type) { in Cast() argument
206 compiler_type, m_live_address); in Cast()
H A DValueObjectConstResultChild.cpp25 ValueObject &parent, const CompilerType &compiler_type, in ValueObjectConstResultChild() argument
30 : ValueObjectChild(parent, compiler_type, name, byte_size, byte_offset, in ValueObjectConstResultChild()
66 ValueObjectConstResultChild::DoCast(const CompilerType &compiler_type) { in DoCast() argument
67 return m_impl.Cast(compiler_type); in DoCast()
H A DValueObjectConstResultCast.cpp54 ValueObjectConstResultCast::DoCast(const CompilerType &compiler_type) { in DoCast() argument
55 return m_impl.Cast(compiler_type); in DoCast()
H A DValueObjectCast.cpp71 CompilerType compiler_type(GetCompilerType()); in UpdateValue() local
72 m_value.SetCompilerType(compiler_type); in UpdateValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp167 CompilerType compiler_type(value->GetCompilerType()); in GetArgumentValues() local
168 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
171 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
174 else if (compiler_type.IsPointerType()) in GetArgumentValues()
191 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
192 if (!compiler_type) { in SetReturnValueObject()
206 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
207 compiler_type.IsPointerType()) { in SetReturnValueObject()
241 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
259 CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
[all …]
H A DABIWindows_x86_64.cpp277 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
278 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
283 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
287 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
305 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
306 if (!compiler_type) { in SetReturnValueObject()
320 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
321 compiler_type.IsPointerType()) { in SetReturnValueObject()
343 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
349 compiler_type.GetBitSize(frame_sp.get()); in SetReturnValueObject()
H A DABISysV_x86_64.cpp270 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
271 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
276 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
280 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
298 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
299 if (!compiler_type) { in SetReturnValueObject()
313 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
314 compiler_type.IsPointerType()) { in SetReturnValueObject()
336 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
342 compiler_type.GetBitSize(frame_sp.get()); in SetReturnValueObject()
H A DABISysV_i386.cpp184 CompilerType compiler_type(value->GetCompilerType()); in GetArgumentValues() local
185 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
188 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
191 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
208 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
209 if (!compiler_type) { in SetReturnValueObject()
214 const uint32_t type_flags = compiler_type.GetTypeInfo(); in SetReturnValueObject()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DVariable.cpp468 const CompilerType &compiler_type, CompletionRequest &request);
475 const CompilerType &compiler_type, CompletionRequest &request) { in PrivateAutoCompleteMembers() argument
478 const uint32_t num_bases = compiler_type.GetNumDirectBaseClasses(); in PrivateAutoCompleteMembers()
483 compiler_type.GetDirectBaseClassAtIndex(i, nullptr); in PrivateAutoCompleteMembers()
491 const uint32_t num_vbases = compiler_type.GetNumVirtualBaseClasses(); in PrivateAutoCompleteMembers()
496 compiler_type.GetVirtualBaseClassAtIndex(i, nullptr); in PrivateAutoCompleteMembers()
505 const uint32_t num_fields = compiler_type.GetNumFields(); in PrivateAutoCompleteMembers()
511 CompilerType member_compiler_type = compiler_type.GetFieldAtIndex( in PrivateAutoCompleteMembers()
536 const CompilerType &compiler_type, CompletionRequest &request) { in PrivateAutoComplete() argument
541 const lldb::TypeClass type_class = compiler_type.GetTypeClass(); in PrivateAutoComplete()
[all …]
H A DType.cpp271 const Declaration &decl, const CompilerType &compiler_type, in Type() argument
276 m_decl(decl), m_compiler_type(compiler_type), in Type()
277 m_compiler_type_resolve_state(compiler_type ? compiler_type_resolve_state in Type()
898 void TypeAndOrName::SetCompilerType(CompilerType compiler_type) { in SetCompilerType() argument
899 m_compiler_type = compiler_type; in SetCompilerType()
924 TypeImpl::TypeImpl(const CompilerType &compiler_type) in TypeImpl() argument
926 SetType(compiler_type); in TypeImpl()
951 void TypeImpl::SetType(const CompilerType &compiler_type) { in SetType() argument
953 m_static_type = compiler_type; in SetType()
962 void TypeImpl::SetType(const CompilerType &compiler_type, in SetType() argument
[all …]
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DFormatManager.cpp175 ValueObject &valobj, CompilerType compiler_type, in GetPossibleMatches() argument
178 compiler_type = compiler_type.GetTypeForFormatters(); in GetPossibleMatches()
179 ConstString type_name(compiler_type.GetTypeName()); in GetPossibleMatches()
193 TypeImpl(compiler_type), current_flags}); in GetPossibleMatches()
196 if (!compiler_type.IsMeaninglessWithoutDynamicResolution()) { in GetPossibleMatches()
197 entries.push_back({type_name, script_interpreter, TypeImpl(compiler_type), in GetPossibleMatches()
200 ConstString display_type_name(compiler_type.GetTypeName()); in GetPossibleMatches()
203 TypeImpl(compiler_type), current_flags}); in GetPossibleMatches()
207 j && compiler_type.IsReferenceType(nullptr, &is_rvalue_ref); j = false) { in GetPossibleMatches()
208 CompilerType non_ref_type = compiler_type.GetNonReferenceType(); in GetPossibleMatches()
[all …]
H A DTypeFormat.cpp66 CompilerType compiler_type = value.GetCompilerType(); in FormatObject() local
67 if (compiler_type) { in FormatObject()
71 lldb_private::Flags type_flags(compiler_type.GetTypeInfo( in FormatObject()
99 std::optional<uint64_t> size = compiler_type.GetByteSize(exe_scope); in FormatObject()
103 compiler_type.DumpTypeValue( in FormatObject()
/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,
106 lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override;
128 const CompilerType &compiler_type, ConstString name,
133 const CompilerType &compiler_type, ConstString name,
140 const CompilerType &compiler_type, ConstString name,
H A DValueObjectConstResultChild.h32 const CompilerType &compiler_type,
60 lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABISysV_arm.cpp1456 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
1457 if (compiler_type) { in GetArgumentValues()
1460 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues()
1461 compiler_type.IsPointerOrReferenceType()) { in GetArgumentValues()
1462 if (std::optional<uint64_t> size = compiler_type.GetBitSize(&thread)) in GetArgumentValues()
1542 Thread &thread, lldb_private::CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
1546 if (!compiler_type) in GetReturnValueObjectImpl()
1551 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl()
1569 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl()
1570 std::optional<uint64_t> byte_size = compiler_type.GetByteSize(&thread); in GetReturnValueObjectImpl()
[all …]
H A DABIMacOSX_arm.cpp1452 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
1453 if (compiler_type) { in GetArgumentValues()
1456 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
1459 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
1461 else if (compiler_type.IsPointerOrReferenceType()) in GetArgumentValues()
1542 Thread &thread, lldb_private::CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
1546 if (!compiler_type) in GetReturnValueObjectImpl()
1549 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl()
1561 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1562 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp319 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
320 if (!compiler_type) { in SetReturnValueObject()
328 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
329 !compiler_type.IsPointerType()) { in SetReturnValueObject()
447 CompilerType &compiler_type) const { in GetReturnValueObjectSimple()
448 if (!compiler_type) in GetReturnValueObjectSimple()
456 value.SetCompilerType(compiler_type); in GetReturnValueObjectSimple()
458 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectSimple()
461 const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0); in GetReturnValueObjectSimple()
483 if (compiler_type.IsFloatingPointType(float_count, is_complex) && in GetReturnValueObjectSimple()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp343 CompilerType compiler_type = m_ast->GetBasicType(basic_type); in CreateInteger() local
348 if (!compiler_type.IsIntegerType(compiler_type_is_signed)) in CreateInteger()
353 compiler_type.GetDisplayTypeName().GetStringRef()), in CreateInteger()
371 lldb_private::Type::eEncodingIsUID, decl, compiler_type, in CreateInteger()
383 CompilerType compiler_type; in CreateModifier() local
387 compiler_type = ref_type->GetFullCompilerType().GetPointerType(); in CreateModifier()
390 compiler_type = ref_type->GetFullCompilerType().AddConstModifier(); in CreateModifier()
393 compiler_type = ref_type->GetFullCompilerType().AddVolatileModifier(); in CreateModifier()
396 compiler_type = ref_type->GetFullCompilerType().AddRestrictModifier(); in CreateModifier()
407 Type::eEncodingIsUID, decl, compiler_type, in CreateModifier()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp358 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
359 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
364 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
368 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
386 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
387 if (!compiler_type) { in SetReturnValueObject()
401 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
402 compiler_type.IsPointerType()) { in SetReturnValueObject()
424 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
430 compiler_type.GetBitSize(frame_sp.get()); in SetReturnValueObject()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DTaggedASTType.h20 TaggedASTType(const CompilerType &compiler_type) in TaggedASTType() argument
21 : CompilerType(compiler_type) {} in TaggedASTType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/
H A DABISysV_riscv.cpp298 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
299 if (!compiler_type) { in SetReturnValueObject()
307 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
308 !compiler_type.IsPointerType()) { in SetReturnValueObject()
532 CompilerType &compiler_type) const { in GetReturnValueObjectSimple()
535 if (!compiler_type) in GetReturnValueObjectSimple()
543 value.SetCompilerType(compiler_type); in GetReturnValueObjectSimple()
545 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectSimple()
546 const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0); in GetReturnValueObjectSimple()
570 if (compiler_type.IsFloatingPointType(float_count, is_complex) && in GetReturnValueObjectSimple()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp162 CompilerType &compiler_type) { in GetPDBBuiltinTypeName() argument
190 return compiler_type.GetTypeName(); in GetPDBBuiltinTypeName()
794 lldb_private::CompilerType &compiler_type) { in CompleteTypeFromPDB() argument
795 if (GetClangASTImporter().CanImport(compiler_type)) in CompleteTypeFromPDB()
796 return GetClangASTImporter().CompleteType(compiler_type); in CompleteTypeFromPDB()
801 m_ast.GetAsCXXRecordDecl(compiler_type.GetOpaqueQualType()); in CompleteTypeFromPDB()
818 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteTypeFromPDB()
827 return CompleteTypeFromUDT(*symbol_file, compiler_type, *udt); in CompleteTypeFromPDB()
1202 lldb_private::CompilerType &compiler_type, in CompleteTypeFromUDT() argument
1214 AddRecordBases(symbol_file, compiler_type, in CompleteTypeFromUDT()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp397 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
398 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
402 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
406 else if (compiler_type.IsPointerType()) in GetArgumentValues()
423 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
424 if (!compiler_type) { in SetReturnValueObject()
438 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
439 compiler_type.IsPointerType()) { in SetReturnValueObject()
461 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
467 compiler_type.GetBitSize(frame_sp.get()); in SetReturnValueObject()
H A DABISysV_ppc64.cpp274 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
275 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues()
280 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
284 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
302 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
303 if (!compiler_type) { in SetReturnValueObject()
317 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
318 compiler_type.IsPointerType()) { in SetReturnValueObject()
340 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
346 compiler_type.GetBitSize(frame_sp.get()); in SetReturnValueObject()

1234