Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
187 size_t ByteSize = NumBytes; in getByteSize() local
189 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize()
191 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize()
193 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize()
194 return ByteSize; in getByteSize()
201 if (ByteSize.HasByteSize) in getByteSize()
[all …]
H A DDWARFDie.cpp732 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()
744 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()
/freebsd-13.1/contrib/llvm-project/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.hasValue(); 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
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h83 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag,
86 : QualifiedNameHash(Hash), Line(Line), ByteSize(ByteSize), Tag(Tag), in QualifiedNameHash()
107 uint32_t ByteSize = 0; variable
174 LHS->Line == RHS->Line && LHS->ByteSize == RHS->ByteSize && in isEqual()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp104 unsigned ByteSize = std::numeric_limits<uint32_t>::max(); in getChildDeclContext() local
115 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext()
160 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext()
167 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp265 const unsigned ByteSize = 1U << i; in initialize() local
266 const unsigned BitSize = ByteSize * 8; in initialize()
267 std::string ByteSizeStr = utostr(ByteSize); in initialize()
779 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
780 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
794 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
795 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
812 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
813 const unsigned BitSize = ByteSize * 8; in instrumentAtomic()
827 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp216 unsigned ByteSize) { in ExtractConstantBytes() argument
221 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes()
223 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
230 V = V.trunc(ByteSize*8); in ExtractConstantBytes()
283 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes()
285 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
304 if (ShAmt.uge(ByteStart + ByteSize)) in ExtractConstantBytes()
306 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes()
323 ByteSize*8)); in ExtractConstantBytes()
326 if (ByteStart == 0 && ByteSize*8 == SrcBitSize) in ExtractConstantBytes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBStringTable.cpp22 uint32_t PDBStringTable::getByteSize() const { return Header->ByteSize; } in getByteSize()
92 std::tie(SectionReader, Reader) = Reader.split(Header->ByteSize); in reload()
H A DPDBStringTableBuilder.cpp158 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1656 uint32_t ByteSize; in lowerTypeBasic() local
1659 ByteSize = Ty->getSizeInBits() / 8; in lowerTypeBasic()
1667 switch (ByteSize) { in lowerTypeBasic()
1676 switch (ByteSize) { in lowerTypeBasic()
1685 switch (ByteSize) { in lowerTypeBasic()
1695 switch (ByteSize) { in lowerTypeBasic()
1704 switch (ByteSize) { in lowerTypeBasic()
1713 switch (ByteSize) { in lowerTypeBasic()
1719 if (ByteSize == 1) in lowerTypeBasic()
1723 if (ByteSize == 1) in lowerTypeBasic()
H A DDwarfExpression.cpp83 unsigned ByteSize = SizeInBits / SizeOfByte; in addOpPiece() local
84 emitUnsigned(ByteSize); in addOpPiece()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h672 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
H A DPPCISelLowering.cpp2412 SDValue PPC::get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG) { in get_VSPLTI_elt() argument
2420 if (EltSize < ByteSize) { in get_VSPLTI_elt()
2421 unsigned Multiple = ByteSize/EltSize; // Number of BV entries per spltval. in get_VSPLTI_elt()
2493 if (ValSizeInBytes < ByteSize) return SDValue(); in get_VSPLTI_elt()
2497 if (!APInt(ValSizeInBytes * 8, Value).isSplat(ByteSize * 8)) in get_VSPLTI_elt()
2501 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
14381 unsigned ByteSize = Op1VT.getScalarSizeInBits() / 8; in combineStoreFPToInt() local
14383 DAG.getIntPtrConstant(ByteSize, dl, false), in combineStoreFPToInt()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6594 APSInt ByteSize; in HandleOperatorNewCall() local
6595 if (!EvaluateInteger(E->getArg(0), ByteSize, Info)) in HandleOperatorNewCall()
6607 APInt ElemSizeAP(ByteSize.getBitWidth(), ElemSize.getQuantity()); in HandleOperatorNewCall()
6608 APInt::udivrem(ByteSize, ElemSizeAP, Size, Remainder); in HandleOperatorNewCall()
6612 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
6616 if (ByteSize.getActiveBits() > ConstantArrayType::getMaxSizeBits(Info.Ctx)) { in HandleOperatorNewCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14125 unsigned ByteSize = VT.getSizeInBits().getKnownMinSize() / 8; in LowerSVEIntrinsicEXT() local
14127 EVT::getVectorVT(Ctx, MVT::i8, ElementCount::getScalable(ByteSize)); in LowerSVEIntrinsicEXT()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9586 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy); in LowerFSINCOS() local
9588 int FrameIdx = MFI.CreateStackObject(ByteSize, StackAlign, false); in LowerFSINCOS()