A raw_ostream that hash the content using the sha1 algorithm.
Synopsis
Declared in <llvm/Support/raw_sha1_ostream.h>
class raw_sha1_ostream
: public raw_ostream
Base Classes
Name |
Description |
This class implements an extremely fast bulk output stream that can only output to a stream. It does not support seeking, reopening, rewinding, line buffered disciplines etc. It is a simple buffer that outputs a chunk at a time. |
Type Aliases
Name |
Description |
Output a formatted UUID with dash separators. |
Enums
Name |
Description |
ANSI terminal color codes. |
|
Discriminator for concrete raw_ostream subclasses. |
Member Functions
Name |
Description |
|
Copy‐assignment is deleted. |
Return the size of the current stream buffer, or the preferred size if buffering is enabled but the buffer has not been allocated yet. |
|
Return the number of bytes currently held in the stream buffer. |
|
Set the stream to be buffered, using the specified buffer size. |
|
Set the stream to be buffered, with an automatically determined buffer size. |
|
Set the stream to be unbuffered. When unbuffered, the stream will flush after every write. This routine will also flush the buffer immediately when the stream is being set to unbuffered. |
|
|
Changes the foreground color of text that will be output from this point forward. |
Return true if ANSI color output is currently enabled. |
|
|
|
|
Enable or disable ANSI color output for subsequent writes. |
Flush buffered output to the underlying device. |
|
Return the concrete stream kind discriminator. |
|
|
This function determines if this stream is displayed and supports colors. The result is unaffected by calls to enable_color(). |
indent ‐ Insert 'NumSpaces' spaces. |
|
|
This function determines if this stream is connected to a "tty" or "console" window. That is, the output would be displayed to the user rather than being put on a pipe or stored in a file. |
|
If possible, pre‐allocate |
|
Resets the colors to terminal defaults. Call this when you are done outputting colored text, or before program exit. |
Reset the internal state to start over from scratch. |
|
|
Reverses the foreground and background colors. |
Return the current SHA1 hash for the content of the stream |
|
tell ‐ Return the current offset with the file. |
|
|
|
Output |
|
Output |
|
Write UUID |
|
write_zeros ‐ Insert 'NumZeros' nulls. |
|
Left shift operators |
Static Data Members
Name |
Description |
Black foreground color constant. |
|
Blue foreground color constant. |
|
Bright black (gray) foreground color constant. |
|
Bright blue foreground color constant. |
|
Bright cyan foreground color constant. |
|
Bright green foreground color constant. |
|
Bright magenta foreground color constant. |
|
Bright red foreground color constant. |
|
Bright white foreground color constant. |
|
Bright yellow foreground color constant. |
|
Cyan foreground color constant. |
|
Green foreground color constant. |
|
Magenta foreground color constant. |
|
Red foreground color constant. |
|
Reset colors to the terminal default. |
|
Saved‐color constant that preserves the current color. |
|
White foreground color constant. |
|
Yellow foreground color constant. |
Protected Member Functions
Name |
Description |
Use the provided buffer as the raw_ostream buffer. This is intended for use only by subclasses which can arrange for the output to go directly into the desired output buffer, instead of being copied on each flush. |
|
Return the beginning of the current stream buffer, or 0 if the stream is unbuffered. |
|
|
Return an efficient buffer size for the underlying output mechanism. |
Non-Member Functions
Name |
Description |
Determine if the raw_ostream provided is connected to a terminal. If so, generate a warning message to errs() advising against display of bitcode and return true. Otherwise just return false. Check for output written to a console |
|
Print statistics to the given output stream. |
|
Print statistics in JSON format. This does include all global timers ( |
|
Create and return a pass that writes the module to the specified ostream. Note that this pass is designed for use with the legacy pass manager. |
|
MIR2VecPrinter pass ‐ This pass prints out the MIR2Vec embeddings for machine functions, basic blocks and instructions. |
|
MIR2VecVocabPrinter pass ‐ This pass prints out the MIR2Vec vocabulary contents to the given stream as a debugging tool. |
|
MachineFunctionPrinter pass ‐ This pass prints out the machine function to the given stream as a debugging tool. |
|
Create and return a pass that prints functions to the specified |
|
MIRPrinting pass ‐ this pass prints out the LLVM IR into the given stream using the MIR serialization format. |
|
Create and return a pass that writes the module to the specified |
|
Stream insertion operator |
|
Debug print ModRefInfo. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write the spelled name of |
|
Write a human readable form of |
|
Print a short description useful for debugging or logging. |
|
Stream insertion operator |
|
Print a version number. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write a formatted object to |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
An raw_ostream inserter for modules. |
|
Stream insertion operator |
|
Forward declarations of output streams for debug purposes. |
|
Stream insertion operator |
|
Write optional value |
|
Stream insertion operator |
|
Invoke |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Prints |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Debug print MemoryEffects. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write a representation of |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write UTC time point |
|
Write a textual representation of |
|
Write |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print a RegionNode. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print the name of this node's function. |
|
Stream operator function for |
|
Stream insertion operator |
|
Write a textual representation of error |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print a short description useful for debugging or logging. |
|
Stream insertion operator |
|
Stream insertion operator |
|
<< operator for AliasResult. |
|
Write time point |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Write |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream a human‐readable representation of |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print out a name of an LLVM value without any prefixes. |
|
Print MIR using New Pass Manager (uses FunctionAnalysisManager). If |
|
Print MIR using Legacy Pass Manager (uses MachineModuleInfo). If |
|
Print LLVM IR using the MIR serialization format to the given output stream. |
|
If ‐time‐passes has been specified, report the timings immediately and then reset the timers to zero. By default it uses the stream created by CreateInfoOutputFile(). |
|
Write floating‐point |
|
Write hex value |
|
Write signed long long |
|
Write unsigned long |
|
Write signed long |
|
Write unsigned long long |
|
Write unsigned int |
|
Write signed int |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print intervals to output stream. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print |
|
Prints the compiler build configuration. Designed for compiler developers, not compiler end‐users. Intended to be used in ‐‐version output when enabled. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Attempts to write an IFS interface file to a raw_ostream. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Serializes this Value to JSON, writing it to the provided stream. The formatting is compact (no extra whitespace) and deterministic. For pretty‐printing, use the formatv() format_provider below. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Render a SymbolMap entry. |
|
Render an array of SymbolStringPtrs. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Render a SymbolLookupSet. |
|
Print a MemDeallocPolicy. |
|
Print an AllocGroup. |
|
Dump a SymbolStringPool. Useful for debugging dangling‐pointer crashes. |
|
Stream insertion operator |
|
Render a SymbolLookupSet entry. |
|
Render a SymbolAliasMap. |
|
Render a JITDylibSearchOrder. |
|
Print a MemProt as an RWX triple. |
|
Render a SymbolMap. |
|
Render a SymbolLookupFlags instance. |
|
Render a LookupKind. |
|
Render a SymbolState. |
|
Render a SymbolDependendeMap. |
|
Render a SymbolNameSet. |
|
Stream insertion operator |
|
Render a SymbolDependenceMap entry. |
|
Render a SymbolNameVector. |
|
Render a SymbolFlagsMap entry. |
|
Render a SymbolFlagsMap. |
|
Render a MaterializationUnit. |
|
Render JITSymbolFlags. |
|
/ Render a JITDylibLookupFlags instance. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Print the stack trace using the given |
|
Debugging output for Memory::ProtectionFlags. |
|
Debugging output for MemoryBlock. |
|
Print a command argument, and optionally quote it. |
|
This is a function compatible with cl::AddExtraVersionPrinter, which adds info about the current target triple and detected CPU. |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
Stream insertion operator |
|
The following contains the serialization interface for root elements |
|
Stream insertion operator |
|
Stream insertion operator |
Created with MrDocs