Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DRecord.cpp114 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecTy
125 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo() function in BitRecTy
126 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
147 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in BitsRecTy
148 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
164 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in IntRecTy
177 bool StringRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in StringRecTy
186 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in ListRecTy
188 return ElementTy->typeIsConvertibleTo(ListTy->getElementType()); in typeIsConvertibleTo()
284 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() function in RecordRecTy
[all …]
H A DTGParser.cpp1270 if (Type && ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1319 if (!ArgType->getListTy()->typeIsConvertibleTo(ItemType)) { in ParseOperation()
1347 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1348 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1349 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1360 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1361 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1372 !ArgType->typeIsConvertibleTo( in ParseOperation()
1816 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationSubstr()
1904 if (ItemType && !Type->typeIsConvertibleTo(ItemType)) { in ParseOperationFind()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DRecord.h93 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
123 bool typeIsConvertibleTo(const RecTy *RHS) const override;
144 bool typeIsConvertibleTo(const RecTy *RHS) const override;
164 bool typeIsConvertibleTo(const RecTy *RHS) const override;
182 bool typeIsConvertibleTo(const RecTy *RHS) const override;
205 bool typeIsConvertibleTo(const RecTy *RHS) const override;
269 bool typeIsConvertibleTo(const RecTy *RHS) const override;