Lines Matching refs:BitsInit
226 return BitsInit::get(NewBits); in convertInitializerTo()
250 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
264 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
265 static FoldingSet<BitsInit> ThePool; in get()
266 static std::vector<std::unique_ptr<BitsInit>> TheActualPool; in get()
272 if (BitsInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
276 BitsInit *I = new (Mem) BitsInit(Range.size()); in get()
280 TheActualPool.push_back(std::unique_ptr<BitsInit>(I)); in get()
284 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile()
288 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
298 return const_cast<BitsInit *>(this); in convertInitializerTo()
315 BitsInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange()
323 return BitsInit::get(NewBits); in convertInitializerBitRange()
326 std::string BitsInit::getAsString() const { in getAsString()
350 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
390 return BitsInit::get(NewBits); in resolveReferences()
392 return const_cast<BitsInit *>(this); in resolveReferences()
433 return BitsInit::get(NewBits); in convertInitializerTo()
449 return BitsInit::get(NewBits); in convertInitializerBitRange()
712 if (BitsInit *BI = dyn_cast<BitsInit>(LHS)) { in Fold()
1202 return BitsInit::get(const_cast<TypedInit *>(this)); in convertInitializerTo()
1209 return BitsInit::get(NewBits); in convertInitializerTo()
1253 return BitsInit::get(NewBits); in convertInitializerBitRange()
1756 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const { in getValueAsBitsInit()
1762 if (BitsInit *BI = dyn_cast<BitsInit>(R->getValue())) in getValueAsBitsInit()