Lines Matching refs:FieldInit
1397 FieldInit *FieldInit::get(Init *R, const std::string &FN) {
1399 static DenseMap<Key, std::unique_ptr<FieldInit>> ThePool;
1403 std::unique_ptr<FieldInit> &I = ThePool[TheKey];
1404 if (!I) I.reset(new FieldInit(R, FN));
1408 Init *FieldInit::getBit(unsigned Bit) const {
1410 return const_cast<FieldInit*>(this);
1411 return VarBitInit::get(const_cast<FieldInit*>(this), Bit);
1414 Init *FieldInit::resolveListElementReference(Record &R, const RecordVal *RV,
1430 Init *FieldInit::resolveReferences(Record &R, const RecordVal *RV) const {
1435 return BVR->isComplete() ? BVR : const_cast<FieldInit *>(this);
1439 return FieldInit::get(NewRec, FieldName);
1440 return const_cast<FieldInit *>(this);