Lines Matching refs:LValue
263 LValue LV = MakeAddrLValue(Location, E->getType()); in EmitAnyExprToMem()
439 LValue CodeGenFunction::
470 LValue RefTempDst = MakeAddrLValue(Object, M->getType(), in EmitMaterializeTemporaryExpr()
594 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
617 LValue LV = EmitLValue(E); in EmitReferenceBindingToExpr()
1031 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, in EmitComplexPrePostIncDec()
1176 LValue LV = EmitLValue(UO->getSubExpr()); in EmitPointerWithAlignment()
1191 LValue LV = EmitLValue(Call->getArg(0)); in EmitPointerWithAlignment()
1247 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue()
1279 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue()
1280 LValue LV; in EmitCheckedLValue()
1315 LValue CodeGenFunction::EmitLValue(const Expr *E) { in EmitLValue()
1385 LValue LV = EmitLValue(cleanups->getSubExpr()); in EmitLValue()
1392 return LValue::MakeAddr(Addr.withPointer(V), LV.getType(), getContext(), in EmitLValue()
1630 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue, in EmitLoadOfScalar()
1786 LValue AtomicLValue = in EmitLoadOfScalar()
1787 LValue::MakeAddr(Addr, Ty, getContext(), BaseInfo, TBAAInfo); in EmitLoadOfScalar()
1873 static void EmitStoreOfMatrixScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfMatrixScalar()
1914 LValue AtomicLValue = in EmitStoreOfScalar()
1915 LValue::MakeAddr(Addr, Ty, getContext(), BaseInfo, TBAAInfo); in EmitStoreOfScalar()
1933 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfScalar()
1947 static RValue EmitLoadOfMatrixLValue(LValue LV, SourceLocation Loc, in EmitLoadOfMatrixLValue()
1958 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
2020 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV, in EmitLoadOfBitfieldLValue()
2057 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
2084 Address CodeGenFunction::EmitExtVectorElementLValue(LValue LV) { in EmitExtVectorElementLValue()
2104 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
2128 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
2252 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
2331 LValue Dst) { in EmitStoreThroughExtVectorComponentLValue()
2394 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
2420 LValue &LV, in setObjCGCLValueClass()
2524 static LValue EmitThreadPrivateVarDeclLValue( in EmitThreadPrivateVarDeclLValue()
2558 CodeGenFunction::EmitLoadOfReference(LValue RefLVal, in EmitLoadOfReference()
2572 LValue CodeGenFunction::EmitLoadOfReferenceLValue(LValue RefLVal) { in EmitLoadOfReferenceLValue()
2592 LValue CodeGenFunction::EmitLoadOfPointerLValue(Address PtrAddr, in EmitLoadOfPointerLValue()
2600 static LValue EmitGlobalVarDeclLValue(CodeGenFunction &CGF, in EmitGlobalVarDeclLValue()
2628 LValue LV = VD->getType()->isReferenceType() ? in EmitGlobalVarDeclLValue()
2661 static LValue EmitFunctionDeclLValue(CodeGenFunction &CGF, const Expr *E, in EmitFunctionDeclLValue()
2670 static LValue EmitCapturedFieldLValue(CodeGenFunction &CGF, const FieldDecl *FD, in EmitCapturedFieldLValue()
2673 LValue LV = CGF.MakeNaturalAlignAddrLValue(ThisValue, TagType); in EmitCapturedFieldLValue()
2683 static LValue EmitGlobalNamedRegister(const VarDecl *VD, CodeGenModule &CGM) { in EmitGlobalNamedRegister()
2702 return LValue::MakeGlobalReg(Ptr, Alignment, VD->getType()); in EmitGlobalNamedRegister()
2756 LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) { in EmitDeclRefLValue()
2812 LValue CapLVal; in EmitDeclRefLValue()
2825 LValue CapLVal = in EmitDeclRefLValue()
2902 LValue LV = VD->getType()->isReferenceType() ? in EmitDeclRefLValue()
2925 LValue LV = EmitFunctionDeclLValue(*this, E, FD); in EmitDeclRefLValue()
2959 LValue CodeGenFunction::EmitUnaryOpLValue(const UnaryOperator *E) { in EmitUnaryOpLValue()
2975 LValue LV = MakeAddrLValue(Addr, T, BaseInfo, TBAAInfo); in EmitUnaryOpLValue()
2990 LValue LV = EmitLValue(E->getSubExpr()); in EmitUnaryOpLValue()
3007 LValue ElemLV = MakeAddrLValue(Component, T, LV.getBaseInfo(), in EmitUnaryOpLValue()
3014 LValue LV = EmitLValue(E->getSubExpr()); in EmitUnaryOpLValue()
3026 LValue CodeGenFunction::EmitStringLiteralLValue(const StringLiteral *E) { in EmitStringLiteralLValue()
3031 LValue CodeGenFunction::EmitObjCEncodeExprLValue(const ObjCEncodeExpr *E) { in EmitObjCEncodeExprLValue()
3036 LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) { in EmitPredefinedLValue()
3628 LValue LV = EmitLValue(E); in EmitArrayToPointerDecay()
3796 LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E, in EmitArraySubscriptExpr()
3830 LValue LHS = EmitLValue(E->getBase()); in EmitArraySubscriptExpr()
3833 return LValue::MakeVectorElt(LHS.getAddress(*this), Idx, in EmitArraySubscriptExpr()
3842 LValue LV = EmitLValue(E->getBase()); in EmitArraySubscriptExpr()
3918 LValue ArrayLV; in EmitArraySubscriptExpr()
3946 LValue LV = MakeAddrLValue(Addr, E->getType(), EltBaseInfo, EltTBAAInfo); in EmitArraySubscriptExpr()
3956 LValue CodeGenFunction::EmitMatrixSubscriptExpr(const MatrixSubscriptExpr *E) { in EmitMatrixSubscriptExpr()
3960 LValue Base = EmitLValue(E->getBase()); in EmitMatrixSubscriptExpr()
3968 return LValue::MakeMatrixElt( in EmitMatrixSubscriptExpr()
3978 LValue BaseLVal; in emitOMPArraySectionBase()
4013 LValue CodeGenFunction::EmitOMPArraySectionExpr(const OMPArraySectionExpr *E, in EmitOMPArraySectionExpr()
4143 LValue ArrayLV; in EmitOMPArraySectionExpr()
4170 LValue CodeGenFunction::
4173 LValue Base; in EmitExtVectorElementExpr()
4213 return LValue::MakeExtVectorElt(Base.getAddress(*this), CV, type, in EmitExtVectorElementExpr()
4224 return LValue::MakeExtVectorElt(Base.getExtVectorAddress(), CV, type, in EmitExtVectorElementExpr()
4228 LValue CodeGenFunction::EmitMemberExpr(const MemberExpr *E) { in EmitMemberExpr()
4236 LValue BaseLV; in EmitMemberExpr()
4256 LValue LV = EmitLValueForField(BaseLV, Field); in EmitMemberExpr()
4278 LValue CodeGenFunction::EmitLValueForLambdaField(const FieldDecl *Field) { in EmitLValueForLambdaField()
4285 LValue LambdaLV = MakeNaturalAlignAddrLValue(CXXABIThisValue, LambdaTagType); in EmitLValueForLambdaField()
4335 static Address emitPreserveStructAccess(CodeGenFunction &CGF, LValue base, in emitPreserveStructAccess()
4367 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
4414 return LValue::MakeBitfield(Addr, Info, fieldType, FieldBaseInfo, in EmitLValueForField()
4504 LValue RefLVal = in EmitLValueForField()
4525 LValue LV = MakeAddrLValue(addr, FieldType, FieldBaseInfo, FieldTBAAInfo); in EmitLValueForField()
4535 LValue
4536 CodeGenFunction::EmitLValueForFieldInitialization(LValue Base, in EmitLValueForFieldInitialization()
4559 LValue CodeGenFunction::EmitCompoundLiteralLValue(const CompoundLiteralExpr *E){ in EmitCompoundLiteralLValue()
4570 LValue Result = MakeAddrLValue(DeclPtr, E->getType(), AlignmentSource::Decl); in EmitCompoundLiteralLValue()
4586 LValue CodeGenFunction::EmitInitListLValue(const InitListExpr *E) { in EmitInitListLValue()
4599 static Optional<LValue> EmitLValueOrThrowExpression(CodeGenFunction &CGF, in EmitLValueOrThrowExpression()
4612 llvm::Optional<LValue> HandleConditionalOperatorLValueSimpleCase( in HandleConditionalOperatorLValueSimpleCase()
4642 Optional<LValue> LHS, RHS;
4698 return LValue{}; in EmitIgnoredConditionalOperator()
4701 LValue CodeGenFunction::EmitConditionalOperatorLValue( in EmitConditionalOperatorLValue()
4711 if (llvm::Optional<LValue> Res = in EmitConditionalOperatorLValue()
4753 LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) { in EmitCastLValue()
4815 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4832 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4850 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4870 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4896 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4910 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4921 LValue LV = EmitLValue(E->getSubExpr()); in EmitCastLValue()
4934 LValue CodeGenFunction::EmitOpaqueValueLValue(const OpaqueValueExpr *e) { in EmitOpaqueValueLValue()
4939 LValue
4943 llvm::DenseMap<const OpaqueValueExpr*,LValue>::iterator in getOrCreateOpaqueLValueMapping()
4967 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
4971 LValue FieldLV = EmitLValueForField(LV, FD); in EmitRValueForField()
5145 LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) { in EmitBinaryOperatorLValue()
5179 LValue LV = EmitCheckedLValue(E->getLHS(), TCK_Store); in EmitBinaryOperatorLValue()
5198 LValue CodeGenFunction::EmitCallExprLValue(const CallExpr *E) { in EmitCallExprLValue()
5212 LValue CodeGenFunction::EmitVAArgExprLValue(const VAArgExpr *E) { in EmitVAArgExprLValue()
5217 LValue CodeGenFunction::EmitCXXConstructLValue(const CXXConstructExpr *E) { in EmitCXXConstructLValue()
5225 LValue
5235 LValue CodeGenFunction::EmitCXXUuidofLValue(const CXXUuidofExpr *E) { in EmitCXXUuidofLValue()
5240 LValue
5249 LValue CodeGenFunction::EmitObjCMessageExprLValue(const ObjCMessageExpr *E) { in EmitObjCMessageExprLValue()
5263 LValue CodeGenFunction::EmitObjCSelectorLValue(const ObjCSelectorExpr *E) { in EmitObjCSelectorLValue()
5274 LValue CodeGenFunction::EmitLValueForIvar(QualType ObjectTy, in EmitLValueForIvar()
5282 LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) { in EmitObjCIvarRefLValue()
5293 LValue BaseLV = EmitLValue(BaseExpr); in EmitObjCIvarRefLValue()
5299 LValue LV = in EmitObjCIvarRefLValue()
5306 LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) { in EmitStmtExprLValue()
5516 LValue CodeGenFunction::
5542 LValue lvalue = MakeAddrLValue(addr, type, AlignmentSource::Decl); in convertTempToRValue()
5567 LValue LV;
5603 LValue LV = CGF.MakeAddrLValue(slot.getAddress(), ov->getType(), in emitPseudoObjectExpr()
5649 LValue CodeGenFunction::EmitPseudoObjectLValue(const PseudoObjectExpr *E) { in EmitPseudoObjectLValue()