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.cpp148 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecTy
159 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo() function in BitRecTy
160 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
181 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in BitsRecTy
182 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
192 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in IntRecTy
205 bool StringRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in StringRecTy
214 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in ListRecTy
216 return ElementTy->typeIsConvertibleTo(ListTy->getElementType()); in typeIsConvertibleTo()
312 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecordRecTy
[all …]
H A DTGParser.cpp1629 if (Type && ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1678 if (!ArgType->getListTy()->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1706 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1707 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1708 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1721 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1722 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1733 !ArgType->typeIsConvertibleTo( in ParseOperation()
2330 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationSubstr()
2419 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationFind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h97 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
127 bool typeIsConvertibleTo(const RecTy *RHS) const override;
148 bool typeIsConvertibleTo(const RecTy *RHS) const override;
166 bool typeIsConvertibleTo(const RecTy *RHS) const override;
184 bool typeIsConvertibleTo(const RecTy *RHS) const override;
207 bool typeIsConvertibleTo(const RecTy *RHS) const override;
273 bool typeIsConvertibleTo(const RecTy *RHS) const override;