Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp272 TEST(CastingTest, unique_dyn_cast) { in TEST() argument
279 auto NewD = unique_dyn_cast<derived>(D); in TEST()
285 auto B = unique_dyn_cast<base>(NewD); in TEST()
291 auto NewB = unique_dyn_cast<base>(B); in TEST()
297 D = unique_dyn_cast<derived>(NewB); in TEST()
304 auto F = unique_dyn_cast<foo>(D); in TEST()
309 auto D2 = unique_dyn_cast<derived>(newd()); in TEST()
312 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()
315 auto B3 = unique_dyn_cast<base>(newb()); in TEST()
321 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
H A DYAMLIOTest.cpp3059 auto node = llvm::unique_dyn_cast<Poly>(seq); in TEST()
3091 std::unique_ptr<Poly> node = llvm::unique_dyn_cast<Poly>(map); in TEST()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp76 if (auto UDT = unique_dyn_cast<PDBSymbolTypeUDT>(Type)) { in DataMemberLayoutItem()
180 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()
186 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()
191 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()
193 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyTypedefDumper.cpp61 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
H A DPrettyVariableDumper.cpp183 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
H A Dllvm-pdbutil.cpp1157 llvm::unique_dyn_cast<PDBSymbolTypeTypedef>(std::move(Symbol)); in dumpPretty()
1164 llvm::unique_dyn_cast<PDBSymbolTypeEnum>(std::move(Symbol)); in dumpPretty()
1171 llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Symbol)); in dumpPretty()
1184 llvm::unique_dyn_cast<PDBSymbolFunc>(std::move(Symbol)); in dumpPretty()
1191 llvm::unique_dyn_cast<PDBSymbolData>(std::move(Symbol)); in dumpPretty()
1198 llvm::unique_dyn_cast<PDBSymbolPublicSymbol>(std::move(Symbol)); in dumpPretty()
H A DPrettyFunctionDumper.cpp250 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
H A DPrettyTypeDumper.cpp333 auto UDT = llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Parent)); in dump()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h773 unique_dyn_cast(std::unique_ptr<Y> &Val) {
780 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) {
781 return unique_dyn_cast<X, Y>(Val);
791 return unique_dyn_cast<X, Y>(Val);
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp877 return unique_dyn_cast<PDBSymbolTypeBuiltin>(Pointer->getPointeeType()); in getVirtualBaseTableType()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp400 llvm::unique_dyn_cast<llvm::object::COFFObjectFile>(std::move(*binary)); in CreateBinary()