Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp72 Optional<uint8_t> ByteSize; in extract() local
99 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract()
101 FixedAttributeSize->NumBytes += *ByteSize; in extract()
111 AttributeSpecs.push_back(AttributeSpec(A, F, ByteSize)); in extract()
203 size_t ByteSize = NumBytes; in getByteSize() local
205 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize()
207 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize()
209 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize()
210 return ByteSize; in getByteSize()
217 if (ByteSize.HasByteSize) in getByteSize()
[all …]
H A DDWARFDie.cpp684 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()
696 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h34 AttributeSpec(dwarf::Attribute A, dwarf::Form F, 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
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
735 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
736 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
750 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
751 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
768 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
769 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
783 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp214 unsigned ByteSize) { in ExtractConstantBytes() argument
219 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes()
221 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
228 V = V.trunc(ByteSize*8); in ExtractConstantBytes()
281 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes()
283 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
302 if (ShAmt.uge(ByteStart + ByteSize)) in ExtractConstantBytes()
304 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes()
321 ByteSize*8)); in ExtractConstantBytes()
324 if (ByteStart == 0 && ByteSize*8 == SrcBitSize) in ExtractConstantBytes()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A DISO-Fortran-binding.cpp221 static std::size_t ByteSize(CFI_type_t ty, std::size_t size) { in ByteSize() function
269 std::size_t size{ByteSize(type, 12)}; in run_CFI_address_tests()
395 std::size_t ty_len{ByteSize(type, 12)}; in run_CFI_allocate_tests()
618 std::size_t elem_len{ByteSize(type, 42)}; in run_CFI_setpointer_tests()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h315 support::ulittle32_t ByteSize; // Number of bytes of names buffer. member
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1757 uint32_t ByteSize; in lowerTypeBasic() local
1760 ByteSize = Ty->getSizeInBits() / 8; in lowerTypeBasic()
1768 switch (ByteSize) { in lowerTypeBasic()
1777 switch (ByteSize) { in lowerTypeBasic()
1786 switch (ByteSize) { in lowerTypeBasic()
1796 switch (ByteSize) { in lowerTypeBasic()
1805 switch (ByteSize) { in lowerTypeBasic()
1814 switch (ByteSize) { in lowerTypeBasic()
1821 if (ByteSize == 1) in lowerTypeBasic()
1825 if (ByteSize == 1) in lowerTypeBasic()
H A DDwarfExpression.cpp83 unsigned ByteSize = SizeInBits / SizeOfByte; in addOpPiece() local
84 emitUnsigned(ByteSize); in addOpPiece()
/llvm-project-15.0.7/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.mm1731 assert(opcode_offset + intersect_size <= bp->ByteSize());
1956 const nub_size_t break_op_size = bp->ByteSize();
1959 DNBArchProtocol::GetBreakpointOpcode(bp->ByteSize());
2119 const nub_size_t break_op_size = bp->ByteSize();
/llvm-project-15.0.7/bolt/lib/Core/
H A DDebugData.cpp712 static std::string encodeLE(size_t ByteSize, uint64_t NewValue) { in encodeLE() argument
713 std::string LE64(ByteSize, 0); in encodeLE()
714 for (size_t I = 0; I < ByteSize; ++I) { in encodeLE()
796 size_t ByteSize) { in addLEPatch() argument
797 Patches.emplace_back(Offset, encodeLE(ByteSize, NewValue)); in addLEPatch()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DDebugData.h625 void addLEPatch(uint64_t Offset, uint64_t NewValue, size_t ByteSize);
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h693 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
H A DPPCISelLowering.cpp2465 SDValue PPC::get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG) { in get_VSPLTI_elt() argument
2473 if (EltSize < ByteSize) { in get_VSPLTI_elt()
2474 unsigned Multiple = ByteSize/EltSize; // Number of BV entries per spltval. in get_VSPLTI_elt()
2546 if (ValSizeInBytes < ByteSize) return SDValue(); in get_VSPLTI_elt()
2550 if (!APInt(ValSizeInBytes * 8, Value).isSplat(ByteSize * 8)) in get_VSPLTI_elt()
2554 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
14731 unsigned ByteSize = Op1VT.getScalarSizeInBits() / 8; in combineStoreFPToInt() local
14733 DAG.getIntPtrConstant(ByteSize, dl, false), in combineStoreFPToInt()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp6673 APSInt ByteSize; in HandleOperatorNewCall() local
6674 if (!EvaluateInteger(E->getArg(0), ByteSize, Info)) in HandleOperatorNewCall()
6686 APInt ElemSizeAP(ByteSize.getBitWidth(), ElemSize.getQuantity()); in HandleOperatorNewCall()
6687 APInt::udivrem(ByteSize, ElemSizeAP, Size, Remainder); in HandleOperatorNewCall()
6691 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
6695 if (ByteSize.getActiveBits() > ConstantArrayType::getMaxSizeBits(Info.Ctx)) { in HandleOperatorNewCall()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp16226 unsigned ByteSize = VT.getSizeInBits().getKnownMinSize() / 8; in LowerSVEIntrinsicEXT() local
16228 EVT::getVectorVT(Ctx, MVT::i8, ElementCount::getScalable(ByteSize)); in LowerSVEIntrinsicEXT()

12