Lines Matching refs:BitsInit
228 return BitsInit::get(NewBits); in convertInitializerTo()
252 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
266 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
267 static FoldingSet<BitsInit> ThePool; in get()
268 static std::vector<std::unique_ptr<BitsInit>> TheActualPool; in get()
274 if (BitsInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
277 BitsInit *I = new BitsInit(Range); in get()
279 TheActualPool.push_back(std::unique_ptr<BitsInit>(I)); in get()
283 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile()
287 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
297 return const_cast<BitsInit *>(this); in convertInitializerTo()
314 BitsInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange()
322 return BitsInit::get(NewBits); in convertInitializerBitRange()
325 std::string BitsInit::getAsString() const { in getAsString()
349 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
389 return BitsInit::get(NewBits); in resolveReferences()
391 return const_cast<BitsInit *>(this); in resolveReferences()
434 return BitsInit::get(NewBits); in convertInitializerTo()
450 return BitsInit::get(NewBits); in convertInitializerBitRange()
678 if (BitsInit *BI = dyn_cast<BitsInit>(LHS)) { in Fold()
1139 return BitsInit::get(const_cast<TypedInit *>(this)); in convertInitializerTo()
1146 return BitsInit::get(NewBits); in convertInitializerTo()
1190 return BitsInit::get(NewBits); in convertInitializerBitRange()
1709 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const { in getValueAsBitsInit()
1715 if (BitsInit *BI = dyn_cast<BitsInit>(R->getValue())) in getValueAsBitsInit()