Lines Matching refs:FieldInit
1455 FieldInit *FieldInit::get(Init *R, const std::string &FN) { in get()
1457 static DenseMap<Key, std::unique_ptr<FieldInit>> ThePool; in get()
1461 std::unique_ptr<FieldInit> &I = ThePool[TheKey]; in get()
1462 if (!I) I.reset(new FieldInit(R, FN)); in get()
1466 Init *FieldInit::getBit(unsigned Bit) const { in getBit()
1468 return const_cast<FieldInit*>(this); in getBit()
1469 return VarBitInit::get(const_cast<FieldInit*>(this), Bit); in getBit()
1472 Init *FieldInit::resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference()
1488 Init *FieldInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
1493 return BVR->isComplete() ? BVR : const_cast<FieldInit *>(this); in resolveReferences()
1497 return FieldInit::get(NewRec, FieldName); in resolveReferences()
1498 return const_cast<FieldInit *>(this); in resolveReferences()