Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/lldb/source/ValueObject/
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()
110 const CompilerType &compiler_type, ConstString name, in ValueObjectConstResult() argument
119 m_value.SetCompilerType(compiler_type); in ValueObjectConstResult()
127 const CompilerType &compiler_type, in Create() argument
133 return (new ValueObjectConstResult(exe_scope, *manager_sp, compiler_type, in Create()
[all …]
H A DValueObjectConstResultImpl.cpp65 CompilerType compiler_type = m_impl_backend->GetCompilerType(); in CreateChildAtIndex() local
69 auto child_compiler_type_or_err = compiler_type.GetChildCompilerTypeAtIndex( in CreateChildAtIndex()
93 if (m_live_address != LLDB_INVALID_ADDRESS && !compiler_type.IsPointerType()) in CreateChildAtIndex()
122 CompilerType compiler_type = m_impl_backend->GetCompilerType(); in CreateSyntheticArrayMember() local
126 auto child_compiler_type_or_err = compiler_type.GetChildCompilerTypeAtIndex( in CreateSyntheticArrayMember()
151 if (m_live_address != LLDB_INVALID_ADDRESS && !compiler_type.IsPointerType()) in CreateSyntheticArrayMember()
177 CompilerType compiler_type(m_impl_backend->GetCompilerType()); in AddressOf() local
186 exe_ctx.GetBestExecutionContextScope(), compiler_type.GetPointerType(), in AddressOf()
199 ValueObjectConstResultImpl::Cast(const CompilerType &compiler_type) { in Cast() argument
205 compiler_type, m_live_address); in Cast()
H A DValueObjectConstResultChild.cpp25 ValueObject &parent, const CompilerType &compiler_type, ConstString name, in ValueObjectConstResultChild() argument
29 : ValueObjectChild(parent, compiler_type, name, byte_size, byte_offset, in ValueObjectConstResultChild()
65 ValueObjectConstResultChild::DoCast(const CompilerType &compiler_type) { in DoCast() argument
66 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.cpp70 CompilerType compiler_type(GetCompilerType()); in UpdateValue() local
71 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
169 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
172 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
175 else if (compiler_type.IsPointerType()) in GetArgumentValues()
192 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
193 if (!compiler_type) { in SetReturnValueObject()
207 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
208 compiler_type.IsPointerType()) { in SetReturnValueObject()
243 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
261 CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
[all …]
H A DABIWindows_x86_64.cpp277 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
279 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
284 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
288 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
306 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
307 if (!compiler_type) { in SetReturnValueObject()
321 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
322 compiler_type.IsPointerType()) { in SetReturnValueObject()
345 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
351 llvm::expectedToOptional(compiler_type.GetBitSize(frame_sp.get())); in SetReturnValueObject()
H A DABISysV_x86_64.cpp272 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
274 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
279 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
283 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
301 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
302 if (!compiler_type) { in SetReturnValueObject()
316 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
317 compiler_type.IsPointerType()) { in SetReturnValueObject()
340 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
346 llvm::expectedToOptional(compiler_type.GetBitSize(frame_sp.get())); in SetReturnValueObject()
H A DABISysV_i386.cpp184 CompilerType compiler_type(value->GetCompilerType()); in GetArgumentValues() local
186 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
189 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
192 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
209 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
210 if (!compiler_type) { in SetReturnValueObject()
215 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.cpp279 const Declaration &decl, const CompilerType &compiler_type, in Type() argument
284 m_decl(decl), m_compiler_type(compiler_type), in Type()
285 m_compiler_type_resolve_state(compiler_type ? compiler_type_resolve_state in Type()
919 void TypeAndOrName::SetCompilerType(CompilerType compiler_type) { in SetCompilerType() argument
920 m_compiler_type = compiler_type; in SetCompilerType()
945 TypeImpl::TypeImpl(const CompilerType &compiler_type) in TypeImpl() argument
947 SetType(compiler_type); in TypeImpl()
972 void TypeImpl::SetType(const CompilerType &compiler_type) { in SetType() argument
974 m_static_type = compiler_type; in SetType()
983 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
179 compiler_type = compiler_type.GetTypeForFormatters(); in GetPossibleMatches()
180 ConstString type_name(compiler_type.GetTypeName()); in GetPossibleMatches()
194 TypeImpl(compiler_type), current_flags, in GetPossibleMatches()
198 if (!compiler_type.IsMeaninglessWithoutDynamicResolution()) { in GetPossibleMatches()
199 entries.push_back({type_name, script_interpreter, TypeImpl(compiler_type), in GetPossibleMatches()
202 ConstString display_type_name(compiler_type.GetTypeName()); in GetPossibleMatches()
205 TypeImpl(compiler_type), current_flags, in GetPossibleMatches()
210 j && compiler_type.IsReferenceType(nullptr, &is_rvalue_ref); j = false) { in GetPossibleMatches()
211 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 auto size_or_err = compiler_type.GetByteSize(exe_scope); in FormatObject()
107 compiler_type.DumpTypeValue( in FormatObject()
/freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/
H A DValueObjectConstResult.h43 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
48 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
54 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 ValueObject &parent, const CompilerType &compiler_type, ConstString name,
56 lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABISysV_arm.cpp1449 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
1450 if (compiler_type) { in GetArgumentValues()
1453 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues()
1454 compiler_type.IsPointerOrReferenceType()) { in GetArgumentValues()
1456 llvm::expectedToOptional(compiler_type.GetBitSize(&thread))) in GetArgumentValues()
1536 Thread &thread, lldb_private::CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
1540 if (!compiler_type) in GetReturnValueObjectImpl()
1545 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl()
1564 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetReturnValueObjectImpl()
1566 llvm::expectedToOptional(compiler_type.GetByteSize(&thread)); in GetReturnValueObjectImpl()
[all …]
H A DABIMacOSX_arm.cpp1446 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
1447 if (compiler_type) { in GetArgumentValues()
1451 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
1454 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
1456 else if (compiler_type.IsPointerOrReferenceType()) in GetArgumentValues()
1537 Thread &thread, lldb_private::CompilerType &compiler_type) const { in GetReturnValueObjectImpl()
1541 if (!compiler_type) in GetReturnValueObjectImpl()
1544 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl()
1556 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1558 llvm::expectedToOptional(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()
448 CompilerType &compiler_type) const { in GetReturnValueObjectSimple()
449 if (!compiler_type) in GetReturnValueObjectSimple()
457 value.SetCompilerType(compiler_type); in GetReturnValueObjectSimple()
459 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectSimple()
463 llvm::expectedToOptional(compiler_type.GetByteSize(&thread)) in GetReturnValueObjectSimple()
486 if (compiler_type.IsFloatingPointType(float_count, is_complex) && in GetReturnValueObjectSimple()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp344 CompilerType compiler_type = m_ast->GetBasicType(basic_type); in CreateInteger() local
349 if (!compiler_type.IsIntegerType(compiler_type_is_signed)) in CreateInteger()
354 compiler_type.GetDisplayTypeName().GetStringRef()), in CreateInteger()
372 lldb_private::Type::eEncodingIsUID, decl, compiler_type, in CreateInteger()
384 CompilerType compiler_type; in CreateModifier() local
388 compiler_type = ref_type->GetFullCompilerType().GetPointerType(); in CreateModifier()
391 compiler_type = ref_type->GetFullCompilerType().AddConstModifier(); in CreateModifier()
394 compiler_type = ref_type->GetFullCompilerType().AddVolatileModifier(); in CreateModifier()
397 compiler_type = ref_type->GetFullCompilerType().AddRestrictModifier(); in CreateModifier()
408 Type::eEncodingIsUID, decl, compiler_type, in CreateModifier()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/LoongArch/
H A DABISysV_loongarch.cpp254 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
255 if (!compiler_type) { in SetReturnValueObject()
263 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
264 !compiler_type.IsPointerType()) { in SetReturnValueObject()
480 Thread &thread, CompilerType &compiler_type) const { in GetReturnValueObjectSimple()
483 if (!compiler_type) in GetReturnValueObjectSimple()
491 value.SetCompilerType(compiler_type); in GetReturnValueObjectSimple()
493 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectSimple()
495 llvm::expectedToOptional(compiler_type.GetByteSize(&thread)).value_or(0); in GetReturnValueObjectSimple()
516 if (compiler_type.IsFloatingPointType(float_count, is_complex) && in GetReturnValueObjectSimple()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp358 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
360 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
365 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
369 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
387 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
388 if (!compiler_type) { in SetReturnValueObject()
402 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
403 compiler_type.IsPointerType()) { in SetReturnValueObject()
426 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
432 llvm::expectedToOptional(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/SymbolFile/PDB/
H A DPDBASTParser.cpp162 CompilerType &compiler_type) { in GetPDBBuiltinTypeName() argument
190 return compiler_type.GetTypeName(); in GetPDBBuiltinTypeName()
793 lldb_private::CompilerType &compiler_type) { in CompleteTypeFromPDB() argument
794 if (GetClangASTImporter().CanImport(compiler_type)) in CompleteTypeFromPDB()
795 return GetClangASTImporter().CompleteType(compiler_type); in CompleteTypeFromPDB()
800 m_ast.GetAsCXXRecordDecl(compiler_type.GetOpaqueQualType()); in CompleteTypeFromPDB()
817 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteTypeFromPDB()
826 return CompleteTypeFromUDT(*symbol_file, compiler_type, *udt); in CompleteTypeFromPDB()
1201 lldb_private::CompilerType &compiler_type, in CompleteTypeFromUDT() argument
1213 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
399 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
403 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
407 else if (compiler_type.IsPointerType()) in GetArgumentValues()
422 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
423 if (!compiler_type) in SetReturnValueObject()
435 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
436 compiler_type.IsPointerType()) { in SetReturnValueObject()
457 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
463 llvm::expectedToOptional(compiler_type.GetBitSize(frame_sp.get())); in SetReturnValueObject()
H A DABISysV_ppc64.cpp274 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local
276 llvm::expectedToOptional(compiler_type.GetBitSize(&thread)); in GetArgumentValues()
281 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
285 } else if (compiler_type.IsPointerType()) { in GetArgumentValues()
303 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local
304 if (!compiler_type) { in SetReturnValueObject()
318 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
319 compiler_type.IsPointerType()) { in SetReturnValueObject()
342 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject()
348 llvm::expectedToOptional(compiler_type.GetBitSize(frame_sp.get())); in SetReturnValueObject()

1234