Lines Matching defs:lvalue
608 "materialized temporary field is not a simple lvalue");
627 // Emit the expression as an lvalue.
1230 // Store the updated result through the lvalue.
1498 /// If this returns a normal address, and if the lvalue's C type is fixed size,
1500 /// type of the same size of the lvalue's type. If the lvalue has a variable
1602 // bitfield lvalue or some other non-simple lvalue?
1841 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue,
1843 return EmitLoadOfScalar(lvalue.getAddress(), lvalue.isVolatile(),
1844 lvalue.getType(), Loc, lvalue.getBaseInfo(),
1845 lvalue.getTBAAInfo(), lvalue.isNontemporal());
2092 static void EmitStoreOfMatrixScalar(llvm::Value *value, LValue lvalue,
2094 Address Addr = MaybeConvertMatrixAddress(lvalue.getAddress(), CGF,
2096 CGF.EmitStoreOfScalar(value, Addr, lvalue.isVolatile(), lvalue.getType(),
2097 lvalue.getBaseInfo(), lvalue.getTBAAInfo(), isInit,
2098 lvalue.isNontemporal());
2150 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue,
2152 if (lvalue.getType()->isConstantMatrixType()) {
2153 EmitStoreOfMatrixScalar(value, lvalue, isInit, *this);
2157 EmitStoreOfScalar(value, lvalue.getAddress(), lvalue.isVolatile(),
2158 lvalue.getType(), lvalue.getBaseInfo(),
2159 lvalue.getTBAAInfo(), isInit, lvalue.isNontemporal());
2187 /// EmitLoadOfLValue - Given an expression that represents a value lvalue, this
2188 /// method emits the address of the lvalue, then loads the result as an rvalue,
2323 /// Generates lvalue for partial ext_vector access.
2364 /// lvalue, where both are guaranteed to the have the same type, and that type
2663 // setObjCGCLValueClass - sets class of the lvalue for the purpose of
3043 // Mark lvalue as nontemporal if the variable is marked as nontemporal
3060 // Mark lvalue as nontemporal if the variable is marked as nontemporal
3194 // __extension__ doesn't affect lvalue-ness.
3200 default: llvm_unreachable("Unknown unary operator lvalue!");
3911 // base lvalue. However, since TBAA currently does not support representing
3913 // to the pointee object as if it had no any base lvalue specified.
4191 // If the base is a vector type, then we are forming a vector element lvalue
4195 // Emit the vector as an lvalue to get its address.
4198 assert(LHS.isSimple() && "Can only subscript lvalue vectors here!");
4584 // If it is a pointer to a vector, emit the address and form an lvalue with
4593 // Otherwise, if the base is an lvalue ( as in the case of foo.x.x),
4594 // emit the base as an lvalue.
4623 assert(Base.isExtVectorElt() && "Can only subscript lvalue vec elts here!");
4642 // If this is s.x, emit s as an lvalue. If it is s->x, emit s as a scalar.
4667 // nontemporal. If the base lvalue is marked as nontemporal, mark access
4708 // Make sure we have an lvalue to the lambda itself and not a derived class.
4875 // one for this base lvalue.
5032 // An lvalue initializer list must be initializing a reference.
5066 // If a throw expression we emit it and return an undefined lvalue
5186 /// type. If the cast is to a reference, we can have the usual lvalue result,
5187 /// otherwise if a cast is needed by the code generator in an lvalue context,
5241 return EmitUnsupportedLValue(E, "unexpected cast lvalue");
5369 llvm_unreachable("NULL to OpenCL opaque type lvalue cast is not valid");
5374 return EmitUnsupportedLValue(E, "unexpected cast lvalue");
5379 llvm_unreachable("Unhandled lvalue cast kind?");
5430 // Call EmitLoadOfScalar except when the lvalue is a bitfield to emit a
5729 AggValueSlot Slot = CreateAggTemp(E->getType(), "temp.lvalue");
6076 LValue lvalue = MakeAddrLValue(addr, type, AlignmentSource::Decl);
6079 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc));
6081 return lvalue.asAggregateRValue();
6083 return RValue::get(EmitLoadOfScalar(lvalue, loc));