Lines Matching refs:FieldOffset
1265 uint64_t FieldOffset = 0; in collectDefaultElementTypesForBlockPointer() local
1272 EltTys.push_back(CreateMemberType(Unit, FType, "__size", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1273 EltTys.push_back(CreateMemberType(Unit, FType, "__align", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1276 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1278 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1279 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1281 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1287 FieldOffset, llvm::DINode::FlagZero, DescTy)); in collectDefaultElementTypesForBlockPointer()
1288 FieldOffset += FieldSize; in collectDefaultElementTypesForBlockPointer()
1291 return FieldOffset; in collectDefaultElementTypesForBlockPointer()
1298 uint64_t FieldOffset; in CreateType() local
1301 FieldOffset = 0; in CreateType()
1303 EltTys.push_back(CreateMemberType(Unit, FType, "reserved", &FieldOffset)); in CreateType()
1304 EltTys.push_back(CreateMemberType(Unit, FType, "Size", &FieldOffset)); in CreateType()
1313 FieldOffset, 0, Flags, nullptr, Elements); in CreateType()
1320 FieldOffset = collectDefaultElementTypesForBlockPointer(Ty, Unit, DescTy, in CreateType()
1329 EltTy = DBuilder.createStructType(Unit, "", nullptr, 0, FieldOffset, 0, in CreateType()
3192 uint64_t FieldOffset; in CreateTypeDefinition() local
3198 FieldOffset = in CreateTypeDefinition()
3200 FieldOffset %= CGM.getContext().getCharWidth(); in CreateTypeDefinition()
3202 FieldOffset = 0; in CreateTypeDefinition()
3205 FieldOffset = RL.getFieldOffset(FieldNo); in CreateTypeDefinition()
3243 FieldSize, FieldAlign, FieldOffset, Flags, in CreateTypeDefinition()
4680 uint64_t FieldSize, FieldOffset; in EmitTypeForVarWithBlocksAttr() local
4686 FieldOffset = 0; in EmitTypeForVarWithBlocksAttr()
4688 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4689 EltTys.push_back(CreateMemberType(Unit, FType, "__forwarding", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4691 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4692 EltTys.push_back(CreateMemberType(Unit, FType, "__size", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4698 CreateMemberType(Unit, FType, "__copy_helper", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4700 CreateMemberType(Unit, FType, "__destroy_helper", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4709 CreateMemberType(Unit, FType, "__byref_variable_layout", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4716 CGM.getContext().toCharUnitsFromBits(FieldOffset); in EmitTypeForVarWithBlocksAttr()
4724 EltTys.push_back(CreateMemberType(Unit, FType, "", &FieldOffset)); in EmitTypeForVarWithBlocksAttr()
4733 *XOffset = FieldOffset; in EmitTypeForVarWithBlocksAttr()
4735 Unit, VD->getName(), Unit, 0, FieldSize, FieldAlign, FieldOffset, in EmitTypeForVarWithBlocksAttr()
4738 FieldOffset += FieldSize; in EmitTypeForVarWithBlocksAttr()
4741 return {DBuilder.createStructType(Unit, "", Unit, 0, FieldOffset, 0, in EmitTypeForVarWithBlocksAttr()