Lines Matching defs:field

557   // Perform derived-to-base casts and/or field accesses, to get from the
575 "materialized temporary field is not a simple lvalue");
614 /// input field number being accessed.
2033 // Get the source value, truncated to the width of the bit-field.
2074 // Return the new value of the bit-field, if requested.
2199 // If ivar is a structure pointer, assigning to field of
3977 /// Get the field index in the debug info. The debug info structure/union
3994 /// Get the address of a zero-sized field within a record. The resulting
4006 /// Drill down to the storage of a field without walking into
4011 const FieldDecl *field) {
4012 if (field->isZeroSize(CGF.getContext()))
4013 return emitAddrOfZeroSizeField(CGF, base, field);
4015 const RecordDecl *rec = field->getParent();
4018 CGF.CGM.getTypes().getCGRecordLayout(rec).getLLVMFieldNo(field);
4020 return CGF.Builder.CreateStructGEP(base, idx, field->getName());
4024 const FieldDecl *field) {
4025 const RecordDecl *rec = field->getParent();
4030 CGF.CGM.getTypes().getCGRecordLayout(rec).getLLVMFieldNo(field);
4033 base, idx, CGF.getDebugInfoFIndex(rec, field->getFieldIndex()), DbgInfo);
4056 const FieldDecl *field) {
4059 if (field->isBitField()) {
4061 CGM.getTypes().getCGRecordLayout(field->getParent());
4062 const CGBitFieldInfo &Info = RL.getBitFieldInfo(field);
4064 unsigned Idx = RL.getLLVMFieldNo(field);
4065 const RecordDecl *rec = field->getParent();
4069 // For structs, we GEP to the field that the record layout suggests.
4070 Addr = Builder.CreateStructGEP(Addr, Idx, field->getName());
4075 getDebugInfoFIndex(rec, field->getFieldIndex()),
4086 field->getType().withCVRQualifiers(base.getVRQualifiers());
4096 QualType FieldType = field->getType();
4097 const RecordDecl *rec = field->getParent();
4119 getContext().getASTRecordLayout(field->getParent());
4123 Layout.getFieldOffset(field->getFieldIndex()) / CharWidth;
4135 // Getting to any field of dynamic object requires stripping dynamic
4150 // a barrier every time CXXRecord field with vptr is referenced.
4156 // Remember the original union field index
4161 addr.getPointer(), getDebugInfoFIndex(rec, field->getFieldIndex()), DbgInfo),
4167 addr, CGM.getTypes().ConvertTypeForMem(FieldType), field->getName());
4171 // For structs, we GEP to the field that the record layout suggests.
4172 addr = emitAddrOfFieldStorage(*this, addr, field);
4174 // Remember the original struct field index
4175 addr = emitPreserveStructAccess(*this, addr, field);
4178 // If this is a reference field, load the reference right now.
4196 addr, CGM.getTypes().ConvertTypeForMem(FieldType), field->getName());
4198 if (field->hasAttr<AnnotateAttr>())
4199 addr = EmitFieldAnnotations(field, addr);
4204 // __weak attribute on a field is ignored.
4226 // member access and not just an access to an object of the field's type. This