Lines Matching refs:BitsRecTy
106 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in typeIsConvertibleTo()
111 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()
112 static std::vector<std::unique_ptr<BitsRecTy>> Shared; in get()
115 std::unique_ptr<BitsRecTy> &Ty = Shared[Sz]; in get()
117 Ty.reset(new BitsRecTy(Sz)); in get()
121 std::string BitsRecTy::getAsString() const { in getAsString()
125 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
127 return cast<BitsRecTy>(RHS)->Size == Size; in typeIsConvertibleTo()
220 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
247 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
294 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
423 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
1182 if (auto *BitsTy = dyn_cast<BitsRecTy>(getType())) { in convertInitializerTo()
1200 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
1242 BitsRecTy *T = dyn_cast<BitsRecTy>(getType()); in convertInitializerBitRange()