Searched refs:OffsetSize (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugPubTable.cpp | 48 const unsigned OffsetSize = dwarf::getDwarfOffsetByteSize(NewSet.Format); in extract() local 51 NewSet.Offset = SetData.getRelocatedValue(C, OffsetSize); in extract() 52 NewSet.Size = SetData.getUnsigned(C, OffsetSize); in extract() 66 uint64_t DieRef = SetData.getUnsigned(C, OffsetSize); in extract() 89 SetOffset, C.tell() - OffsetSize, Offset - OffsetSize)); in extract()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCDwarf.cpp | 507 unsigned OffsetSize = dwarf::getDwarfOffsetByteSize(context.getDwarfFormat()); in Emit() local 527 MCOS->emitAbsoluteSymbolDiff(ProEndSym, ProStartSym, OffsetSize); in Emit() 839 unsigned OffsetSize = dwarf::getDwarfOffsetByteSize(context.getDwarfFormat()); in EmitGenDwarfAranges() local 843 int Length = UnitLengthBytes + 2 + OffsetSize + 1 + 1; in EmitGenDwarfAranges() 866 MCOS->emitIntValue(Length - UnitLengthBytes, OffsetSize); in EmitGenDwarfAranges() 872 MCOS->emitSymbolValue(InfoSectionSymbol, OffsetSize, in EmitGenDwarfAranges() 875 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfAranges() 926 unsigned OffsetSize = dwarf::getDwarfOffsetByteSize(context.getDwarfFormat()); in EmitGenDwarfInfo() local 936 emitAbsValue(*MCOS, Length, OffsetSize); in EmitGenDwarfInfo() 952 MCOS->emitSymbolValue(AbbrevSectionSymbol, OffsetSize, in EmitGenDwarfInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | ArchiveWriter.cpp | 385 uint64_t NumSyms, uint64_t OffsetSize, in computeSymbolTableSize() argument 388 assert((OffsetSize == 4 || OffsetSize == 8) && "Unsupported OffsetSize"); in computeSymbolTableSize() 389 uint64_t Size = OffsetSize; // Number of entries in computeSymbolTableSize() 391 Size += NumSyms * OffsetSize * 2; // Table in computeSymbolTableSize() 393 Size += NumSyms * OffsetSize; // Table in computeSymbolTableSize() 395 Size += OffsetSize; // byte count in computeSymbolTableSize() 463 uint32_t OffsetSize = is64BitKind(Kind) ? 8 : 4; in computeHeadersSize() local 465 computeSymbolTableSize(Kind, NumSyms, OffsetSize, SymNamesSize); in computeHeadersSize() 606 uint64_t OffsetSize = is64BitKind(Kind) ? 8 : 4; in writeSymbolTable() local 608 uint64_t Size = computeSymbolTableSize(Kind, NumSyms, OffsetSize, in writeSymbolTable() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 302 TypeSize OffsetSize = TypeSize::getFixed(Offset.getLimitedValue()); in requiresStackProtector() 303 if (!TypeSize::isKnownGT(AllocSize, OffsetSize)) in requiresStackProtector() 309 TypeSize::getFixed(AllocSize.getKnownMinValue()) - OffsetSize; in requiresStackProtector() 219 TypeSize OffsetSize = TypeSize::Fixed(Offset.getLimitedValue()); HasAddressTaken() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86AsmBackend.cpp | 1174 unsigned OffsetSize; ///< Offset of a "push" instruction. member in __anon88078d0f0411::DarwinX86AsmBackend 1317 OffsetSize = Is64Bit ? 8 : 4; in DarwinX86AsmBackend() 1421 StackAdjust += OffsetSize; in generateCompactUnwindEncoding() 1438 if (SavedRegIdx != 0 && MinAbsOffset != 3 * (int)OffsetSize) in generateCompactUnwindEncoding()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 4396 const unsigned OffsetSize = 24; in validateOffset() local 4397 if (!isIntN(OffsetSize, Op.getImm())) { in validateOffset() 4399 Twine("expected a ") + Twine(OffsetSize) + "-bit signed offset"); in validateOffset() 4403 const unsigned OffsetSize = 16; in validateOffset() local 4404 if (!isUIntN(OffsetSize, Op.getImm())) { in validateOffset() 4406 Twine("expected a ") + Twine(OffsetSize) + "-bit unsigned offset"); in validateOffset() 4432 unsigned OffsetSize = AMDGPU::getNumFlatOffsetBits(getSTI()); in validateFlatOffset() local 4436 if (!isIntN(OffsetSize, Op.getImm()) || (!AllowNegative && Op.getImm() < 0)) { in validateFlatOffset() 4439 (AllowNegative ? Twine(OffsetSize) + "-bit signed offset" in validateFlatOffset() 4440 : Twine(OffsetSize - 1) + "-bit unsigned offset")); in validateFlatOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 299 unsigned OffsetSize = PtrIdxTy->getIntegerBitWidth(); in foldCmpLoadFromIndexedGlobal() local 300 if (Idx->getType()->getPrimitiveSizeInBits().getFixedValue() > OffsetSize) in foldCmpLoadFromIndexedGlobal()
|