Home
last modified time | relevance | path

Searched refs:ByteSize (Results 1 – 23 of 23) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp70 std::optional<uint8_t> ByteSize; in extract() local
97 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract()
99 FixedAttributeSize->NumBytes += *ByteSize; in extract()
109 AttributeSpecs.push_back(AttributeSpec(A, F, ByteSize)); in extract()
201 size_t ByteSize = NumBytes; in getByteSize() local
203 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize()
205 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize()
207 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize()
208 return ByteSize; in getByteSize()
215 if (ByteSize.HasByteSize) in getByteSize()
[all …]
H A DDWARFDie.cpp679 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()
691 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h34 std::optional<uint8_t> ByteSize) in AttributeSpec()
37 this->ByteSize.HasByteSize = ByteSize.has_value(); in AttributeSpec()
38 if (this->ByteSize.HasByteSize) in AttributeSpec()
39 this->ByteSize.ByteSize = *ByteSize; in AttributeSpec()
61 uint8_t ByteSize; member
64 ByteSizeStorage ByteSize; member
H A DDWARFAttribute.h28 uint32_t ByteSize = 0; member
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASourceFile.cpp33 DWORD ByteSize = 0; in getChecksum() local
34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum()
35 if (ByteSize == 0) in getChecksum()
37 std::vector<BYTE> ChecksumBytes(ByteSize); in getChecksum()
38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
/openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h84 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag,
87 : QualifiedNameHash(Hash), Line(Line), ByteSize(ByteSize), Tag(Tag), in QualifiedNameHash()
112 uint32_t ByteSize = 0; variable
180 LHS->Line == RHS->Line && LHS->ByteSize == RHS->ByteSize && in isEqual()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp105 unsigned ByteSize = std::numeric_limits<uint32_t>::max(); in getChildDeclContext() local
116 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext()
161 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext()
168 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp217 const unsigned ByteSize = 1U << i; in initialize() local
218 const unsigned BitSize = ByteSize * 8; in initialize()
219 std::string ByteSizeStr = utostr(ByteSize); in initialize()
727 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
728 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
742 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
743 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
760 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
761 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
775 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp214 unsigned ByteSize) { in ExtractConstantBytes() argument
219 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes()
220 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes()
221 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
228 V = V.trunc(ByteSize*8); in ExtractConstantBytes()
240 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
249 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
255 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
263 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
281 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DPDBStringTable.cpp21 uint32_t PDBStringTable::getByteSize() const { return Header->ByteSize; } in getByteSize()
91 std::tie(SectionReader, Reader) = Reader.split(Header->ByteSize); in reload()
H A DPDBStringTableBuilder.cpp159 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DDNBBreakpoint.h30 nub_size_t ByteSize() const { return m_byte_size; } in ByteSize() function
H A DDNBBreakpoint.cpp148 assert(opcode_offset + intersect_size <= bp.ByteSize()); in RemoveTrapsFromBuffer()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h315 support::ulittle32_t ByteSize; // Number of bytes of names buffer. member
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1776 uint32_t ByteSize; in lowerTypeBasic() local
1779 ByteSize = Ty->getSizeInBits() / 8; in lowerTypeBasic()
1787 switch (ByteSize) { in lowerTypeBasic()
1796 switch (ByteSize) { in lowerTypeBasic()
1805 switch (ByteSize) { in lowerTypeBasic()
1815 switch (ByteSize) { in lowerTypeBasic()
1824 switch (ByteSize) { in lowerTypeBasic()
1833 switch (ByteSize) { in lowerTypeBasic()
1840 if (ByteSize == 1) in lowerTypeBasic()
1844 if (ByteSize == 1) in lowerTypeBasic()
H A DDwarfExpression.cpp83 unsigned ByteSize = SizeInBits / SizeOfByte; in addOpPiece() local
84 emitUnsigned(ByteSize); in addOpPiece()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp540 return m_arch_up->EnableHardwareBreakpoint(bp->Address(), bp->ByteSize(), in EnableHardwareBreakpoint()
550 wp->Address(), wp->ByteSize(), wp->WatchpointRead(), in EnableHardwareWatchpoint()
H A DMachProcess.mm1737 assert(opcode_offset + intersect_size <= bp->ByteSize());
1962 const nub_size_t break_op_size = bp->ByteSize();
1965 DNBArchProtocol::GetBreakpointOpcode(bp->ByteSize());
2125 const nub_size_t break_op_size = bp->ByteSize();
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h700 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
H A DPPCISelLowering.cpp2478 SDValue PPC::get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG) { in get_VSPLTI_elt() argument
2486 if (EltSize < ByteSize) { in get_VSPLTI_elt()
2487 unsigned Multiple = ByteSize/EltSize; // Number of BV entries per spltval. in get_VSPLTI_elt()
2559 if (ValSizeInBytes < ByteSize) return SDValue(); in get_VSPLTI_elt()
2563 if (!APInt(ValSizeInBytes * 8, Value).isSplat(ByteSize * 8)) in get_VSPLTI_elt()
2567 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
14881 unsigned ByteSize = Op1VT.getScalarSizeInBits() / 8; in combineStoreFPToInt() local
14883 DAG.getIntPtrConstant(ByteSize, dl, false), in combineStoreFPToInt()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp6681 APSInt ByteSize; in HandleOperatorNewCall() local
6682 if (!EvaluateInteger(E->getArg(0), ByteSize, Info)) in HandleOperatorNewCall()
6694 APInt ElemSizeAP(ByteSize.getBitWidth(), ElemSize.getQuantity()); in HandleOperatorNewCall()
6695 APInt::udivrem(ByteSize, ElemSizeAP, Size, Remainder); in HandleOperatorNewCall()
6699 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
6703 if (ByteSize.getActiveBits() > ConstantArrayType::getMaxSizeBits(Info.Ctx)) { in HandleOperatorNewCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9866 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy); in LowerFSINCOS() local
9868 int FrameIdx = MFI.CreateStackObject(ByteSize, StackAlign, false); in LowerFSINCOS()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17810 unsigned ByteSize = VT.getSizeInBits().getKnownMinValue() / 8; in LowerSVEIntrinsicEXT() local
17812 EVT::getVectorVT(Ctx, MVT::i8, ElementCount::getScalable(ByteSize)); in LowerSVEIntrinsicEXT()