Searched refs:BitsRecTy (Results 1 – 3 of 3) sorted by relevance
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()[all …]
108 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()690 return BitsRecTy::get(Val); in ParseType()1031 MHSTy = BitsRecTy::get(MHSbits->getNumBits()); in ParseOperation()1038 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()1288 if (BitsRecTy *BitsRec = dyn_cast<BitsRecTy>(VI->getType())) { in ParseSimpleValue()
100 class BitsRecTy : public RecTy {102 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {} in BitsRecTy() function109 static BitsRecTy *get(unsigned Sz);459 : TypedInit(IK_BitsInit, BitsRecTy::get(Range.size())), in BitsInit()886 (isa<BitsRecTy>(T->getType()) && in VarBitInit()887 cast<BitsRecTy>(T->getType())->getNumBits() > B)) && in VarBitInit()