Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp42 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() function
51 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
53 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
55 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
57 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
168 writeInteger((uint16_t)Range.Version, OS, DI.IsLittleEndian); in emitDebugAranges()
170 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
171 writeInteger((uint8_t)Range.SegSize, OS, DI.IsLittleEndian); in emitDebugAranges()
229 writeInteger((uint16_t)Sect.Version, OS, IsLittleEndian); in emitPubSection()
230 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.cpp197 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugS()
H A DCodeViewYAMLTypes.cpp816 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugT()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp137 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger()
325 if (auto EC = Writer->writeInteger<uint16_t>(LF_CHAR)) in writeEncodedSignedInteger()
327 if (auto EC = Writer->writeInteger<int8_t>(Value)) in writeEncodedSignedInteger()
330 if (auto EC = Writer->writeInteger<uint16_t>(LF_SHORT)) in writeEncodedSignedInteger()
332 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
335 if (auto EC = Writer->writeInteger<uint16_t>(LF_LONG)) in writeEncodedSignedInteger()
337 if (auto EC = Writer->writeInteger<int32_t>(Value)) in writeEncodedSignedInteger()
340 if (auto EC = Writer->writeInteger<uint16_t>(LF_QUADWORD)) in writeEncodedSignedInteger()
342 if (auto EC = Writer->writeInteger(Value)) in writeEncodedSignedInteger()
350 if (auto EC = Writer->writeInteger<uint16_t>(Value)) in writeEncodedUnsignedInteger()
[all …]
H A DDebugCrossExSubsection.cpp46 if (auto EC = Writer.writeInteger(M.first)) in commit()
48 if (auto EC = Writer.writeInteger(M.second)) in commit()
H A DSymbolSerializer.cpp50 if (auto EC = Writer.writeInteger(Length)) in visitSymbolEnd()
H A DDebugFrameDataSubsection.cpp45 if (auto EC = Writer.writeInteger<uint32_t>(0)) in commit()
H A DSimpleTypeSerializer.cpp25 cantFail(Writer.writeInteger(Pad)); in addPadding()
H A DDebugInlineeLinesSubsection.cpp98 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit()
H A DContinuationRecordBuilder.cpp29 cantFail(Writer.writeInteger(Pad)); in addPadding()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DTPCEHFrameRegistrar.cpp60 cantFail(ArgWriter.writeInteger(static_cast<uint64_t>(EHFrameSectionAddr))); in registerEHFrames()
61 cantFail(ArgWriter.writeInteger(static_cast<uint64_t>(EHFrameSectionSize))); in registerEHFrames()
73 cantFail(ArgWriter.writeInteger(static_cast<uint64_t>(EHFrameSectionAddr))); in deregisterEHFrames()
74 cantFail(ArgWriter.writeInteger(static_cast<uint64_t>(EHFrameSectionSize))); in deregisterEHFrames()
H A DTPCDebugObjectRegistrar.cpp29 cantFail(ArgWriter.writeInteger(DebugObjAddr)); in writeDebugObjectInfo()
30 cantFail(ArgWriter.writeInteger(DebugObjSize)); in writeDebugObjectInfo()
/netbsd-src/external/apache2/llvm/dist/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()
435 if (auto EC = Writer.writeInteger(StreamNumber)) in commit()
H A DHashTable.cpp52 if (auto EC = Writer.writeInteger(ReqWords)) in writeSparseBitVector()
65 if (auto EC = Writer.writeInteger(Word)) in writeSparseBitVector()
H A DDbiModuleDescriptorBuilder.cpp170 if (auto EC = SymbolWriter.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)) in commitSymbolStream()
187 if (auto E = SymbolWriter.writeInteger<uint32_t>(Fixup.StrTabOffset)) in commitSymbolStream()
201 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commitSymbolStream()
H A DPDBStringTableBuilder.cpp176 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable()
202 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.cpp68 if (auto EC = Writer.writeInteger<uint32_t>(NamesBuffer.size())) in commit()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h64 template <typename T> Error writeInteger(T Value) { in writeInteger() function
79 return writeInteger<U>(static_cast<U>(Num)); in writeEnum()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h109 return Writer->writeInteger(Value);
158 if (auto EC = Writer->writeInteger(Size))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DBinaryStreamWriter.cpp100 if (auto EC = writeInteger('\0')) in padToAlignment()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h198 if (auto EC = Writer.writeInteger(Entry.first)) in commit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp379 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()