Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp95 ExpectedB.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
102 F.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST()
105 F.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
142 InfoType::IT_namespace); in TEST()
151 EConstructor.Parent = Reference(EmptySID, "E", InfoType::IT_record); in TEST()
152 EConstructor.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
154 EConstructor.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
156 InfoType::IT_namespace); in TEST()
167 Method.Parent = Reference(EmptySID, "E", InfoType::IT_record); in TEST()
[all …]
DMergeTest.cpp19 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
22 InfoType::IT_namespace); in TEST()
24 InfoType::IT_record); in TEST()
34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
37 InfoType::IT_namespace); in TEST()
39 InfoType::IT_record); in TEST()
51 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
54 InfoType::IT_namespace); in TEST()
56 InfoType::IT_record); in TEST()
58 InfoType::IT_namespace); in TEST()
[all …]
DBitcodeTest.cpp30 case InfoType::IT_namespace: in writeInfo()
32 case InfoType::IT_record: in writeInfo()
34 case InfoType::IT_enum: in writeInfo()
36 case InfoType::IT_function: in writeInfo()
58 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
61 InfoType::IT_namespace); in TEST()
62 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
76 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
88 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
89 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
[all …]
DMDGeneratorTest.cpp27 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
30 InfoType::IT_namespace); in TEST()
31 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
83 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
90 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
91 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
93 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
150 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
157 I.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
160 I.Parent = Reference(EmptySID, "Parent", InfoType::IT_record); in TEST()
[all …]
DYAMLGeneratorTest.cpp29 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
32 InfoType::IT_namespace, "path/to/A/Namespace"); in TEST()
33 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
79 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
94 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record, ""); in TEST()
95 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record, in TEST()
98 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
178 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
186 TypeInfo(EmptySID, "void", InfoType::IT_default, "path/to/void"); in TEST()
189 I.Parent = Reference(EmptySID, "Parent", InfoType::IT_record); in TEST()
[all …]
DHTMLGeneratorTest.cpp44 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
47 InfoType::IT_namespace, "Namespace"); in TEST()
48 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
148 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
157 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record, PathTo); in TEST()
158 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
160 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
323 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
DGeneratorTest.cpp43 auto InfoG = std::make_unique<Info>(InfoType::IT_namespace); in TEST()
67 IndexG.RefType = InfoType::IT_namespace; in TEST()
DClangDocTest.cpp18 assert(I->IT == InfoType::IT_namespace); in InfoAsNamespace()
23 assert(I->IT == InfoType::IT_record); in InfoAsRecord()
28 assert(I->IT == InfoType::IT_function); in InfoAsFunction()
33 assert(I->IT == InfoType::IT_enum); in InfoAsEnum()
/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.h37 enum class InfoType { enum
122 Reference(SymbolID USR, StringRef Name, InfoType IT) in Reference()
126 Reference(SymbolID USR, StringRef Name, InfoType IT, StringRef Path) in Reference()
146 InfoType RefType = InfoType::IT_default; // Indicates the type of this
160 TypeInfo(SymbolID Type, StringRef Field, InfoType IT) in TypeInfo()
162 TypeInfo(SymbolID Type, StringRef Field, InfoType IT, StringRef Path) in TypeInfo()
175 FieldTypeInfo(SymbolID Type, StringRef Field, InfoType IT, StringRef Path, in FieldTypeInfo()
193 MemberTypeInfo(SymbolID Type, StringRef Field, InfoType IT, StringRef Path, in MemberTypeInfo()
245 Info(InfoType IT) : IT(IT) {} in Info()
246 Info(InfoType IT, SymbolID USR) : USR(USR), IT(IT) {} in Info()
[all …]
DSerialize.cpp192 case InfoType::IT_namespace: in serialize()
194 case InfoType::IT_record: in serialize()
196 case InfoType::IT_enum: in serialize()
198 case InfoType::IT_function: in serialize()
284 getUSRForDecl(T), N->getNameAsString(), InfoType::IT_enum, in parseFields()
290 getUSRForDecl(T), N->getNameAsString(), InfoType::IT_record, in parseFields()
312 InfoType::IT_enum, getInfoRelativePath(N), in parseParameters()
317 InfoType::IT_record, getInfoRelativePath(N), in parseParameters()
339 InfoType::IT_record); in parseBases()
342 InfoType::IT_record, getInfoRelativePath(P)); in parseBases()
[all …]
DYAMLGenerator.cpp52 template <> struct ScalarEnumerationTraits<InfoType> {
53 static void enumeration(IO &IO, InfoType &Value) { in enumeration()
54 IO.enumCase(Value, "Namespace", InfoType::IT_namespace); in enumeration()
55 IO.enumCase(Value, "Record", InfoType::IT_record); in enumeration()
56 IO.enumCase(Value, "Function", InfoType::IT_function); in enumeration()
57 IO.enumCase(Value, "Enum", InfoType::IT_enum); in enumeration()
58 IO.enumCase(Value, "Default", InfoType::IT_default); in enumeration()
169 IO.mapOptional("Type", Ref.RefType, InfoType::IT_default); in mapping()
279 case InfoType::IT_namespace: in generateDocForInfo()
282 case InfoType::IT_record: in generateDocForInfo()
[all …]
DRepresentation.cpp103 case InfoType::IT_namespace: in mergeInfos()
105 case InfoType::IT_record: in mergeInfos()
107 case InfoType::IT_enum: in mergeInfos()
109 case InfoType::IT_function: in mergeInfos()
118 calculateRelativeFilePath(const InfoType &Type, const StringRef &Path, in calculateRelativeFilePath()
133 if (Type == doc::InfoType::IT_namespace) in calculateRelativeFilePath()
145 if (RefType == InfoType::IT_namespace) in getFileBaseName()
157 if (IT == InfoType::IT_namespace) in getFileBaseName()
269 case InfoType::IT_namespace: in extractName()
280 case InfoType::IT_record: in extractName()
[all …]
DMDGenerator.cpp328 case InfoType::IT_namespace: in genIndex()
331 case InfoType::IT_record: in genIndex()
334 case InfoType::IT_enum: in genIndex()
337 case InfoType::IT_function: in genIndex()
340 case InfoType::IT_default: in genIndex()
366 case InfoType::IT_namespace: in generateDocForInfo()
369 case InfoType::IT_record: in generateDocForInfo()
372 case InfoType::IT_enum: in generateDocForInfo()
375 case InfoType::IT_function: in generateDocForInfo()
378 case InfoType::IT_default: in generateDocForInfo()
DHTMLGenerator.cpp845 case InfoType::IT_namespace: in generateDocForInfo()
849 case InfoType::IT_record: in generateDocForInfo()
853 case InfoType::IT_enum: in generateDocForInfo()
856 case InfoType::IT_function: in generateDocForInfo()
860 case InfoType::IT_default: in generateDocForInfo()
872 static std::string getRefType(InfoType IT) { in getRefType()
874 case InfoType::IT_default: in getRefType()
876 case InfoType::IT_namespace: in getRefType()
878 case InfoType::IT_record: in getRefType()
880 case InfoType::IT_function: in getRefType()
[all …]
DBitcodeReader.cpp90 llvm::Error decodeRecord(Record R, InfoType &Field, llvm::StringRef Blob) { in decodeRecord()
91 switch (auto IT = static_cast<InfoType>(R[0])) { in decodeRecord()
92 case InfoType::IT_namespace: in decodeRecord()
93 case InfoType::IT_record: in decodeRecord()
94 case InfoType::IT_function: in decodeRecord()
95 case InfoType::IT_default: in decodeRecord()
96 case InfoType::IT_enum: in decodeRecord()
DBitcodeWriter.cpp557 case InfoType::IT_namespace: in dispatchInfoForWrite()
560 case InfoType::IT_record: in dispatchInfoForWrite()
563 case InfoType::IT_enum: in dispatchInfoForWrite()
566 case InfoType::IT_function: in dispatchInfoForWrite()
/external/libopus/celt/x86/
Dx86cpu.c47 static _inline void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid() argument
49 __cpuid((int*)CPUInfo, InfoType); in cpuid()
58 static void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid() argument
71 "0" (InfoType) in cpuid()
80 "0" (InfoType) in cpuid()
84 __get_cpuid(InfoType, &(CPUInfo[0]), &(CPUInfo[1]), &(CPUInfo[2]), &(CPUInfo[3])); in cpuid()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFunctionInfo.cpp21 enum InfoType : uint32_t { enum
68 case InfoType::EndOfList: in decode()
72 case InfoType::LineTableInfo: in decode()
79 case InfoType::InlineInfo: in decode()
110 O.writeU32(InfoType::LineTableInfo); in encode()
128 O.writeU32(InfoType::InlineInfo); in encode()
145 O.writeU32(InfoType::EndOfList); in encode()
195 case InfoType::EndOfList: in lookup()
199 case InfoType::LineTableInfo: in lookup()
206 case InfoType::InlineInfo: in lookup()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFunctionInfo.cpp21 enum InfoType : uint32_t { enum
71 case InfoType::EndOfList: in decode()
75 case InfoType::LineTableInfo: in decode()
82 case InfoType::InlineInfo: in decode()
113 O.writeU32(InfoType::LineTableInfo); in encode()
131 O.writeU32(InfoType::InlineInfo); in encode()
148 O.writeU32(InfoType::EndOfList); in encode()
198 case InfoType::EndOfList: in lookup()
202 case InfoType::LineTableInfo: in lookup()
209 case InfoType::InlineInfo: in lookup()
/external/llvm-project/clang/lib/Analysis/
DConsumed.cpp301 } InfoType = IT_None; member in clang::consumed::PropagationInfo
321 : InfoType(IT_VarTest), VarTest(VarTest) {} in PropagationInfo()
324 : InfoType(IT_VarTest) { in PropagationInfo()
331 : InfoType(IT_BinTest) { in PropagationInfo()
341 : InfoType(IT_BinTest) { in PropagationInfo()
351 : InfoType(IT_State), State(State) {} in PropagationInfo()
352 PropagationInfo(const VarDecl *Var) : InfoType(IT_Var), Var(Var) {} in PropagationInfo()
354 : InfoType(IT_Tmp), Tmp(Tmp) {} in PropagationInfo()
357 assert(InfoType == IT_State); in getState()
362 assert(InfoType == IT_VarTest); in getVarTest()
[all …]
/external/clang/lib/Analysis/
DConsumed.cpp298 } InfoType; member in clang::consumed::PropagationInfo
316 PropagationInfo() : InfoType(IT_None) {} in PropagationInfo()
319 : InfoType(IT_VarTest), VarTest(VarTest) {} in PropagationInfo()
322 : InfoType(IT_VarTest) { in PropagationInfo()
330 : InfoType(IT_BinTest) { in PropagationInfo()
341 : InfoType(IT_BinTest) { in PropagationInfo()
352 : InfoType(IT_State), State(State) {} in PropagationInfo()
354 PropagationInfo(const VarDecl *Var) : InfoType(IT_Var), Var(Var) {} in PropagationInfo()
356 : InfoType(IT_Tmp), Tmp(Tmp) {} in PropagationInfo()
359 assert(InfoType == IT_State); in getState()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DEmulateInstruction.h167 enum InfoType { enum
182 } InfoType; variable
186 enum InfoType info_type;
/external/libopus/
Dmeson.build479 unsigned int InfoType;
489 "a" (InfoType), "c" (0)
498 "a" (InfoType), "c" (0)
510 unsigned int InfoType;
511 __get_cpuid(InfoType, &CPUInfo0, &CPUInfo1, &CPUInfo2, &CPUInfo3);
517 int CPUInfo, InfoType;
518 __cpuid(&CPUInfo, InfoType);
Dconfigure.ac693 unsigned int InfoType;
703 "a" (InfoType), "c" (0)
712 "a" (InfoType), "c" (0)
726 unsigned int InfoType;
727 __get_cpuid(InfoType, &CPUInfo0, &CPUInfo1, &CPUInfo2, &CPUInfo3);
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestPackage.cpp128 template <typename InfoType, typename IteratorType>
139 InfoType buildInfo; in buildProgram()

12