Home
last modified time | relevance | path

Searched refs:ClassOptions (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeUDT.cpp131 return (Tag->Options & ClassOptions::HasConstructorOrDestructor) != in hasConstructor()
132 ClassOptions::None; in hasConstructor()
146 return (Tag->Options & ClassOptions::HasOverloadedAssignmentOperator) != in hasAssignmentOperator()
147 ClassOptions::None; in hasAssignmentOperator()
154 return (Tag->Options & ClassOptions::HasConversionOperator) != in hasCastOperator()
155 ClassOptions::None; in hasCastOperator()
162 return (Tag->Options & ClassOptions::ContainsNestedClass) != in hasNestedTypes()
163 ClassOptions::None; in hasNestedTypes()
170 return (Tag->Options & ClassOptions::HasOverloadedOperator) != in hasOverloadedOperator()
171 ClassOptions::None; in hasOverloadedOperator()
[all …]
DTpiHashing.cpp29 ClassOptions Opts = Rec.getOptions(); in getHashForUdt()
30 bool ForwardRef = bool(Opts & ClassOptions::ForwardReference); in getHashForUdt()
31 bool Scoped = bool(Opts & ClassOptions::Scoped); in getHashForUdt()
32 bool HasUniqueName = bool(Opts & ClassOptions::HasUniqueName); in getHashForUdt()
58 ClassOptions Opts = Deserialized.getOptions(); in getTagRecordHashForUdt()
60 bool ForwardRef = bool(Opts & ClassOptions::ForwardReference); in getTagRecordHashForUdt()
69 bool Scoped = bool(Opts & ClassOptions::Scoped); in getTagRecordHashForUdt()
DNativeTypeEnum.cpp259 codeview::ClassOptions::HasConstructorOrDestructor); in hasConstructor()
267 codeview::ClassOptions::HasOverloadedAssignmentOperator); in hasAssignmentOperator()
275 codeview::ClassOptions::ContainsNestedClass); in hasNestedTypes()
282 return bool(Record->getOptions() & codeview::ClassOptions::Intrinsic); in isIntrinsic()
290 codeview::ClassOptions::HasConversionOperator); in hasCastOperator()
315 return bool(Record->getOptions() & codeview::ClassOptions::Nested); in isNested()
323 codeview::ClassOptions::HasOverloadedOperator); in hasOverloadedOperator()
330 return bool(Record->getOptions() & codeview::ClassOptions::Packed); in isPacked()
337 return bool(Record->getOptions() & codeview::ClassOptions::Scoped); in isScoped()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeUDT.cpp131 return (Tag->Options & ClassOptions::HasConstructorOrDestructor) != in hasConstructor()
132 ClassOptions::None; in hasConstructor()
146 return (Tag->Options & ClassOptions::HasOverloadedAssignmentOperator) != in hasAssignmentOperator()
147 ClassOptions::None; in hasAssignmentOperator()
154 return (Tag->Options & ClassOptions::HasConversionOperator) != in hasCastOperator()
155 ClassOptions::None; in hasCastOperator()
162 return (Tag->Options & ClassOptions::ContainsNestedClass) != in hasNestedTypes()
163 ClassOptions::None; in hasNestedTypes()
170 return (Tag->Options & ClassOptions::HasOverloadedOperator) != in hasOverloadedOperator()
171 ClassOptions::None; in hasOverloadedOperator()
[all …]
DTpiHashing.cpp29 ClassOptions Opts = Rec.getOptions(); in getHashForUdt()
30 bool ForwardRef = bool(Opts & ClassOptions::ForwardReference); in getHashForUdt()
31 bool Scoped = bool(Opts & ClassOptions::Scoped); in getHashForUdt()
32 bool HasUniqueName = bool(Opts & ClassOptions::HasUniqueName); in getHashForUdt()
58 ClassOptions Opts = Deserialized.getOptions(); in getTagRecordHashForUdt()
60 bool ForwardRef = bool(Opts & ClassOptions::ForwardReference); in getTagRecordHashForUdt()
69 bool Scoped = bool(Opts & ClassOptions::Scoped); in getTagRecordHashForUdt()
DNativeTypeEnum.cpp259 codeview::ClassOptions::HasConstructorOrDestructor); in hasConstructor()
267 codeview::ClassOptions::HasOverloadedAssignmentOperator); in hasAssignmentOperator()
275 codeview::ClassOptions::ContainsNestedClass); in hasNestedTypes()
282 return bool(Record->getOptions() & codeview::ClassOptions::Intrinsic); in isIntrinsic()
290 codeview::ClassOptions::HasConversionOperator); in hasCastOperator()
315 return bool(Record->getOptions() & codeview::ClassOptions::Nested); in isNested()
323 codeview::ClassOptions::HasOverloadedOperator); in hasOverloadedOperator()
330 return bool(Record->getOptions() & codeview::ClassOptions::Packed); in isPacked()
337 return bool(Record->getOptions() & codeview::ClassOptions::Scoped); in isScoped()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DTypeRecordHelpers.cpp18 template <typename RecordT> static ClassOptions getUdtOptions(CVType CVT) { in getUdtOptions()
22 return ClassOptions::None; in getUdtOptions()
28 ClassOptions UdtOptions = ClassOptions::None; in isUdtForwardRef()
44 return (UdtOptions & ClassOptions::ForwardReference) != ClassOptions::None; in isUdtForwardRef()
DTypeDumpVisitor.cpp32 ENUM_ENTRY(ClassOptions, Packed),
33 ENUM_ENTRY(ClassOptions, HasConstructorOrDestructor),
34 ENUM_ENTRY(ClassOptions, HasOverloadedOperator),
35 ENUM_ENTRY(ClassOptions, Nested),
36 ENUM_ENTRY(ClassOptions, ContainsNestedClass),
37 ENUM_ENTRY(ClassOptions, HasOverloadedAssignmentOperator),
38 ENUM_ENTRY(ClassOptions, HasConversionOperator),
39 ENUM_ENTRY(ClassOptions, ForwardReference),
40 ENUM_ENTRY(ClassOptions, Scoped),
41 ENUM_ENTRY(ClassOptions, HasUniqueName),
[all …]
DEnumTables.cpp312 CV_ENUM_CLASS_ENT(ClassOptions, Packed),
313 CV_ENUM_CLASS_ENT(ClassOptions, HasConstructorOrDestructor),
314 CV_ENUM_CLASS_ENT(ClassOptions, HasOverloadedOperator),
315 CV_ENUM_CLASS_ENT(ClassOptions, Nested),
316 CV_ENUM_CLASS_ENT(ClassOptions, ContainsNestedClass),
317 CV_ENUM_CLASS_ENT(ClassOptions, HasOverloadedAssignmentOperator),
318 CV_ENUM_CLASS_ENT(ClassOptions, HasConversionOperator),
319 CV_ENUM_CLASS_ENT(ClassOptions, ForwardReference),
320 CV_ENUM_CLASS_ENT(ClassOptions, Scoped),
321 CV_ENUM_CLASS_ENT(ClassOptions, HasUniqueName),
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeRecordHelpers.cpp18 template <typename RecordT> static ClassOptions getUdtOptions(CVType CVT) { in getUdtOptions()
22 return ClassOptions::None; in getUdtOptions()
28 ClassOptions UdtOptions = ClassOptions::None; in isUdtForwardRef()
44 return (UdtOptions & ClassOptions::ForwardReference) != ClassOptions::None; in isUdtForwardRef()
DTypeDumpVisitor.cpp32 ENUM_ENTRY(ClassOptions, Packed),
33 ENUM_ENTRY(ClassOptions, HasConstructorOrDestructor),
34 ENUM_ENTRY(ClassOptions, HasOverloadedOperator),
35 ENUM_ENTRY(ClassOptions, Nested),
36 ENUM_ENTRY(ClassOptions, ContainsNestedClass),
37 ENUM_ENTRY(ClassOptions, HasOverloadedAssignmentOperator),
38 ENUM_ENTRY(ClassOptions, HasConversionOperator),
39 ENUM_ENTRY(ClassOptions, ForwardReference),
40 ENUM_ENTRY(ClassOptions, Scoped),
41 ENUM_ENTRY(ClassOptions, HasUniqueName),
[all …]
DEnumTables.cpp304 CV_ENUM_CLASS_ENT(ClassOptions, Packed),
305 CV_ENUM_CLASS_ENT(ClassOptions, HasConstructorOrDestructor),
306 CV_ENUM_CLASS_ENT(ClassOptions, HasOverloadedOperator),
307 CV_ENUM_CLASS_ENT(ClassOptions, Nested),
308 CV_ENUM_CLASS_ENT(ClassOptions, ContainsNestedClass),
309 CV_ENUM_CLASS_ENT(ClassOptions, HasOverloadedAssignmentOperator),
310 CV_ENUM_CLASS_ENT(ClassOptions, HasConversionOperator),
311 CV_ENUM_CLASS_ENT(ClassOptions, ForwardReference),
312 CV_ENUM_CLASS_ENT(ClassOptions, Scoped),
313 CV_ENUM_CLASS_ENT(ClassOptions, HasUniqueName),
[all …]
/external/llvm-project/llvm/tools/llvm-pdbutil/
DMinimalTypeDumper.cpp32 ClassOptions Options, TpiStream *Stream, in formatClassOptions()
38 ((Options & ClassOptions::ForwardReference) != ClassOptions::None)) { in formatClassOptions()
44 PUSH_FLAG(ClassOptions, ForwardReference, Options, "forward ref (??\?)"); in formatClassOptions()
51 PUSH_FLAG(ClassOptions, ForwardReference, Options, std::move(Formatted)); in formatClassOptions()
54 PUSH_FLAG(ClassOptions, ForwardReference, Options, "forward ref"); in formatClassOptions()
57 PUSH_FLAG(ClassOptions, HasConstructorOrDestructor, Options, in formatClassOptions()
59 PUSH_FLAG(ClassOptions, ContainsNestedClass, Options, in formatClassOptions()
61 PUSH_FLAG(ClassOptions, HasConversionOperator, Options, in formatClassOptions()
63 PUSH_FLAG(ClassOptions, HasUniqueName, Options, "has unique name"); in formatClassOptions()
64 PUSH_FLAG(ClassOptions, Intrinsic, Options, "intrin"); in formatClassOptions()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DTypeDumper.cpp76 ENUM_ENTRY(ClassOptions, Packed),
77 ENUM_ENTRY(ClassOptions, HasConstructorOrDestructor),
78 ENUM_ENTRY(ClassOptions, HasOverloadedOperator),
79 ENUM_ENTRY(ClassOptions, Nested),
80 ENUM_ENTRY(ClassOptions, ContainsNestedClass),
81 ENUM_ENTRY(ClassOptions, HasOverloadedAssignmentOperator),
82 ENUM_ENTRY(ClassOptions, HasConversionOperator),
83 ENUM_ENTRY(ClassOptions, ForwardReference),
84 ENUM_ENTRY(ClassOptions, Scoped),
85 ENUM_ENTRY(ClassOptions, HasUniqueName),
[all …]
DTypeTableBuilder.cpp123 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeClass()
124 ClassOptions::None) { in writeClass()
141 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeUnion()
142 ClassOptions::None) { in writeUnion()
156 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeEnum()
157 ClassOptions::None) { in writeEnum()
DTypeRecord.cpp140 ClassOptions Options = static_cast<ClassOptions>(Props); in deserialize()
160 ClassOptions Options = static_cast<ClassOptions>(Props); in deserialize()
174 ClassOptions Options = static_cast<ClassOptions>(P); in deserialize()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h425 TagRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in TagRecord()
437 return (Options & ClassOptions::HasUniqueName) != ClassOptions::None; in hasUniqueName()
441 return (Options & ClassOptions::Nested) != ClassOptions::None; in isNested()
445 return (Options & ClassOptions::ForwardReference) != ClassOptions::None; in isForwardRef()
449 return (Options & ClassOptions::ContainsNestedClass) != ClassOptions::None; in containsNestedClass()
453 return (Options & ClassOptions::Scoped) != ClassOptions::None; in isScoped()
457 ClassOptions getOptions() const { return Options; } in getOptions()
463 ClassOptions Options;
474 ClassRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in ClassRecord()
506 UnionRecord(uint16_t MemberCount, ClassOptions Options, TypeIndex FieldList, in UnionRecord()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h419 TagRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in TagRecord()
431 return (Options & ClassOptions::HasUniqueName) != ClassOptions::None; in hasUniqueName()
435 return (Options & ClassOptions::Nested) != ClassOptions::None; in isNested()
439 return (Options & ClassOptions::ForwardReference) != ClassOptions::None; in isForwardRef()
443 return (Options & ClassOptions::ContainsNestedClass) != ClassOptions::None; in containsNestedClass()
447 return (Options & ClassOptions::Scoped) != ClassOptions::None; in isScoped()
451 ClassOptions getOptions() const { return Options; } in getOptions()
457 ClassOptions Options;
468 ClassRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in ClassRecord()
500 UnionRecord(uint16_t MemberCount, ClassOptions Options, TypeIndex FieldList, in UnionRecord()
[all …]
/external/llvm-project/llvm/lib/ObjectYAML/
DCodeViewYAMLTypes.cpp68 LLVM_YAML_DECLARE_BITSET_TRAITS(ClassOptions)
356 void ScalarBitSetTraits<ClassOptions>::bitset(IO &IO, ClassOptions &Options) { in bitset()
357 IO.bitSetCase(Options, "None", ClassOptions::None); in bitset()
359 ClassOptions::HasConstructorOrDestructor); in bitset()
361 ClassOptions::HasOverloadedOperator); in bitset()
362 IO.bitSetCase(Options, "Nested", ClassOptions::Nested); in bitset()
364 ClassOptions::ContainsNestedClass); in bitset()
366 ClassOptions::HasOverloadedAssignmentOperator); in bitset()
368 ClassOptions::HasConversionOperator); in bitset()
369 IO.bitSetCase(Options, "ForwardReference", ClassOptions::ForwardReference); in bitset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypes.cpp68 LLVM_YAML_DECLARE_BITSET_TRAITS(ClassOptions)
356 void ScalarBitSetTraits<ClassOptions>::bitset(IO &IO, ClassOptions &Options) { in bitset()
357 IO.bitSetCase(Options, "None", ClassOptions::None); in bitset()
359 ClassOptions::HasConstructorOrDestructor); in bitset()
361 ClassOptions::HasOverloadedOperator); in bitset()
362 IO.bitSetCase(Options, "Nested", ClassOptions::Nested); in bitset()
364 ClassOptions::ContainsNestedClass); in bitset()
366 ClassOptions::HasOverloadedAssignmentOperator); in bitset()
368 ClassOptions::HasConversionOperator); in bitset()
369 IO.bitSetCase(Options, "ForwardReference", ClassOptions::ForwardReference); in bitset()
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DTpiStream.cpp80 Opts & static_cast<uint16_t>(ClassOptions::ForwardReference); in getTpiHash()
81 bool Scoped = Opts & static_cast<uint16_t>(ClassOptions::Scoped); in getTpiHash()
82 bool UniqueName = Opts & static_cast<uint16_t>(ClassOptions::HasUniqueName); in getTpiHash()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1389 static ClassOptions getCommonClassOptions(const DICompositeType *Ty) { in getCommonClassOptions()
1390 ClassOptions CO = ClassOptions::None; in getCommonClassOptions()
1396 CO |= ClassOptions::HasUniqueName; in getCommonClassOptions()
1403 CO |= ClassOptions::Nested; in getCommonClassOptions()
1409 CO |= ClassOptions::Scoped; in getCommonClassOptions()
1418 ClassOptions CO = getCommonClassOptions(Ty); in lowerTypeEnum()
1423 CO |= ClassOptions::ForwardReference; in lowerTypeEnum()
1535 ClassOptions CO = in lowerTypeClass()
1536 ClassOptions::ForwardReference | getCommonClassOptions(Ty); in lowerTypeClass()
1549 ClassOptions CO = getCommonClassOptions(Ty); in lowerCompleteTypeClass()
[all …]
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h445 TagRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in TagRecord()
461 ClassOptions getOptions() const { return Options; } in getOptions()
468 ClassOptions Options;
477 ClassRecord(TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, in ClassRecord()
510 return Properties & uint16_t(ClassOptions::HasUniqueName); in hasUniqueName()
523 UnionRecord(uint16_t MemberCount, ClassOptions Options, HfaKind Hfa, in UnionRecord()
546 return Properties & uint16_t(ClassOptions::HasUniqueName); in hasUniqueName()
557 EnumRecord(uint16_t MemberCount, ClassOptions Options, TypeIndex FieldList, in EnumRecord()
580 return Properties & uint16_t(ClassOptions::HasUniqueName); in hasUniqueName()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp2016 static ClassOptions getCommonClassOptions(const DICompositeType *Ty) { in getCommonClassOptions()
2017 ClassOptions CO = ClassOptions::None; in getCommonClassOptions()
2023 CO |= ClassOptions::HasUniqueName; in getCommonClassOptions()
2030 CO |= ClassOptions::Nested; in getCommonClassOptions()
2038 CO |= ClassOptions::Scoped; in getCommonClassOptions()
2043 CO |= ClassOptions::Scoped; in getCommonClassOptions()
2073 ClassOptions CO = getCommonClassOptions(Ty); in lowerTypeEnum()
2078 CO |= ClassOptions::ForwardReference; in lowerTypeEnum()
2254 ClassOptions CO = in lowerTypeClass()
2255 ClassOptions::ForwardReference | getCommonClassOptions(Ty); in lowerTypeClass()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1995 static ClassOptions getCommonClassOptions(const DICompositeType *Ty) { in getCommonClassOptions()
1996 ClassOptions CO = ClassOptions::None; in getCommonClassOptions()
2002 CO |= ClassOptions::HasUniqueName; in getCommonClassOptions()
2009 CO |= ClassOptions::Nested; in getCommonClassOptions()
2017 CO |= ClassOptions::Scoped; in getCommonClassOptions()
2022 CO |= ClassOptions::Scoped; in getCommonClassOptions()
2052 ClassOptions CO = getCommonClassOptions(Ty); in lowerTypeEnum()
2057 CO |= ClassOptions::ForwardReference; in lowerTypeEnum()
2224 ClassOptions CO = in lowerTypeClass()
2225 ClassOptions::ForwardReference | getCommonClassOptions(Ty); in lowerTypeClass()
[all …]

12