Lines Matching refs:VarInit
672 return VarInit::get(Name, RV->getType()); in Fold()
685 return VarInit::get(TemplateArgName, RV->getType()); in Fold()
700 return VarInit::get(MCName, RV->getType()); in Fold()
1046 VarInit *LHSv = dyn_cast<VarInit>(LHS); in Fold()
1050 VarInit *MHSv = dyn_cast<VarInit>(MHS); in Fold()
1054 VarInit *RHSv = dyn_cast<VarInit>(RHS); in Fold()
1067 return VarInit::get(Val, getType()); in Fold()
1273 VarInit *VarInit::get(const std::string &VN, RecTy *T) { in get()
1275 return VarInit::get(Value, T); in get()
1278 VarInit *VarInit::get(Init *VN, RecTy *T) { in get()
1280 static DenseMap<Key, std::unique_ptr<VarInit>> ThePool; in get()
1284 std::unique_ptr<VarInit> &I = ThePool[TheKey]; in get()
1285 if (!I) I.reset(new VarInit(VN, T)); in get()
1289 const std::string &VarInit::getName() const { in getName()
1294 Init *VarInit::getBit(unsigned Bit) const { in getBit()
1296 return const_cast<VarInit*>(this); in getBit()
1297 return VarBitInit::get(const_cast<VarInit*>(this), Bit); in getBit()
1300 Init *VarInit::resolveListElementReference(Record &R, in resolveListElementReference()
1324 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1331 Init *VarInit::getFieldInit(Record &R, const RecordVal *RV, in getFieldInit()
1346 Init *VarInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
1350 return const_cast<VarInit *>(this); in resolveReferences()