Home
last modified time | relevance | path

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

12

/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 …]
DMicrosoftMangle.cpp533 int64_t FieldOffset; in mangleMemberDataPointer() local
537 FieldOffset = getASTContext().getFieldOffset(VD); in mangleMemberDataPointer()
538 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer()
540 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
545 FieldOffset -= getASTContext().getOffsetOfBaseWithVBPtr(RD).getQuantity(); in mangleMemberDataPointer()
547 FieldOffset = RD->nullFieldOffsetIsZero() ? 0 : -1; in mangleMemberDataPointer()
562 mangleNumber(FieldOffset); in mangleMemberDataPointer()
/external/swiftshader/third_party/llvm-7.0/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.ll48 ; CHECK-NEXT: FieldOffset: 0x0
55 ; CHECK-NEXT: FieldOffset: 0x0
76 ; CHECK-NEXT: FieldOffset: 0x0
98 ; CHECK-NEXT: FieldOffset: 0x0
105 ; CHECK-NEXT: FieldOffset: 0x4
112 ; CHECK-NEXT: FieldOffset: 0x8
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
295 ; CHECK: FieldOffset: 0x18
338 ; CHECK: FieldOffset: 0x0
Danonymous-struct.ll14 ; CHECK: FieldOffset: 0x0
19 ; CHECK: FieldOffset: 0x4
Dtypes-recursive-struct.ll85 ; CHECK: FieldOffset: 0x0
116 ; CHECK: FieldOffset: 0x0
Dconst-unnamed-member.ll18 ; CHECK: FieldOffset: 0x0
Ddefer-complete-type.ll89 ; CHECK: FieldOffset: 0x0
122 ; CHECK: FieldOffset: 0x0
Dtype-quals.ll144 ; CHECK: FieldOffset: 0x0
151 ; CHECK: FieldOffset: 0x0
158 ; CHECK: FieldOffset: 0x0
290 ; 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/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dcodeview-merging-anon.test18 CHECK-NEXT: FieldOffset: 0x0
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h762 FieldOffset(Offset), Name(Name) {} in DataMemberRecord()
766 FieldOffset(Offset), Name(Name) {} in DataMemberRecord()
770 uint64_t getFieldOffset() const { return FieldOffset; } in getFieldOffset()
775 uint64_t FieldOffset; variable
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h997 FieldOffset(Offset), Name(Name) {} in DataMemberRecord()
1008 uint64_t getFieldOffset() const { return FieldOffset; } in getFieldOffset()
1021 uint64_t FieldOffset; variable

12