/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A 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 …]
|
H A D | MicrosoftMangle.cpp | 692 int64_t FieldOffset; in mangleMemberDataPointer() local 696 FieldOffset = getASTContext().getFieldOffset(VD); in mangleMemberDataPointer() 697 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer() 699 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer() 704 FieldOffset -= getASTContext().getOffsetOfBaseWithVBPtr(RD).getQuantity(); in mangleMemberDataPointer() 706 FieldOffset = RD->nullFieldOffsetIsZero() ? 0 : -1; in mangleMemberDataPointer() 732 mangleNumber(FieldOffset); in mangleMemberDataPointer()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Descriptor.cpp | 149 unsigned FieldOffset) { in initField() argument 150 auto *Desc = reinterpret_cast<InlineDescriptor *>(Ptr + FieldOffset) - 1; in initField() 151 Desc->Offset = FieldOffset; in initField() 160 Fn(B, Ptr + FieldOffset, Desc->IsConst, Desc->IsFieldMutable, in initField() 165 bool IsActive, const Descriptor *D, unsigned FieldOffset, in initBase() argument 171 auto *Desc = reinterpret_cast<InlineDescriptor *>(Ptr + FieldOffset) - 1; in initBase() 172 Desc->Offset = FieldOffset; in initBase() 182 initBase(B, Ptr + FieldOffset, IsConst, IsMutable, IsActive, V.Desc, in initBase() 185 initField(B, Ptr + FieldOffset, IsConst, IsMutable, IsActive, IsUnion, in initBase() 200 unsigned FieldOffset) { in destroyField() argument [all …]
|
H A D | InterpBuiltin.cpp | 1537 unsigned FieldOffset = R->getField(0u)->Offset; in SetThreeWayComparisonField() local 1538 const Pointer &FieldPtr = Ptr.atField(FieldOffset); in SetThreeWayComparisonField()
|
H A D | Compiler.cpp | 4701 auto emitFieldInitializer = [&](const Record::Field *F, unsigned FieldOffset, in visitFunc() 4712 return this->emitInitThisBitField(*T, F, FieldOffset, InitExpr); in visitFunc() 4713 return this->emitInitThisField(*T, FieldOffset, InitExpr); in visitFunc() 4718 if (!this->emitGetPtrThisField(FieldOffset, InitExpr)) in visitFunc()
|
H A D | Interp.h | 1387 uint32_t FieldOffset) { in InitThisBitField() argument 1394 const Pointer &Field = This.atField(FieldOffset); in InitThisBitField()
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exfldio.c | 839 UINT32 FieldOffset = 0; in AcpiExExtractFromField() local 907 Status = AcpiExFieldDatumIo (ObjDesc, FieldOffset, &RawDatum, ACPI_READ); in AcpiExExtractFromField() 920 FieldOffset += ObjDesc->CommonField.AccessByteWidth; in AcpiExExtractFromField() 922 ObjDesc, FieldOffset, &RawDatum, ACPI_READ); in AcpiExExtractFromField() 1002 UINT32 FieldOffset = 0; in AcpiExInsertIntoField() local 1088 ObjDesc, Mask, MergedDatum, FieldOffset); in AcpiExInsertIntoField() 1094 FieldOffset += ObjDesc->CommonField.AccessByteWidth; in AcpiExInsertIntoField() 1146 ObjDesc, Mask, MergedDatum, FieldOffset); in AcpiExInsertIntoField()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 207 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() local 208 PaddingSum += (FieldOffset - Offset); in calculateBaselinePad() 209 Offset = FieldOffset + FieldSize; in calculateBaselinePad()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A 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()
|
H A D | CGDebugInfo.cpp | 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() [all …]
|
H A D | CGBlocks.h | 141 CharUnits FieldOffset; variable
|
H A D | CGExprConstant.cpp | 582 bool AppendField(const FieldDecl *Field, uint64_t FieldOffset, 588 bool AppendBitField(const FieldDecl *Field, uint64_t FieldOffset, 598 const FieldDecl *Field, uint64_t FieldOffset, llvm::Constant *InitCst, in AppendField() argument 602 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField() 614 uint64_t FieldOffset, llvm::Constant *C, in AppendBitField() argument 649 CGM.getContext().toBits(StartOffset) + FieldOffset, in AppendBitField()
|
H A D | CGObjCMac.cpp | 991 CharUnits FieldOffset, 2438 CharUnits FieldOffset, in UpdateRunSkipBlockVars() argument 2442 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_BYREF, FieldOffset, in UpdateRunSkipBlockVars() 2445 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_STRONG, FieldOffset, in UpdateRunSkipBlockVars() 2448 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_WEAK, FieldOffset, in UpdateRunSkipBlockVars() 2451 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_UNRETAINED, FieldOffset, in UpdateRunSkipBlockVars() 2455 FieldOffset, in UpdateRunSkipBlockVars() 2480 CharUnits FieldOffset = in BuildRCRecordLayout() local 2486 LastBitfieldOrUnnamedOffset = FieldOffset; in BuildRCRecordLayout() 2497 BytePos + FieldOffset, HasUnion); in BuildRCRecordLayout() [all …]
|
H A D | MicrosoftCXXABI.cpp | 2924 CharUnits FieldOffset = Ctx.toCharUnitsFromBits(Ctx.getFieldOffset(MPD)); in EmitMemberPointer() local 2930 C = EmitMemberDataPointer(RD, FieldOffset); in EmitMemberPointer() 3242 llvm::Value *FieldOffset = MemPtr; in EmitMemberDataPointerAddress() local 3248 FieldOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitMemberDataPointerAddress() 3264 return Builder.CreateInBoundsGEP(CGF.Int8Ty, Addr, FieldOffset, in EmitMemberDataPointerAddress()
|
H A D | CGBlocks.cpp | 2475 byrefInfo.ByrefAlignment.alignmentAtOffset(byrefInfo.FieldOffset); in buildByrefHelpers() 2664 info.FieldOffset = varOffset; in getBlockByrefInfo()
|
H A D | ItaniumCXXABI.cpp | 1232 CharUnits FieldOffset = in EmitMemberPointer() local 1234 return EmitMemberDataPointer(MPT, ThisAdjustment + FieldOffset); in EmitMemberPointer()
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtbdump2.c | 1522 UINT32 FieldOffset = 0; in AcpiDmDumpNfit() local 1572 FieldOffset = sizeof (ACPI_NFIT_INTERLEAVE); in AcpiDmDumpNfit() 1596 FieldOffset = sizeof (ACPI_NFIT_FLUSH_ADDRESS); in AcpiDmDumpNfit() 1635 Status = AcpiDmDumpTable (Table->Length, Offset + FieldOffset, in AcpiDmDumpNfit() 1643 FieldOffset += sizeof (UINT32); in AcpiDmDumpNfit() 1671 Status = AcpiDmDumpTable (Table->Length, Offset + FieldOffset, in AcpiDmDumpNfit() 1679 FieldOffset += sizeof (UINT64); in AcpiDmDumpNfit()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeRecord.h | 791 FieldOffset(Offset), Name(Name) {} in DataMemberRecord() 795 FieldOffset(Offset), Name(Name) {} in DataMemberRecord() 799 uint64_t getFieldOffset() const { return FieldOffset; } in getFieldOffset() 804 uint64_t FieldOffset = 0; variable
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | X86.cpp | 2363 unsigned FieldOffset = (unsigned)Layout.getFieldOffset(idx); in BitsContainNoUserData() local 2366 if (FieldOffset >= EndBit) break; in BitsContainNoUserData() 2368 unsigned FieldStart = FieldOffset < StartBit ? StartBit-FieldOffset :0; in BitsContainNoUserData() 2369 if (!BitsContainNoUserData(i->getType(), FieldStart, EndBit-FieldOffset, in BitsContainNoUserData()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | UdtRecordCompleter.cpp | 243 uint64_t offset = data_member.FieldOffset * 8; in visitKnownMember()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.cpp | 1683 uint64_t FieldOffset = (HiMark - FieldSize); in constructMemberDIE() local 1684 Offset -= FieldOffset; in constructMemberDIE() 1696 OffsetInBytes = FieldOffset >> 3; in constructMemberDIE()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | MinimalTypeDumper.cpp | 551 Field.Type, Field.FieldOffset, memberAttributes(Field.Attrs)); in visitKnownMember()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordMapping.cpp | 665 error(IO.mapEncodedInteger(Record.FieldOffset, "FieldOffset")); in visitKnownMember()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLTypes.cpp | 635 IO.mapRequired("FieldOffset", Record.FieldOffset); in map()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 7297 const MDOperand &FieldOffset = BaseNode->getOperand(Idx + 1); in verifyTBAABaseNodeImpl() local 7305 mdconst::dyn_extract_or_null<ConstantInt>(FieldOffset); in verifyTBAABaseNodeImpl()
|