Home
last modified time | relevance | path

Searched refs:writeInteger (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp43 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() function
52 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
54 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
56 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
58 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
169 writeInteger((uint16_t)Range.Version, OS, DI.IsLittleEndian); in emitDebugAranges()
171 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
172 writeInteger((uint8_t)Range.SegSize, OS, DI.IsLittleEndian); in emitDebugAranges()
230 writeInteger((uint16_t)Sect.Version, OS, IsLittleEndian); in emitPubSection()
231 writeInteger((uint32_t)Sect.UnitOffset, OS, IsLittleEndian); in emitPubSection()
[all …]
H A DCodeViewYAMLTypeHashing.cpp74 cantFail(Writer.writeInteger(DebugH.Magic)); in toDebugH()
75 cantFail(Writer.writeInteger(DebugH.Version)); in toDebugH()
76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
H A DCOFFEmitter.cpp187 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugS()
H A DCodeViewYAMLTypes.cpp820 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugT()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp140 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger()
342 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
346 if (auto EC = Writer->writeInteger<uint16_t>(LF_CHAR)) in writeEncodedSignedInteger()
348 if (auto EC = Writer->writeInteger<int8_t>(Value)) in writeEncodedSignedInteger()
352 if (auto EC = Writer->writeInteger<uint16_t>(LF_SHORT)) in writeEncodedSignedInteger()
354 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
358 if (auto EC = Writer->writeInteger<uint16_t>(LF_LONG)) in writeEncodedSignedInteger()
360 if (auto EC = Writer->writeInteger<int32_t>(Value)) in writeEncodedSignedInteger()
363 if (auto EC = Writer->writeInteger<uint16_t>(LF_QUADWORD)) in writeEncodedSignedInteger()
365 if (auto EC = Writer->writeInteger(Value)) in writeEncodedSignedInteger()
[all …]
H A DDebugCrossExSubsection.cpp47 if (auto EC = Writer.writeInteger(M.first)) in commit()
49 if (auto EC = Writer.writeInteger(M.second)) in commit()
H A DSymbolSerializer.cpp49 if (auto EC = Writer.writeInteger(Length)) in visitSymbolEnd()
H A DDebugFrameDataSubsection.cpp47 if (auto EC = Writer.writeInteger<uint32_t>(0)) in commit()
H A DSimpleTypeSerializer.cpp26 cantFail(Writer.writeInteger(Pad)); in addPadding()
H A DDebugInlineeLinesSubsection.cpp99 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit()
H A DContinuationRecordBuilder.cpp29 cantFail(Writer.writeInteger(Pad)); in addPadding()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp199 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules in generateFileInfoSubstream()
201 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles in generateFileInfoSubstream()
204 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices in generateFileInfoSubstream()
209 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts in generateFileInfoSubstream()
231 if (auto EC = MetadataWriter.writeInteger(Result->second)) in generateFileInfoSubstream()
434 if (auto EC = Writer.writeInteger(StreamNumber)) in commit()
H A DHashTable.cpp49 if (auto EC = Writer.writeInteger(ReqWords)) in writeSparseBitVector()
62 if (auto EC = Writer.writeInteger(Word)) in writeSparseBitVector()
H A DDbiModuleDescriptorBuilder.cpp174 if (auto EC = SymbolWriter.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)) in commitSymbolStream()
191 if (auto E = SymbolWriter.writeInteger<uint32_t>(Fixup.StrTabOffset)) in commitSymbolStream()
205 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commitSymbolStream()
H A DPDBStringTableBuilder.cpp178 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable()
204 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size())) in writeEpilogue()
H A DInfoStreamBuilder.cpp74 if (auto EC = Writer.writeInteger(0)) in commit()
H A DNamedStreamMap.cpp65 if (auto EC = Writer.writeInteger<uint32_t>(NamesBuffer.size())) in commit()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h58 template <typename T> Error writeInteger(T Value) { in writeInteger() function
60 "Cannot call writeInteger with non-integral value!"); in writeInteger()
66 /// Similar to writeInteger
72 return writeInteger<U>(static_cast<U>(Num)); in writeEnum()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h109 return Writer->writeInteger(Value);
158 if (auto EC = Writer->writeInteger(Size))
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h194 if (auto EC = Writer.writeInteger(Entry.first)) in commit()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp406 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()