Home
last modified time | relevance | path

Searched refs:ListRecTy (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp914 if (const auto *ListValTy = dyn_cast<ListRecTy>(CurValTy)) { in ParseSliceElements()
1147 return ListRecTy::get(SubType); in ParseType()
1314 if (!isa<ListRecTy, StringRecTy, DagRecTy>(LHSt->getType())) { in ParseOperation()
1330 if (!isa<ListRecTy>(LHSt->getType())) { in ParseOperation()
1350 : ListRecTy::get(Itemt->getType()); in ParseOperation()
1353 const auto *LType = dyn_cast<ListRecTy>(LHSt->getType()); in ParseOperation()
1360 const auto *InnerListTy = dyn_cast<ListRecTy>(Type); in ParseOperation()
1363 Type = ListRecTy::get(InnerListTy->getElementType()); in ParseOperation()
1366 Type = ListRecTy::get(Type); in ParseOperation()
1664 if (!isa<ListRecTy>(ArgType)) { in ParseOperation()
[all …]
H A DRecord.cpp142 const ListRecTy *RecTy::getListTy() const { in getListTy()
144 ListTy = new (RK.getImpl().Allocator) ListRecTy(this); in getListTy()
210 std::string ListRecTy::getAsString() const { in getAsString()
214 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
215 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS)) in typeIsConvertibleTo()
220 bool ListRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()
221 if (const auto *RHSl = dyn_cast<ListRecTy>(RHS)) in typeIsA()
363 if (const auto *ListTy1 = dyn_cast<ListRecTy>(T1)) { in resolveTypes()
364 if (const auto *ListTy2 = dyn_cast<ListRecTy>(T2)) { in resolveTypes()
705 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), in ListInit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h48 class ListRecTy; variable
80 mutable const ListRecTy *ListTy = nullptr;
104 const ListRecTy *getListTy() const;
189 class ListRecTy : public RecTy {
190 friend const ListRecTy *RecTy::getListTy() const;
194 explicit ListRecTy(const RecTy *T) in ListRecTy() function
202 static const ListRecTy *get(const RecTy *T) { return T->getListTy(); } in get()
782 return cast<ListRecTy>(getType())->getElementType(); in getElementType()
1188 : TypedInit(IK_InstancesOpInit, ListRecTy::get(Type)), Type(Type), in InstancesOpInit()