Searched refs:ListRecTy (Results 1 – 9 of 9) sorted by relevance
34 class ListRecTy; variable70 ListRecTy *ListTy;84 ListRecTy *getListTy();121 virtual bool baseClassOf(const ListRecTy *RHS) const { return false; } in baseClassOf()167 virtual bool baseClassOf(const ListRecTy *RHS) const { return false; } in baseClassOf()214 virtual bool baseClassOf(const ListRecTy *RHS) const { return false; } in baseClassOf()257 virtual bool baseClassOf(const ListRecTy *RHS) const { return false; } in baseClassOf()300 virtual bool baseClassOf(const ListRecTy *RHS) const { return false; } in baseClassOf()311 class ListRecTy : public RecTy {313 explicit ListRecTy(RecTy *T) : Ty(T) {} in ListRecTy() function[all …]
823 return ListRecTy::get(SubType); in ParseType()948 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); in ParseOperation()977 : ListRecTy::get(Itemt->getType()); in ParseOperation()980 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); in ParseOperation()1131 if (!isa<ListRecTy>(ArgType)) { in ParseOperation()1244 if (ListRecTy *InListTy = dyn_cast<ListRecTy>(MHSt->getType())) { in ParseOperation()1247 if (ListRecTy *OutListTy = dyn_cast<ListRecTy>(ItemType)) { in ParseOperation()1374 if (MHSt && !isa<ListRecTy>(MHSt->getType())) { in ParseOperation()1485 ListRecTy *ListType = dyn_cast<ListRecTy>(List->getType()); in ParseOperation()1787 ListRecTy *GivenListTy = nullptr; in ParseSimpleValue()[all …]
56 ListRecTy *RecTy::getListTy() { in getListTy()58 ListTy = new(Allocator) ListRecTy(this); in getListTy()123 std::string ListRecTy::getAsString() const { in getAsString()127 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()128 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS)) in typeIsConvertibleTo()133 bool ListRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()134 if (const ListRecTy *RHSl = dyn_cast<ListRecTy>(RHS)) in typeIsA()270 if (ListRecTy *ListTy1 = dyn_cast<ListRecTy>(T1)) { in resolveTypes()271 if (ListRecTy *ListTy2 = dyn_cast<ListRecTy>(T2)) { in resolveTypes()580 RecTy *EltTy = cast<ListRecTy>(getType())->getElementType(); in Profile()[all …]
86 ListRecTy *RecTy::getListTy() { in getListTy()88 ListTy = new ListRecTy(this); in getListTy()287 std::string ListRecTy::getAsString() const { in getAsString()291 Init *ListRecTy::convertValue(ListInit *LI) { in convertValue()302 ListRecTy *LType = dynamic_cast<ListRecTy*>(LI->getType()); in convertValue()310 Init *ListRecTy::convertValue(TypedInit *TI) { in convertValue()312 if (ListRecTy *LRT = dynamic_cast<ListRecTy*>(TI->getType())) in convertValue()618 ListRecTy *ListType = dynamic_cast<ListRecTy *>(getType()); in Profile()1061 ListRecTy *ListType = dynamic_cast<ListRecTy*>(Type); in ForeachHelper()1285 ListRecTy *T = dynamic_cast<ListRecTy*>(getType()); in convertInitListSlice()
623 return ListRecTy::get(SubType); in ParseType()744 ListRecTy *LType = dynamic_cast<ListRecTy*>(LHSt->getType()); in ParseOperation()773 Type = ListRecTy::get(Itemt->getType()); in ParseOperation()777 ListRecTy *LType = dynamic_cast<ListRecTy*>(LHSt->getType()); in ParseOperation()1151 ListRecTy *GivenListTy = 0; in ParseSimpleValue()1154 ListRecTy *ListType = dynamic_cast<ListRecTy*>(ItemType); in ParseSimpleValue()
42 class ListRecTy; variable71 ListRecTy *ListTy = nullptr;92 ListRecTy *getListTy();196 class ListRecTy : public RecTy {197 friend ListRecTy *RecTy::getListTy();201 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), Ty(T) {} in ListRecTy() function208 static ListRecTy *get(RecTy *T) { return T->getListTy(); } in get()668 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} in ListInit()689 return cast<ListRecTy>(getType())->getElementType(); in getElementType()1066 cast<ListRecTy>(T->getType())->getElementType()), in VarListElementInit()[all …]
31 class ListRecTy; variable57 std::unique_ptr<ListRecTy> ListTy;74 ListRecTy *getListTy();174 class ListRecTy : public RecTy {176 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), Ty(T) {} in ListRecTy() function177 friend ListRecTy *RecTy::getListTy();184 static ListRecTy *get(RecTy *T) { return T->getListTy(); } in get()660 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), NumValues(N) {} in ListInit()999 cast<ListRecTy>(T->getType())->getElementType()), in VarListElementInit()1001 assert(T->getType() && isa<ListRecTy>(T->getType()) && in VarListElementInit()
92 ListRecTy *RecTy::getListTy() { in getListTy()94 ListTy.reset(new ListRecTy(this)); in getListTy()141 std::string ListRecTy::getAsString() const { in getAsString()145 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()146 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS)) in typeIsConvertibleTo()513 RecTy *EltTy = cast<ListRecTy>(getType())->getElementType(); in Profile()519 if (auto *LRT = dyn_cast<ListRecTy>(Ty)) { in convertInitializerTo()530 if (isa<ListRecTy>(getType())) in convertInitializerTo()831 Args, cast<ListRecTy>(LHSs->getType())->getElementType()); in Fold()1017 if (MHSl && isa<ListRecTy>(Type)) { in ForeachHelper()[all …]
701 return ListRecTy::get(SubType); in ParseType()824 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); in ParseOperation()850 : ListRecTy::get(Itemt->getType()); in ParseOperation()853 ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType()); in ParseOperation()1307 ListRecTy *GivenListTy = nullptr; in ParseSimpleValue()1310 ListRecTy *ListType = dyn_cast<ListRecTy>(ItemType); in ParseSimpleValue()1773 ListRecTy *ListType = dyn_cast<ListRecTy>(ValueType); in ParseForeachDeclaration()