Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp113 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecTy
124 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo() function in BitRecTy
125 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
146 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in BitsRecTy
147 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
157 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in IntRecTy
170 bool StringRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in StringRecTy
179 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in ListRecTy
181 return ElementTy->typeIsConvertibleTo(ListTy->getElementType()); in typeIsConvertibleTo()
277 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecordRecTy
[all …]
H A DTGParser.cpp1554 if (Type && ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1603 if (!ArgType->getListTy()->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1631 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1632 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1633 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1646 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1647 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1658 !ArgType->typeIsConvertibleTo( in ParseOperation()
2253 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationSubstr()
2341 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationFind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h94 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
124 bool typeIsConvertibleTo(const RecTy *RHS) const override;
145 bool typeIsConvertibleTo(const RecTy *RHS) const override;
163 bool typeIsConvertibleTo(const RecTy *RHS) const override;
181 bool typeIsConvertibleTo(const RecTy *RHS) const override;
204 bool typeIsConvertibleTo(const RecTy *RHS) const override;
268 bool typeIsConvertibleTo(const RecTy *RHS) const override;