Lines Matching refs:LV
1908 LValue &LV, in HandleMemberPointerAccess() argument
1912 bool EvalObjOK = EvaluateObjectArgument(Info, BO->getLHS(), LV); in HandleMemberPointerAccess()
1932 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() > in HandleMemberPointerAccess()
1933 LV.Designator.Entries.size()) in HandleMemberPointerAccess()
1936 LV.Designator.Entries.size() - MemPtr.Path.size(); in HandleMemberPointerAccess()
1939 LV.Designator.Entries[PathLengthToMember + I]); in HandleMemberPointerAccess()
1946 if (!CastToDerivedClass(Info, BO, LV, MemPtr.getContainingRecord(), in HandleMemberPointerAccess()
1951 LV.Designator.Entries.reserve(LV.Designator.Entries.size() + in HandleMemberPointerAccess()
1963 if (!HandleLValueDirectBase(Info, BO, LV, RD, Base)) in HandleMemberPointerAccess()
1968 if (!HandleLValueDirectBase(Info, BO, LV, RD, MemPtr.getContainingRecord())) in HandleMemberPointerAccess()
1975 if (!HandleLValueMember(Info, BO, LV, FD)) in HandleMemberPointerAccess()
1979 if (!HandleLValueIndirectMember(Info, BO, LV, IFD)) in HandleMemberPointerAccess()
3795 LValue LV; in VisitInitListExpr() local
3796 if (!EvaluateLValue(E->getInit(0), LV, Info)) in VisitInitListExpr()
3799 LV.moveInto(Val); in VisitInitListExpr()
4180 static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) { in EvaluateBuiltinConstantPForLValue() argument
4181 const Expr *E = LV.getLValueBase().template dyn_cast<const Expr*>(); in EvaluateBuiltinConstantPForLValue()
4182 return E && isa<StringLiteral>(E) && LV.getLValueOffset().isZero(); in EvaluateBuiltinConstantPForLValue()
4216 LValue LV; in EvaluateBuiltinConstantP() local
4219 if ((Arg->isGLValue() ? EvaluateLValue(Arg, LV, Info) in EvaluateBuiltinConstantP()
4220 : EvaluatePointer(Arg, LV, Info)) && in EvaluateBuiltinConstantP()
4222 return EvaluateBuiltinConstantPForLValue(LV); in EvaluateBuiltinConstantP()
5415 LValue LV; in VisitCastExpr() local
5416 if (!EvaluatePointer(SubExpr, LV, Info)) in VisitCastExpr()
5419 if (LV.getLValueBase()) { in VisitCastExpr()
5427 LV.Designator.setInvalid(); in VisitCastExpr()
5428 LV.moveInto(Result); in VisitCastExpr()
5432 APSInt AsInt = Info.Ctx.MakeIntValue(LV.getLValueOffset().getQuantity(), in VisitCastExpr()
5461 ComplexValue LV; in VisitUnaryReal() local
5462 if (!EvaluateComplex(E->getSubExpr(), LV, Info)) in VisitUnaryReal()
5464 if (!LV.isComplexInt()) in VisitUnaryReal()
5466 return Success(LV.getComplexIntReal(), E); in VisitUnaryReal()
5474 ComplexValue LV; in VisitUnaryImag() local
5475 if (!EvaluateComplex(E->getSubExpr(), LV, Info)) in VisitUnaryImag()
5477 if (!LV.isComplexInt()) in VisitUnaryImag()
5479 return Success(LV.getComplexIntImag(), E); in VisitUnaryImag()
6146 LValue LV; in Evaluate() local
6147 if (!EvaluateLValue(E, LV, Info)) in Evaluate()
6149 LV.moveInto(Result); in Evaluate()
6157 LValue LV; in Evaluate() local
6158 if (!EvaluatePointer(E, LV, Info)) in Evaluate()
6160 LV.moveInto(Result); in Evaluate()
6178 LValue LV; in Evaluate() local
6179 LV.set(E, Info.CurrentCall->Index); in Evaluate()
6180 if (!EvaluateArray(E, LV, Info.CurrentCall->Temporaries[E], Info)) in Evaluate()
6184 LValue LV; in Evaluate() local
6185 LV.set(E, Info.CurrentCall->Index); in Evaluate()
6186 if (!EvaluateRecord(E, LV, Info.CurrentCall->Temporaries[E], Info)) in Evaluate()
6240 LValue LV; in EvaluateAsRValue() local
6241 LV.setFrom(Info.Ctx, Result); in EvaluateAsRValue()
6242 if (!HandleLValueToRValueConversion(Info, E, E->getType(), LV, Result)) in EvaluateAsRValue()
6298 LValue LV; in EvaluateAsLValue() local
6299 if (!EvaluateLValue(this, LV, Info) || Result.HasSideEffects || in EvaluateAsLValue()
6301 Ctx.getLValueReferenceType(getType()), LV)) in EvaluateAsLValue()
6304 LV.moveInto(Result.Val); in EvaluateAsLValue()