Home
last modified time | relevance | path

Searched refs:SimpleTypeKind (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeIndex.cpp21 SimpleTypeKind Kind;
28 {"void*", SimpleTypeKind::Void},
29 {"<not translated>*", SimpleTypeKind::NotTranslated},
30 {"HRESULT*", SimpleTypeKind::HResult},
31 {"signed char*", SimpleTypeKind::SignedCharacter},
32 {"unsigned char*", SimpleTypeKind::UnsignedCharacter},
33 {"char*", SimpleTypeKind::NarrowCharacter},
34 {"wchar_t*", SimpleTypeKind::WideCharacter},
35 {"char16_t*", SimpleTypeKind::Character16},
36 {"char32_t*", SimpleTypeKind::Character32},
[all …]
DTypeStreamMerger.cpp192 const TypeIndex TypeStreamMerger::Untranslated(SimpleTypeKind::NotTranslated);
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h20 enum class SimpleTypeKind : uint32_t { enum
98 explicit TypeIndex(SimpleTypeKind Kind) in TypeIndex()
100 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) in TypeIndex()
108 SimpleTypeKind getSimpleKind() const { in getSimpleKind()
110 return static_cast<SimpleTypeKind>(Index & SimpleKindMask); in getSimpleKind()
118 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); } in None()
119 static TypeIndex Void() { return TypeIndex(SimpleTypeKind::Void); } in Void()
121 return TypeIndex(SimpleTypeKind::Void, SimpleTypeMode::NearPointer32); in VoidPointer32()
124 return TypeIndex(SimpleTypeKind::Void, SimpleTypeMode::NearPointer64); in VoidPointer64()
128 return TypeIndex(SimpleTypeKind::SignedCharacter); in SignedCharacter()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h27 enum class SimpleTypeKind : uint32_t { enum
104 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} in TypeIndex()
106 explicit TypeIndex(SimpleTypeKind Kind) in TypeIndex()
108 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) in TypeIndex()
127 SimpleTypeKind getSimpleKind() const { in getSimpleKind()
129 return static_cast<SimpleTypeKind>(Index & SimpleKindMask); in getSimpleKind()
137 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); } in None()
138 static TypeIndex Void() { return TypeIndex(SimpleTypeKind::Void); } in Void()
140 return TypeIndex(SimpleTypeKind::Void, SimpleTypeMode::NearPointer32); in VoidPointer32()
143 return TypeIndex(SimpleTypeKind::Void, SimpleTypeMode::NearPointer64); in VoidPointer64()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DTypeDumper.cpp24 static const EnumEntry<SimpleTypeKind> SimpleTypeNames[] = {
25 {"void*", SimpleTypeKind::Void},
26 {"<not translated>*", SimpleTypeKind::NotTranslated},
27 {"HRESULT*", SimpleTypeKind::HResult},
28 {"signed char*", SimpleTypeKind::SignedCharacter},
29 {"unsigned char*", SimpleTypeKind::UnsignedCharacter},
30 {"char*", SimpleTypeKind::NarrowCharacter},
31 {"wchar_t*", SimpleTypeKind::WideCharacter},
32 {"char16_t*", SimpleTypeKind::Character16},
33 {"char32_t*", SimpleTypeKind::Character32},
[all …]
DTypeStreamMerger.cpp131 TypeIndex(SimpleTypeKind::NotTranslated, SimpleTypeMode::Direct)); in visitUnknownType()
DTypeRecord.cpp394 Idx = TypeIndex(SimpleTypeKind::NotTranslated, SimpleTypeMode::Direct); in remapIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp47 codeview::SimpleTypeKind Kind;
51 {codeview::SimpleTypeKind::Int32, PDB_BuiltinType::Int, 4},
52 {codeview::SimpleTypeKind::UInt32, PDB_BuiltinType::UInt, 4},
53 {codeview::SimpleTypeKind::UInt32Long, PDB_BuiltinType::UInt, 4},
54 {codeview::SimpleTypeKind::UInt64Quad, PDB_BuiltinType::UInt, 8},
55 {codeview::SimpleTypeKind::NarrowCharacter, PDB_BuiltinType::Char, 1},
56 {codeview::SimpleTypeKind::SignedCharacter, PDB_BuiltinType::Char, 1},
57 {codeview::SimpleTypeKind::UnsignedCharacter, PDB_BuiltinType::UInt, 1},
58 {codeview::SimpleTypeKind::UInt16Short, PDB_BuiltinType::UInt, 2},
59 {codeview::SimpleTypeKind::Boolean8, PDB_BuiltinType::Bool, 1}
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp974 if (UnderlyingTypeIndex == TypeIndex(SimpleTypeKind::Int32Long) && in lowerTypeAlias()
976 return TypeIndex(SimpleTypeKind::HResult); in lowerTypeAlias()
977 if (UnderlyingTypeIndex == TypeIndex(SimpleTypeKind::UInt16Short) && in lowerTypeAlias()
979 return TypeIndex(SimpleTypeKind::WideCharacter); in lowerTypeAlias()
989 ? TypeIndex(SimpleTypeKind::UInt64Quad) in lowerTypeArray()
990 : TypeIndex(SimpleTypeKind::UInt32Long); in lowerTypeArray()
1050 SimpleTypeKind STK = SimpleTypeKind::None; in lowerTypeBasic()
1057 case 1: STK = SimpleTypeKind::Boolean8; break; in lowerTypeBasic()
1058 case 2: STK = SimpleTypeKind::Boolean16; break; in lowerTypeBasic()
1059 case 4: STK = SimpleTypeKind::Boolean32; break; in lowerTypeBasic()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1375 if (UnderlyingTypeIndex == TypeIndex(SimpleTypeKind::Int32Long) && in lowerTypeAlias()
1377 return TypeIndex(SimpleTypeKind::HResult); in lowerTypeAlias()
1378 if (UnderlyingTypeIndex == TypeIndex(SimpleTypeKind::UInt16Short) && in lowerTypeAlias()
1380 return TypeIndex(SimpleTypeKind::WideCharacter); in lowerTypeAlias()
1390 ? TypeIndex(SimpleTypeKind::UInt64Quad) in lowerTypeArray()
1391 : TypeIndex(SimpleTypeKind::UInt32Long); in lowerTypeArray()
1439 SimpleTypeKind STK = SimpleTypeKind::None; in lowerTypeBasic()
1446 case 1: STK = SimpleTypeKind::Boolean8; break; in lowerTypeBasic()
1447 case 2: STK = SimpleTypeKind::Boolean16; break; in lowerTypeBasic()
1448 case 4: STK = SimpleTypeKind::Boolean32; break; in lowerTypeBasic()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DTypeHashingTest.cpp65 TypeIndex CharStar(SimpleTypeKind::SignedCharacter, in TEST()
72 TypeIndex CharP(SimpleTypeKind::SignedCharacter, SimpleTypeMode::NearPointer); in TEST()
73 TypeIndex IntP(SimpleTypeKind::Int32, SimpleTypeMode::NearPointer); in TEST()
74 TypeIndex DoubleP(SimpleTypeKind::Float64, SimpleTypeMode::NearPointer); in TEST()