reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
41 class ListRecTy;
58 return To::classof(&Val); 106 return isa_impl<To, From>::doit(*Val); 122 return isa_impl_wrap<To, SimpleFrom, 132 return isa_impl_cl<To,FromTy>::doit(Val); 142 return isa_impl_wrap<X, const Y, 172 using ret_type = To *; // Pointer arg case, return Ty* 176 using ret_type = const To *; // Constant pointer arg case, return const Ty* 198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type; 204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type; 210 To, From, typename simplify_type<From>::SimpleType>::ret_type; 227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) { 228 typename cast_retty<To, FromTy>::ret_type Res2 256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) { 263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { 265 return cast_convert_val<X, Y*, 337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) { 342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) { 343 return isa<X>(Val) ? cast<X>(Val) : nullptr; 343 return isa<X>(Val) ? cast<X>(Val) : nullptr;include/llvm/TableGen/Record.h
70 ListRecTy *ListTy = nullptr; 91 ListRecTy *getListTy(); 196 friend ListRecTy *RecTy::getListTy(); 207 static ListRecTy *get(RecTy *T) { return T->getListTy(); } 670 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} 691 return cast<ListRecTy>(getType())->getElementType(); 1148 cast<ListRecTy>(T->getType())->getElementType()),lib/TableGen/Record.cpp
63 ListRecTy *RecTy::getListTy() { 65 ListTy = new(Allocator) ListRecTy(this); 135 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS)) 135 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS)) 141 if (const ListRecTy *RHSl = dyn_cast<ListRecTy>(RHS)) 141 if (const ListRecTy *RHSl = dyn_cast<ListRecTy>(RHS)) 276 if (ListRecTy *ListTy1 = dyn_cast<ListRecTy>(T1)) { 276 if (ListRecTy *ListTy1 = dyn_cast<ListRecTy>(T1)) { 277 if (ListRecTy *ListTy2 = dyn_cast<ListRecTy>(T2)) { 277 if (ListRecTy *ListTy2 = dyn_cast<ListRecTy>(T2)) { 593 RecTy *EltTy = cast<ListRecTy>(getType())->getElementType(); 602 if (auto *LRT = dyn_cast<ListRecTy>(Ty)) { 602 if (auto *LRT = dyn_cast<ListRecTy>(Ty)) { 1122 return ListInit::get(NewList, cast<ListRecTy>(Type)->getElementType()); 1451 ListRecTy *T = dyn_cast<ListRecTy>(getType()); 1451 ListRecTy *T = dyn_cast<ListRecTy>(getType());lib/TableGen/TGParser.cpp
840 return ListRecTy::get(SubType); 965 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); 965 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); 994 : ListRecTy::get(Itemt->getType()); 997 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); 997 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); 1156 if (!isa<ListRecTy>(ArgType)) { 1164 if (!isa<ListRecTy>(ItemType)) { 1174 cast<ListRecTy>(ItemType) 1302 if (ListRecTy *InListTy = dyn_cast<ListRecTy>(MHSt->getType())) { 1302 if (ListRecTy *InListTy = dyn_cast<ListRecTy>(MHSt->getType())) { 1305 if (ListRecTy *OutListTy = dyn_cast<ListRecTy>(ItemType)) { 1305 if (ListRecTy *OutListTy = dyn_cast<ListRecTy>(ItemType)) { 1432 if (MHSt && !isa<ListRecTy>(MHSt->getType())) { 1546 ListRecTy *ListType = dyn_cast<ListRecTy>(List->getType()); 1546 ListRecTy *ListType = dyn_cast<ListRecTy>(List->getType()); 1935 ListRecTy *GivenListTy = nullptr; 1938 ListRecTy *ListType = dyn_cast<ListRecTy>(ItemType); 1938 ListRecTy *ListType = dyn_cast<ListRecTy>(ItemType); 2185 if (isa<ListRecTy>(LHS->getType())) { 2472 if (TI && isa<ListRecTy>(TI->getType())) { 2474 IterType = cast<ListRecTy>(TI->getType())->getElementType(); 2729 if (!isa<ListRecTy>(Type)) 2731 Defset.EltTy = cast<ListRecTy>(Type)->getElementType();