Searched refs:LValue (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.h1058 const LValue &lv) {
1123 LValue lvalue)
1198 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues;
1525 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init,
1688 LValue MakeAddrLValue(llvm::Value *V, QualType T,
1690 return LValue::MakeAddr(V, T, Alignment, getContext(),
1694 LValue MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T) {
1698 return LValue::MakeAddr(V, T, Alignment, getContext(),
1769 LValue lvalue, bool capturedByInit);
1815 const LValue
[all...]
H A DCGExpr.cpp147 // FIXME: This function should take an LValue as an argument.
166 LValue LV = MakeAddrLValue(Location, E->getType());
237 LValue LV = CGF.EmitLValue(E);
248 LValue RefTempDst = CGF.MakeAddrLValue(ReferenceTemporary,
353 LValue LV = CGF.MakeAddrLValue(Object, E->getType());
365 LValue TempLV = CGF.MakeAddrLValue(Object,
391 LValue tempLV = CGF.MakeNaturalAlignAddrLValue(ReferenceTemporary,
742 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV,
776 // LValue Expression Emission
811 LValue CodeGenFunctio
[all...]
H A DCGValue.h105 /// LValue - This represents an lvalue references. Because C/C++ allow
108 class LValue { class in namespace:clang::CodeGen
144 // LValue is non-gc'able for any reason, including being a parameter or local
165 /// TBAAInfo - TBAA information to attach to dereferences of this LValue.
289 static LValue MakeAddr(llvm::Value *address, QualType type,
295 LValue R;
302 static LValue MakeVectorElt(llvm::Value *Vec, llvm::Value *Idx,
304 LValue R;
312 static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts,
314 LValue
[all...]
H A DCGExprComplex.cpp75 ComplexPairTy EmitLoadOfLValue(LValue LV);
79 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
155 LValue LV = CGF.EmitLValue(E->getSubExpr());
215 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
260 LValue EmitBinAssignLValue(const BinaryOperator *E,
290 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue) {
317 LValue lvalue,
395 LValue origLV = CGF.EmitLValue(Op);
608 LValue ComplexExprEmitter::
629 LValue LH
[all...]
H A DCGExprAgg.cpp86 void EmitFinalDestCopy(QualType type, const LValue &src);
188 LValue LV = CGF.EmitPseudoObjectLValue(E);
197 void EmitInitializationToLValue(Expr *E, LValue Address);
198 void EmitNullInitializationToLValue(LValue Address);
247 LValue LV = CGF.EmitLValue(E);
305 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddr(), type, srcAlign);
310 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src) {
406 LValue DestLV = CGF.MakeNaturalAlignAddrLValue(destPtr, initList->getType());
407 LValue start = CGF.EmitLValueForFieldInitialization(DestLV, *field);
416 LValue endOrLengt
[all...]
H A DCGAtomic.cpp49 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) : CGF(CGF) {
96 void emitMemSetZeroIfNecessary(LValue dest) const;
112 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const;
115 LValue projectValue(LValue lvalue) const {
120 return LValue::MakeAddr(addr, getValueType(), lvalue.getAlignment(),
174 void AtomicInfo::emitMemSetZeroIfNecessary(LValue dest) const {
355 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext());
749 RValue CodeGenFunction::EmitAtomicLoad(LValue sr
[all...]
H A DCGCall.h61 LValue Source;
80 void addWriteback(LValue srcLV, llvm::Value *temporary,
H A DCGObjCRuntime.h85 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
253 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGObjCRuntime.cpp85 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
99 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy);
141 return LValue::MakeBitfield(V, *Info,
H A DCGCXXABI.cpp268 LValue CGCXXABI::EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF,
271 return LValue();
H A DCGObjC.cpp125 LValue LV = LValue::MakeAddr(Builder.CreateStructGEP(Objects, i),
138 LValue KeyLV = LValue::MakeAddr(Builder.CreateStructGEP(Keys, i),
147 LValue ValueLV = LValue::MakeAddr(Builder.CreateStructGEP(Objects, i),
502 LValue lvalue, QualType type);
845 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
923 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1116 LValue ivarLValu
[all...]
H A DCGClass.cpp427 LValue LHS,
434 LValue LV = LHS;
448 // Update the LValue.
554 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy);
587 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy);
588 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field);
604 LValue LHS, Expr *Init,
814 LValue DestLV = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy);
815 LValue Dest = CGF.EmitLValueForFieldInitialization(DestLV, FirstField);
817 LValue SrcL
[all...]
H A DCGExprScalar.cpp83 LValue EmitLValue(const Expr *E) { return CGF.EmitLValue(E); }
84 LValue EmitCheckedLValue(const Expr *E, CodeGenFunction::TypeCheckKind TCK) {
90 Value *EmitLoadOfLValue(LValue LV) {
253 LValue LV = CGF.EmitObjCIsaExpr(E);
289 LValue LV = EmitLValue(E->getSubExpr());
293 LValue LV = EmitLValue(E->getSubExpr());
297 LValue LV = EmitLValue(E->getSubExpr());
301 LValue LV = EmitLValue(E->getSubExpr());
310 llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV,
454 LValue EmitCompoundAssignLValu
[all...]
H A DCGDecl.cpp550 LValue &lvalue,
557 LValue lvalue,
584 LValue tempLV = lvalue;
660 void CodeGenFunction::EmitScalarInit(llvm::Value *init, LValue lvalue) {
1087 LValue lv = MakeAddrLValue(Loc, type, alignment);
1149 LValue lvalue,
1593 LValue lv = MakeAddrLValue(Alloc, Ty, getContext().getDeclAlign(&D));
1626 LValue lv = MakeAddrLValue(DeclPtr, Ty, Align);
H A DCGCXXABI.h373 virtual LValue EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF,
H A DCGCall.cpp549 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV,
559 LValue LV = MakeAddrLValue(EltAddr, EltTy);
583 LValue SubLV = EmitLValueForField(LV, LargestFD);
593 LValue SubLV = EmitLValueForField(LV, FD);
1391 LValue LV = MakeAddrLValue(Alloca, Ty, Align);
1774 const LValue &srcLV = writeback.Source;
1855 LValue srcLV;
1999 LValue L = EmitLValue(cast<CastExpr>(E)->getSubExpr());
2146 LValue LV = MakeAddrLValue(RV.getAggregateAddr(), Ty);
2250 LValue argL
[all...]
H A DCGStmt.cpp800 // FIXME: Clean this up by using an LValue for ReturnTemp,
1400 LValue InputValue, QualType InputType,
1437 LValue Dest = EmitLValue(InputExpr);
1502 std::vector<LValue> ResultRegDests;
1528 LValue Dest = EmitLValue(OutExpr);
H A DItaniumCXXABI.cpp155 LValue EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF,
1379 LValue ItaniumCXXABI::EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF,
1390 LValue LV;
H A DCGDeclCXX.cpp34 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment);
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp106 static SVal makeZeroElementRegion(ProgramStateRef State, SVal LValue, argument
113 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue);
116 return LValue;
144 SVal LValue = State->getLValue(Var, LCtx); local
146 LValue = makeZeroElementRegion(State, LValue, Ty);
147 Target = LValue.getAsRegion();
H A DBugReporterVisitors.cpp211 if (Optional<Loc> LValue = RetVal.getAs<Loc>())
212 RetVal = State->getSVal(*LValue);
264 Optional<Loc> LValue; local
266 if ((LValue = V.getAs<Loc>())) {
267 SVal RValue = State->getRawSVal(*LValue, RetE->getType());
314 if (LValue) {
315 if (const MemRegion *MR = LValue->getAsRegion()) {
1030 // At this point we are dealing with the region's LValue.
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp58 struct LValue;
69 /// Get an LValue path entry, which is known to not be an array index, as a
78 /// Get an LValue path entry, which is known to not be an array index, as a
83 /// Get an LValue path entry, which is known to not be an array index, as a
88 /// Determine whether this LValue path entry for a base class names a virtual
285 const LValue *This;
299 const FunctionDecl *Callee, const LValue *This,
307 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable)
317 const LValue *OldThis;
599 const FunctionDecl *Callee, const LValue *Thi
710 struct LValue { struct in namespace:__anon2975
[all...]
H A DAPValue.cpp150 case LValue:
200 else if (Kind == LValue)
262 case LValue:
263 OS << "LValue: <todo>";
341 case APValue::LValue: {
590 Kind = LValue;
/freebsd-10.0-release/contrib/llvm/lib/TableGen/
H A DTGParser.h51 ForeachLoop(VarInit *IVar, ListInit *LValue) argument
52 : IterVar(IVar), ListValue(LValue) {}
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h48 LValue, enumerator in enum:clang::APValue::ValueKind
180 bool isLValue() const { return Kind == LValue; }

Completed in 372 milliseconds

12