Lines Matching refs:Env
487 Environment Env(*this); in pushCall() local
492 Env.ThisPointeeLoc = in pushCall()
499 Env.pushCallInternal(Call->getDirectCallee(), in pushCall()
502 return Env; in pushCall()
506 Environment Env(*this); in pushCall() local
508 Env.ThisPointeeLoc = &Env.getResultObjectLocation(*Call); in pushCall()
510 Env.pushCallInternal(Call->getConstructor(), in pushCall()
513 return Env; in pushCall()
1040 const Environment &Env) { in getImplicitObjectLocation() argument
1045 if (auto *Val = Env.get<PointerValue>(*ImplicitObject)) in getImplicitObjectLocation()
1050 Env.getStorageLocation(*ImplicitObject)); in getImplicitObjectLocation()
1054 const Environment &Env) { in getBaseObjectLocation() argument
1059 if (auto *Val = Env.get<PointerValue>(*Base)) in getBaseObjectLocation()
1063 return Env.get<RecordStorageLocation>(*Base); in getBaseObjectLocation()
1078 RecordValue &refreshRecordValue(RecordStorageLocation &Loc, Environment &Env) { in refreshRecordValue() argument
1079 auto &NewVal = Env.create<RecordValue>(Loc); in refreshRecordValue()
1080 Env.setValue(Loc, NewVal); in refreshRecordValue()
1084 RecordValue &refreshRecordValue(const Expr &Expr, Environment &Env) { in refreshRecordValue() argument
1088 if (auto *ExistingVal = Env.get<RecordValue>(Expr)) { in refreshRecordValue()
1089 auto &NewVal = Env.create<RecordValue>(ExistingVal->getLoc()); in refreshRecordValue()
1090 Env.setValue(Expr, NewVal); in refreshRecordValue()
1091 Env.setValue(NewVal.getLoc(), NewVal); in refreshRecordValue()
1095 auto &NewVal = *cast<RecordValue>(Env.createValue(Expr.getType())); in refreshRecordValue()
1096 Env.setValue(Expr, NewVal); in refreshRecordValue()
1100 if (auto *Loc = Env.get<RecordStorageLocation>(Expr)) { in refreshRecordValue()
1101 auto &NewVal = Env.create<RecordValue>(*Loc); in refreshRecordValue()
1102 Env.setValue(*Loc, NewVal); in refreshRecordValue()
1106 auto &NewVal = *cast<RecordValue>(Env.createValue(Expr.getType())); in refreshRecordValue()
1107 Env.setStorageLocation(Expr, NewVal.getLoc()); in refreshRecordValue()