Lines Matching refs:BitsRecTy
105 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in typeIsConvertibleTo()
110 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()
111 static std::vector<std::unique_ptr<BitsRecTy>> Shared; in get()
114 std::unique_ptr<BitsRecTy> &Ty = Shared[Sz]; in get()
116 Ty.reset(new BitsRecTy(Sz)); in get()
120 std::string BitsRecTy::getAsString() const { in getAsString()
124 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
126 return cast<BitsRecTy>(RHS)->Size == Size; in typeIsConvertibleTo()
222 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
249 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
293 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
424 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
1119 if (auto *BitsTy = dyn_cast<BitsRecTy>(getType())) { in convertInitializerTo()
1137 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
1179 BitsRecTy *T = dyn_cast<BitsRecTy>(getType()); in convertInitializerBitRange()