Home | History | Annotate | Download | only in TableGen

Lines Matching refs:VarInit

638             return VarInit::get(Name, RV->getType());
651 return VarInit::get(TemplateArgName, RV->getType());
666 return VarInit::get(MCName, RV->getType());
989 VarInit *LHSv = dyn_cast<VarInit>(LHS);
993 VarInit *MHSv = dyn_cast<VarInit>(MHS);
997 VarInit *RHSv = dyn_cast<VarInit>(RHS);
1010 return VarInit::get(Val, getType());
1210 VarInit *VarInit::get(const std::string &VN, RecTy *T) {
1212 return VarInit::get(Value, T);
1215 VarInit *VarInit::get(Init *VN, RecTy *T) {
1217 static DenseMap<Key, std::unique_ptr<VarInit>> ThePool;
1221 std::unique_ptr<VarInit> &I = ThePool[TheKey];
1222 if (!I) I.reset(new VarInit(VN, T));
1226 const std::string &VarInit::getName() const {
1231 Init *VarInit::getBit(unsigned Bit) const {
1233 return const_cast<VarInit*>(this);
1234 return VarBitInit::get(const_cast<VarInit*>(this), Bit);
1237 Init *VarInit::resolveListElementReference(Record &R,
1261 RecTy *VarInit::getFieldType(const std::string &FieldName) const {
1268 Init *VarInit::getFieldInit(Record &R, const RecordVal *RV,
1288 Init *VarInit::resolveReferences(Record &R, const RecordVal *RV) const {
1292 return const_cast<VarInit *>(this);