Lines Matching refs:OS

62 void LineLocation::print(raw_ostream &OS) const {  in print()
63 OS << LineOffset; in print()
65 OS << "." << Discriminator; in print()
68 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument
70 Loc.print(OS); in operator <<()
71 return OS; in operator <<()
76 void CallsiteLocation::print(raw_ostream &OS) const { in print()
77 LineLocation::print(OS); in print()
78 OS << ": inlined callee: " << CalleeName; in print()
83 inline raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument
85 Loc.print(OS); in operator <<()
86 return OS; in operator <<()
90 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print() argument
91 OS << NumSamples; in print()
93 OS << ", calls:"; in print()
95 OS << " " << I.first() << ":" << I.second; in print()
97 OS << "\n"; in print()
102 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument
104 Sample.print(OS, 0); in operator <<()
105 return OS; in operator <<()
109 void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const { in print() argument
110 OS << TotalSamples << ", " << TotalHeadSamples << ", " << BodySamples.size() in print()
113 OS.indent(Indent); in print()
115 OS << "Samples collected in the function's body {\n"; in print()
118 OS.indent(Indent + 2); in print()
119 OS << SI->first << ": " << SI->second; in print()
121 OS.indent(Indent); in print()
122 OS << "}\n"; in print()
124 OS << "No samples collected in the function's body\n"; in print()
127 OS.indent(Indent); in print()
129 OS << "Samples collected in inlined callsites {\n"; in print()
133 OS.indent(Indent + 2); in print()
134 OS << CS->first << ": "; in print()
135 CS->second.print(OS, Indent + 4); in print()
137 OS << "}\n"; in print()
139 OS << "No inlined callsites in this function\n"; in print()
143 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument
145 FS.print(OS); in operator <<()
146 return OS; in operator <<()