25 unsigned &Column = Position.first;
26 unsigned &Line = Position.second;
30 for (
const char *End = Ptr + Size; Ptr != End; ++Ptr) {
41 Column += (8 - (Column & 0x7)) & 0x7;
49 void formatted_raw_ostream::ComputePosition(
const char *Ptr,
size_t Size) {
53 if (Ptr <= Scanned && Scanned <= Ptr + Size)
77 void formatted_raw_ostream::write_impl(
const char *Ptr,
size_t Size) {
79 ComputePosition(Ptr, Size);
83 TheStream->
write(Ptr, Size);
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
GCNRegPressure max(const GCNRegPressure &P1, const GCNRegPressure &P2)
This class represents lattice values for constants.
raw_ostream & indent(unsigned NumSpaces)
indent - Insert 'NumSpaces' spaces.
Position
Position to insert a new instruction relative to an existing instruction.
raw_ostream & outs()
This returns a reference to a raw_ostream for standard output.
const char * getBufferStart() const
Return the beginning of the current stream buffer, or 0 if the stream is unbuffered.
raw_ostream & write(unsigned char C)
formatted_raw_ostream & fdbgs()
fdbgs() - This returns a reference to a formatted_raw_ostream for debug output.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
size_t GetNumBytesInBuffer() const
formatted_raw_ostream & ferrs()
ferrs() - This returns a reference to a formatted_raw_ostream for standard error. ...
formatted_raw_ostream & fouts()
fouts() - This returns a reference to a formatted_raw_ostream for standard output.