Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp102 std::optional<uint8_t> ByteSize; in extract() local
129 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract()
131 FixedAttributeSize->NumBytes += *ByteSize; in extract()
141 AttributeSpecs.push_back(AttributeSpec(A, F, ByteSize)); in extract()
223 size_t ByteSize = NumBytes; in getByteSize() local
225 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize()
227 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize()
229 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize()
230 return ByteSize; in getByteSize()
237 if (ByteSize.HasByteSize) in getByteSize()
[all …]
H A DDWARFDie.cpp712 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()
724 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h36 std::optional<uint8_t> ByteSize) in AttributeSpec()
39 this->ByteSize.HasByteSize = ByteSize.has_value(); in AttributeSpec()
40 if (this->ByteSize.HasByteSize) in AttributeSpec()
41 this->ByteSize.ByteSize = *ByteSize; in AttributeSpec()
70 uint8_t ByteSize; member
73 ByteSizeStorage ByteSize; member
H A DDWARFAttribute.h29 uint32_t ByteSize = 0; member
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.h86 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag,
89 : QualifiedNameHash(Hash), Line(Line), ByteSize(ByteSize), Tag(Tag), in QualifiedNameHash()
114 uint32_t ByteSize = 0; variable
182 LHS->Line == RHS->Line && LHS->ByteSize == RHS->ByteSize && in isEqual()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp218 const unsigned ByteSize = 1U << i; in initialize() local
219 const unsigned BitSize = ByteSize * 8; in initialize()
220 std::string ByteSizeStr = utostr(ByteSize); in initialize()
738 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
739 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
755 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
756 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
770 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
771 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DBitcastBuffer.h88 unsigned ByteSize = FinalBitSize.roundToBytes(); in BitcastBuffer() local
89 Data = std::make_unique<std::byte[]>(ByteSize); in BitcastBuffer()
H A DInterpBuiltin.cpp1961 size_t ByteSize = Size.getZExtValue() * ElemSize; in interp__builtin_memcmp() local
1962 size_t CmpSize = std::min(MinBufferSize, ByteSize); in interp__builtin_memcmp()
1993 if (ByteSize <= CmpSize) { in interp__builtin_memcmp()
/freebsd/contrib/llvm-project/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.cpp160 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp115 auto *ByteSize = IRB.CreateSub(EndPtr, BeginPtr, "", /*HasNUW=*/true, in createInitOrFiniCalls() local
117 auto *Size = IRB.CreateAShr(ByteSize, ConstantInt::get(Int64Ty, 3), "", in createInitOrFiniCalls()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h315 support::ulittle32_t ByteSize; // Number of bytes of names buffer. member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1821 uint32_t ByteSize; in lowerTypeBasic() local
1824 ByteSize = Ty->getSizeInBits() / 8; in lowerTypeBasic()
1832 switch (ByteSize) { in lowerTypeBasic()
1843 switch (ByteSize) { in lowerTypeBasic()
1852 switch (ByteSize) { in lowerTypeBasic()
1862 switch (ByteSize) { in lowerTypeBasic()
1871 switch (ByteSize) { in lowerTypeBasic()
1880 switch (ByteSize) { in lowerTypeBasic()
1887 if (ByteSize == 1) in lowerTypeBasic()
1891 if (ByteSize == 1) in lowerTypeBasic()
H A DDwarfExpression.cpp84 unsigned ByteSize = SizeInBits / SizeOfByte; in addOpPiece() local
85 emitUnsigned(ByteSize); in addOpPiece()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h710 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
H A DPPCISelLowering.cpp2546 SDValue PPC::get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG) { in get_VSPLTI_elt() argument
2554 if (EltSize < ByteSize) { in get_VSPLTI_elt()
2555 unsigned Multiple = ByteSize/EltSize; // Number of BV entries per spltval. in get_VSPLTI_elt()
2627 if (ValSizeInBytes < ByteSize) return SDValue(); in get_VSPLTI_elt()
2631 if (!APInt(ValSizeInBytes * 8, Value).isSplat(ByteSize * 8)) in get_VSPLTI_elt()
2635 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
16223 unsigned ByteSize = Op1VT.getScalarSizeInBits() / 8; in combineStoreFPToInt() local
16225 DAG.getIntPtrConstant(ByteSize, dl, false), in combineStoreFPToInt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7150 APSInt ByteSize; in HandleOperatorNewCall() local
7151 if (!EvaluateInteger(E->getArg(0), ByteSize, Info)) in HandleOperatorNewCall()
7163 APInt ElemSizeAP(ByteSize.getBitWidth(), ElemSize.getQuantity()); in HandleOperatorNewCall()
7164 APInt::udivrem(ByteSize, ElemSizeAP, Size, Remainder); in HandleOperatorNewCall()
7168 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
7172 if (!Info.CheckArraySize(E->getBeginLoc(), ByteSize.getActiveBits(), in HandleOperatorNewCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp10002 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy); in LowerFSINCOS() local
10004 int FrameIdx = MFI.CreateStackObject(ByteSize, StackAlign, false); in LowerFSINCOS()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp21719 unsigned ByteSize = VT.getSizeInBits().getKnownMinValue() / 8; in LowerSVEIntrinsicEXT() local
21721 EVT::getVectorVT(Ctx, MVT::i8, ElementCount::getScalable(ByteSize)); in LowerSVEIntrinsicEXT()