Home | History | Annotate | Download | only in AST

Lines Matching refs:LV

1909 /// \param LV - Filled in with a reference to the resulting object.
1917 LValue &LV,
1921 bool EvalObjOK = EvaluateObjectArgument(Info, BO->getLHS(), LV);
1938 // This is a member of some derived class. Truncate LV appropriately.
1941 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
1942 LV.Designator.Entries.size())
1945 LV.Designator.Entries.size() - MemPtr.Path.size();
1948 LV.Designator.Entries[PathLengthToMember + I]);
1955 if (!CastToDerivedClass(Info, BO, LV, MemPtr.getContainingRecord(),
1960 LV.Designator.Entries.reserve(LV.Designator.Entries.size() +
1972 if (!HandleLValueDirectBase(Info, BO, LV, RD, Base))
1977 if (!HandleLValueDirectBase(Info, BO, LV, RD, MemPtr.getContainingRecord()))
1984 if (!HandleLValueMember(Info, BO, LV, FD))
1988 if (!HandleLValueIndirectMember(Info, BO, LV, IFD))
2741 // Now figure out the necessary offset to add to the base LV to get from
3092 // Now figure out the necessary offset to add to the base LV to get from
3797 LValue LV;
3798 if (!EvaluateLValue(E->getInit(0), LV, Info))
3801 LV.moveInto(Val);
4182 static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) {
4183 const Expr *E = LV.getLValueBase().template dyn_cast<const Expr*>();
4184 return E && isa<StringLiteral>(E) && LV.getLValueOffset().isZero();
4218 LValue LV;
4221 if ((Arg->isGLValue() ? EvaluateLValue(Arg, LV, Info)
4222 : EvaluatePointer(Arg, LV, Info)) &&
4224 return EvaluateBuiltinConstantPForLValue(LV);
5444 LValue LV;
5445 if (!EvaluatePointer(SubExpr, LV, Info))
5448 if (LV.getLValueBase()) {
5456 LV.Designator.setInvalid();
5457 LV.moveInto(Result);
5461 APSInt AsInt = Info.Ctx.MakeIntValue(LV.getLValueOffset().getQuantity(),
5490 ComplexValue LV;
5491 if (!EvaluateComplex(E->getSubExpr(), LV, Info))
5493 if (!LV.isComplexInt())
5495 return Success(LV.getComplexIntReal(), E);
5503 ComplexValue LV;
5504 if (!EvaluateComplex(E->getSubExpr(), LV, Info))
5506 if (!LV.isComplexInt())
5508 return Success(LV.getComplexIntImag(), E);
6176 LValue LV;
6177 if (!EvaluateLValue(E, LV, Info))
6179 LV.moveInto(Result);
6187 LValue LV;
6188 if (!EvaluatePointer(E, LV, Info))
6190 LV.moveInto(Result);
6208 LValue LV;
6209 LV.set(E, Info.CurrentCall->Index);
6210 if (!EvaluateArray(E, LV, Info.CurrentCall->Temporaries[E], Info))
6214 LValue LV;
6215 LV.set(E, Info.CurrentCall->Index);
6216 if (!EvaluateRecord(E, LV, Info.CurrentCall->Temporaries[E], Info))
6268 LValue LV;
6269 LV.setFrom(Info.Ctx, Result);
6270 if (!HandleLValueToRValueConversion(Info, E, E->getType(), LV, Result))
6339 LValue LV;
6340 if (!EvaluateLValue(this, LV, Info) || Result.HasSideEffects ||
6342 Ctx.getLValueReferenceType(getType()), LV))
6345 LV.moveInto(Result.Val);