Home
last modified time | relevance | path

Searched refs:unique_dyn_cast (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DCasting.cpp199 TEST(CastingTest, unique_dyn_cast) { in TEST() argument
206 auto NewD = unique_dyn_cast<derived>(D); in TEST()
212 auto B = unique_dyn_cast<base>(NewD); in TEST()
218 auto NewB = unique_dyn_cast<base>(B); in TEST()
224 D = unique_dyn_cast<derived>(NewB); in TEST()
230 auto F = unique_dyn_cast<foo>(D); in TEST()
235 auto D2 = unique_dyn_cast<derived>(newd()); in TEST()
238 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()
241 auto B3 = unique_dyn_cast<base>(newb()); in TEST()
244 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
DYAMLIOTest.cpp2996 auto node = llvm::unique_dyn_cast<Poly>(seq); in TEST()
3028 std::unique_ptr<Poly> node = llvm::unique_dyn_cast<Poly>(map); in TEST()
/external/llvm-project/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp73 if (auto UDT = unique_dyn_cast<PDBSymbolTypeUDT>(Type)) { in DataMemberLayoutItem()
177 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()
183 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()
188 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()
190 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp73 if (auto UDT = unique_dyn_cast<PDBSymbolTypeUDT>(Type)) { in DataMemberLayoutItem()
177 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()
183 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()
188 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()
190 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCasting.h377 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)
385 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val)
387 return unique_dyn_cast<X, Y>(Val);
397 return unique_dyn_cast<X, Y>(Val);
/external/llvm-project/llvm/include/llvm/Support/
DCasting.h377 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)
385 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) {
386 return unique_dyn_cast<X, Y>(Val);
396 return unique_dyn_cast<X, Y>(Val);
/external/llvm-project/llvm/tools/llvm-pdbutil/
DPrettyTypedefDumper.cpp59 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
DPrettyVariableDumper.cpp181 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
Dllvm-pdbutil.cpp1132 llvm::unique_dyn_cast<PDBSymbolTypeTypedef>(std::move(Symbol)); in dumpPretty()
1139 llvm::unique_dyn_cast<PDBSymbolTypeEnum>(std::move(Symbol)); in dumpPretty()
1146 llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Symbol)); in dumpPretty()
1159 llvm::unique_dyn_cast<PDBSymbolFunc>(std::move(Symbol)); in dumpPretty()
1166 llvm::unique_dyn_cast<PDBSymbolData>(std::move(Symbol)); in dumpPretty()
1173 llvm::unique_dyn_cast<PDBSymbolPublicSymbol>(std::move(Symbol)); in dumpPretty()
DPrettyFunctionDumper.cpp247 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
DPrettyTypeDumper.cpp331 auto UDT = llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Parent)); in dump()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DObjectFilePECOFF.cpp230 llvm::unique_dyn_cast<llvm::object::COFFObjectFile>(std::move(*binary)); in CreateBinary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp877 return unique_dyn_cast<PDBSymbolTypeBuiltin>(Pointer->getPointeeType()); in getVirtualBaseTableType()
/external/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp877 return unique_dyn_cast<PDBSymbolTypeBuiltin>(Pointer->getPointeeType()); in getVirtualBaseTableType()