Lines Matching defs:lvalue
682 const LValue &destLV, const Expr *init) {
702 LValue srcLV = CGF.EmitLValue(srcExpr);
732 LValue &lvalue,
734 lvalue.setAddress(CGF.emitBlockByrefAddress(lvalue.getAddress(CGF), var));
737 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS,
759 LValue lvalue, bool capturedByInit) {
760 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime();
764 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
765 EmitNullabilityCheck(lvalue, value, init->getExprLoc());
766 EmitStoreThroughLValue(RValue::get(value), lvalue, true);
777 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit);
788 LValue tempLV = lvalue;
836 if (!accessedByInit && tryEmitARCCopyWeakInit(*this, lvalue, init)) {
845 if (capturedByInit) drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
847 EmitARCStoreWeak(lvalue.getAddress(*this), value, /*ignored*/ true);
849 EmitARCInitWeak(lvalue.getAddress(*this), value);
858 if (capturedByInit) drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
860 EmitNullabilityCheck(lvalue, value, init->getExprLoc());
866 llvm::Value *oldValue = EmitLoadOfScalar(lvalue, init->getExprLoc());
867 EmitStoreOfScalar(value, lvalue, /* isInitialization */ true);
872 EmitStoreOfScalar(value, lvalue, /* isInitialization */ true);
1825 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type);
1890 LValue lv = MakeAddrLValue(Loc, type);
1897 LValue lv = MakeAddrLValue(Loc, type);
1915 /// \param lvalue the lvalue to initialize
1919 LValue lvalue, bool capturedByInit) {
1925 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
1926 EmitStoreThroughLValue(rvalue, lvalue, true);
1931 EmitScalarInit(init, D, lvalue, capturedByInit);
1936 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
1937 EmitStoreOfComplex(complex, lvalue, /*init*/ true);
1942 EmitAtomicInit(const_cast<Expr*>(init), lvalue);
1951 lvalue, *this, AggValueSlot::IsDestructed,
2506 LValue lv = MakeAddrLValue(DeclPtr, Ty);