Home
last modified time | relevance | path

Searched refs:FieldOffset (Results 1 – 25 of 69) sorted by relevance

123

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset() local
144 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
147 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset()
307 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceBaseSubobjectAtOffset() local
308 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceBaseSubobjectAtOffset()
354 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyBaseSubobjects() local
355 UpdateEmptyFieldSubobjects(*I, FieldOffset); in UpdateEmptyBaseSubobjects()
419 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceFieldSubobjectAtOffset() local
421 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceFieldSubobjectAtOffset()
523 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyFieldSubobjects() local
[all …]
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp144 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset() local
145 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
148 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset()
308 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceBaseSubobjectAtOffset() local
309 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceBaseSubobjectAtOffset()
355 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyBaseSubobjects() local
356 UpdateEmptyFieldSubobjects(*I, FieldOffset, PlacingEmptyBase); in UpdateEmptyBaseSubobjects()
420 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceFieldSubobjectAtOffset() local
422 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceFieldSubobjectAtOffset()
531 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyFieldSubobjects() local
[all …]
/external/llvm-project/llvm/test/DebugInfo/COFF/
Dbitfields.ll41 ; CHECK: FieldOffset: 0x1
71 ; CHECK: FieldOffset: 0x0
77 ; CHECK: FieldOffset: 0x1
100 ; CHECK: FieldOffset: 0x0
105 ; CHECK: FieldOffset: 0x2
110 ; CHECK: FieldOffset: 0x3
115 ; CHECK: FieldOffset: 0x7
120 ; CHECK: FieldOffset: 0x7
125 ; CHECK: FieldOffset: 0xB
130 ; CHECK: FieldOffset: 0xE
[all …]
Dunnamed.ll49 ; CHECK-NEXT: FieldOffset: 0x0
56 ; CHECK-NEXT: FieldOffset: 0x0
77 ; CHECK-NEXT: FieldOffset: 0x0
99 ; CHECK-NEXT: FieldOffset: 0x0
106 ; CHECK-NEXT: FieldOffset: 0x4
113 ; CHECK-NEXT: FieldOffset: 0x8
Dtypes-data-members.ll91 ; CHECK: FieldOffset: 0x0
97 ; CHECK: FieldOffset: 0x4
103 ; CHECK: FieldOffset: 0x8
153 ; CHECK: FieldOffset: 0x0
159 ; CHECK: FieldOffset: 0x0
200 ; CHECK: FieldOffset: 0x0
206 ; CHECK: FieldOffset: 0x4
212 ; CHECK: FieldOffset: 0x8
295 ; CHECK: FieldOffset: 0x18
338 ; CHECK: FieldOffset: 0x0
[all …]
Danonymous-struct.ll15 ; CHECK: FieldOffset: 0x0
20 ; CHECK: FieldOffset: 0x4
Dtypes-recursive-struct.ll85 ; CHECK: FieldOffset: 0x0
116 ; CHECK: FieldOffset: 0x0
Dconst-unnamed-member.ll19 ; CHECK: FieldOffset: 0x0
Ddefer-complete-type.ll88 ; CHECK: FieldOffset: 0x0
121 ; CHECK: FieldOffset: 0x0
/external/llvm/test/DebugInfo/COFF/
Dbitfields.ll41 ; CHECK: FieldOffset: 0x1
86 ; CHECK: FieldOffset: 0x0
91 ; CHECK: FieldOffset: 0x2
96 ; CHECK: FieldOffset: 0x3
101 ; CHECK: FieldOffset: 0x7
106 ; CHECK: FieldOffset: 0x7
111 ; CHECK: FieldOffset: 0xB
116 ; CHECK: FieldOffset: 0xE
133 ; CHECK: FieldOffset: 0x0
138 ; CHECK: FieldOffset: 0x1
[all …]
Dtypes-data-members.ll89 ; CHECK: FieldOffset: 0x0
95 ; CHECK: FieldOffset: 0x4
101 ; CHECK: FieldOffset: 0x8
151 ; CHECK: FieldOffset: 0x0
157 ; CHECK: FieldOffset: 0x0
198 ; CHECK: FieldOffset: 0x0
204 ; CHECK: FieldOffset: 0x4
210 ; CHECK: FieldOffset: 0x8
309 ; CHECK: FieldOffset: 0x0
315 ; CHECK: FieldOffset: 0x18
[all …]
Danonymous-struct.ll14 ; CHECK: FieldOffset: 0x0
19 ; CHECK: FieldOffset: 0x4
Dtypes-recursive-struct.ll85 ; CHECK: FieldOffset: 0x0
116 ; CHECK: FieldOffset: 0x0
Ddefer-complete-type.ll89 ; CHECK: FieldOffset: 0x0
122 ; CHECK: FieldOffset: 0x0
/external/llvm-project/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml-types.test124 YAML: FieldOffset: 0
241 YAML: FieldOffset: 0
247 YAML: FieldOffset: 4
347 YAML: FieldOffset: 0
454 YAML: FieldOffset: 0
460 YAML: FieldOffset: 4
466 YAML: FieldOffset: 8
607 YAML: FieldOffset: 0
613 YAML: FieldOffset: 4
619 YAML: FieldOffset: 8
[all …]
/external/bcc/src/cc/
Djson_map_decl_visitor.cc137 CharUnits FieldOffset = C.toCharUnitsFromBits(FieldOffsetBits); in VisitRecordDecl() local
139 uint64_t Padding = (FieldOffset - Offset).getQuantity(); in VisitRecordDecl()
145 Offset = FieldOffset + FieldSize; in VisitRecordDecl()
/external/compiler-rt/lib/esan/
Dcache_frag.cpp31 u32 *FieldOffset; // auxiliary struct field info. member
36 bool hasAuxFieldInfo() { return FieldOffset != nullptr; } in hasAuxFieldInfo()
107 i, Struct->FieldOffset[i], Struct->FieldSize[i], in reportStructCounter()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() local
179 PaddingSum += (FieldOffset - Offset); in calculateBaselinePad()
180 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp781 uint64_t FieldSize, FieldOffset; in CreateType() local
785 FieldOffset = 0; in CreateType()
787 EltTys.push_back(CreateMemberType(Unit, FType, "reserved", &FieldOffset)); in CreateType()
788 EltTys.push_back(CreateMemberType(Unit, FType, "Size", &FieldOffset)); in CreateType()
798 FieldOffset, 0, Flags, nullptr, Elements); in CreateType()
805 FieldOffset = 0; in CreateType()
807 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in CreateType()
809 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in CreateType()
810 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in CreateType()
812 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in CreateType()
[all …]
DCGExprConstant.cpp61 void AppendField(const FieldDecl *Field, uint64_t FieldOffset,
66 void AppendBitField(const FieldDecl *Field, uint64_t FieldOffset,
95 AppendField(const FieldDecl *Field, uint64_t FieldOffset, in AppendField() argument
99 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField()
157 uint64_t FieldOffset, in AppendBitField() argument
162 if (FieldOffset > NextFieldOffsetInBits) { in AppendBitField()
165 llvm::alignTo(FieldOffset - NextFieldOffsetInBits, in AppendBitField()
187 if (FieldOffset < NextFieldOffsetInBits) { in AppendBitField()
192 unsigned BitsInPreviousByte = NextFieldOffsetInBits - FieldOffset; in AppendBitField()
DCGBlocks.h149 CharUnits FieldOffset; variable
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp202 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() local
203 PaddingSum += (FieldOffset - Offset); in calculateBaselinePad()
204 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp1109 uint64_t FieldOffset = 0; in collectDefaultElementTypesForBlockPointer() local
1116 EltTys.push_back(CreateMemberType(Unit, FType, "__size", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1117 EltTys.push_back(CreateMemberType(Unit, FType, "__align", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1120 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1122 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1123 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1125 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in collectDefaultElementTypesForBlockPointer()
1131 FieldOffset, llvm::DINode::FlagZero, DescTy)); in collectDefaultElementTypesForBlockPointer()
1132 FieldOffset += FieldSize; in collectDefaultElementTypesForBlockPointer()
1135 return FieldOffset; in collectDefaultElementTypesForBlockPointer()
[all …]
DCGNonTrivialStruct.cpp164 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitARCStrong() local
165 appendStr(getVolatileOffsetStr(FT.isVolatileQualified(), FieldOffset)); in visitARCStrong()
171 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitARCWeak() local
172 appendStr(getVolatileOffsetStr(FT.isVolatileQualified(), FieldOffset)); in visitARCWeak()
177 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitStruct() local
179 asDerived().visitStructFields(QT, FieldOffset); in visitStruct()
191 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitArray() local
197 appendStr("_AB" + llvm::to_string(FieldOffset.getQuantity()) + "s" + in visitArray()
201 asDerived().visitWithKind(FK, EltTy, nullptr, FieldOffset); in visitArray()
/external/llvm-project/llvm/test/tools/llvm-readobj/COFF/
Dcodeview-merging-anon.test18 CHECK-NEXT: FieldOffset: 0x0

123