/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 143 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/ |
D | RecordLayoutBuilder.cpp | 144 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/ |
D | bitfields.ll | 41 ; 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 …]
|
D | unnamed.ll | 49 ; 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
|
D | types-data-members.ll | 91 ; 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 …]
|
D | anonymous-struct.ll | 15 ; CHECK: FieldOffset: 0x0 20 ; CHECK: FieldOffset: 0x4
|
D | types-recursive-struct.ll | 85 ; CHECK: FieldOffset: 0x0 116 ; CHECK: FieldOffset: 0x0
|
D | const-unnamed-member.ll | 19 ; CHECK: FieldOffset: 0x0
|
D | defer-complete-type.ll | 88 ; CHECK: FieldOffset: 0x0 121 ; CHECK: FieldOffset: 0x0
|
/external/llvm/test/DebugInfo/COFF/ |
D | bitfields.ll | 41 ; 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 …]
|
D | types-data-members.ll | 89 ; 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 …]
|
D | anonymous-struct.ll | 14 ; CHECK: FieldOffset: 0x0 19 ; CHECK: FieldOffset: 0x4
|
D | types-recursive-struct.ll | 85 ; CHECK: FieldOffset: 0x0 116 ; CHECK: FieldOffset: 0x0
|
D | defer-complete-type.ll | 89 ; CHECK: FieldOffset: 0x0 122 ; CHECK: FieldOffset: 0x0
|
/external/llvm-project/llvm/test/DebugInfo/PDB/ |
D | pdbdump-yaml-types.test | 124 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/ |
D | json_map_decl_visitor.cc | 137 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/ |
D | cache_frag.cpp | 31 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/ |
D | PaddingChecker.cpp | 178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() local 179 PaddingSum += (FieldOffset - Offset); in calculateBaselinePad() 180 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 781 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 …]
|
D | CGExprConstant.cpp | 61 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()
|
D | CGBlocks.h | 149 CharUnits FieldOffset; variable
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 202 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/ |
D | CGDebugInfo.cpp | 1109 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 …]
|
D | CGNonTrivialStruct.cpp | 164 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/ |
D | codeview-merging-anon.test | 18 CHECK-NEXT: FieldOffset: 0x0
|