/external/llvm/lib/Analysis/ |
H A D | RegionInfo.cpp | 214 raw_string_ostream OS(entryName); 216 getEntry()->printAsOperand(OS, false); 222 raw_string_ostream OS(exitName); 224 getExit()->printAsOperand(OS, false); 431 void Region::print(raw_ostream &OS, bool print_tree, unsigned level, argument 434 OS.indent(level*2) << "[" << level << "] " << getNameStr(); 436 OS.indent(level*2) << getNameStr(); 438 OS << "\n"; 442 OS.indent(level*2) << "{\n"; 443 OS 733 print(raw_ostream &OS, const Module *) const argument [all...] |
H A D | ScalarEvolution.cpp | 138 void SCEV::print(raw_ostream &OS) const { 141 cast<SCEVConstant>(this)->getValue()->printAsOperand(OS, false); 146 OS << "(trunc " << *Op->getType() << " " << *Op << " to " 153 OS << "(zext " << *Op->getType() << " " << *Op << " to " 160 OS << "(sext " << *Op->getType() << " " << *Op << " to " 166 OS << "{" << *AR->getOperand(0); 168 OS << ",+," << *AR->getOperand(i); 169 OS << "}<"; 171 OS << "nuw><"; 173 OS << "ns [all...] |
H A D | SparsePropagation.cpp | 32 void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) { argument 34 OS << "undefined"; 36 OS << "overdefined"; 38 OS << "untracked"; 40 OS << "unknown lattice value"; 329 void SparseSolver::Print(Function &F, raw_ostream &OS) const { 330 OS << "\nFUNCTION: " << F.getName() << "\n"; 333 OS << "INFEASIBLE: "; 334 OS << "\t"; 336 OS << B 340 LatticeFunc->PrintValue(getLatticeState(I), OS); local [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitWriter.cpp | 22 raw_fd_ostream OS(Path, ErrorInfo, sys::fs::F_None); 27 WriteBitcodeToFile(unwrap(M), OS); 33 raw_fd_ostream OS(FD, ShouldClose, Unbuffered); 35 WriteBitcodeToFile(unwrap(M), OS); local
|
H A D | BitcodeWriterPass.cpp | 22 WriteBitcodeToFile(M, OS); 28 raw_ostream &OS; // raw_ostream to print on member in class:__anon25718::WriteBitcodePass 32 : ModulePass(ID), OS(o) {} 37 WriteBitcodeToFile(&M, OS);
|
H A D | ValueEnumerator.cpp | 149 void ValueEnumerator::print(raw_ostream &OS, const ValueMapType &Map, argument 152 OS << "Map Name: " << Name << "\n"; 153 OS << "Size: " << Map.size() << "\n"; 159 OS << "Value: " << V->getName(); 161 OS << "Value: [null]\n"; 164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; 167 OS << ","; 169 OS << " " << U->getName(); 171 OS << " [null]"; 174 OS << "\ [all...] |
H A D | ValueEnumerator.h | 98 void print(raw_ostream &OS, const ValueMapType &Map, const char *Name) const;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 635 raw_svector_ostream OS(Str); 636 OS << "DEBUG_VALUE: "; 642 OS << Name << ":"; 644 OS << V.getName() << " <- "; 654 OS << (double)APF.convertToFloat(); 656 OS << APF.convertToDouble(); 663 OS << "(long double) " << APF.convertToDouble(); 666 OS << MI->getOperand(0).getImm(); 668 MI->getOperand(0).getCImm()->getValue().print(OS, false /*isSigned*/); 682 OS << "unde 2120 PrintParentLoopComment(raw_ostream &OS, const MachineLoop *Loop, unsigned FunctionNumber) argument 2133 PrintChildLoopComment(raw_ostream &OS, const MachineLoop *Loop, unsigned FunctionNumber) argument 2168 raw_ostream &OS = AP.OutStreamer.GetCommentOS(); local [all...] |
H A D | AsmPrinterInlineAsm.cpp | 161 raw_ostream &OS) { 163 OS << "\t.intel_syntax\n\t"; 177 OS.write(LastEmitted, LiteralEnd-LastEmitted); 183 OS << '\n'; // Indent code with newline. 237 /*Modifier*/ nullptr, OS); 240 /*Modifier*/ nullptr, OS); 253 OS << "\n\t.att_syntax\n" << (char)0; // null terminate string. 259 unsigned LocCookie, raw_ostream &OS) { 264 OS << '\t'; 275 OS 158 EmitMSInlineAsmStr(const char *AsmStr, const MachineInstr *MI, MachineModuleInfo *MMI, int InlineAsmVariant, AsmPrinter *AP, unsigned LocCookie, raw_ostream &OS) argument 256 EmitGCCInlineAsmStr(const char *AsmStr, const MachineInstr *MI, MachineModuleInfo *MMI, int InlineAsmVariant, int AsmPrinterVariant, AsmPrinter *AP, unsigned LocCookie, raw_ostream &OS) argument 501 PrintSpecial(const MachineInstr *MI, raw_ostream &OS, const char *Code) const argument [all...] |
H A D | ErlangGCPrinter.cpp | 52 MCStreamer &OS = AP.OutStreamer; local 80 OS.AddComment("safe point count"); 87 OS.AddComment("safe point address"); 97 OS.AddComment("stack frame size (in words)"); 104 OS.AddComment("stack arity"); 108 OS.AddComment("live root count"); 116 OS.AddComment("stack index (offset / wordsize)");
|
/external/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 1043 void print(raw_ostream &OS) const; 1054 static inline raw_ostream &operator<<(raw_ostream &OS, const ExtAddrMode &AM) { argument 1055 AM.print(OS); 1056 return OS; 1060 void ExtAddrMode::print(raw_ostream &OS) const { 1062 OS << "["; 1064 OS << (NeedPlus ? " + " : "") 1066 BaseGV->printAsOperand(OS, /*PrintType=*/false); 1071 OS << (NeedPlus ? " + " : "") 1077 OS << (NeedPlu [all...] |
H A D | GCMetadata.cpp | 30 raw_ostream &OS; member in class:__anon25747::Printer 33 explicit Printer(raw_ostream &OS) : FunctionPass(ID), OS(OS) {} argument 110 FunctionPass *llvm::createGCInfoPrinter(raw_ostream &OS) { argument 111 return new Printer(OS); 140 OS << "GC roots for " << FD->getFunction().getName() << ":\n"; 143 OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n"; 145 OS << "GC safe points for " << FD->getFunction().getName() << ":\n"; 149 OS << "\ [all...] |
H A D | InlineSpiller.cpp | 320 static raw_ostream &operator<<(raw_ostream &OS, argument 322 OS << "spill " << PrintReg(SVI.SpillReg) << ':' 325 OS << " in BB#" << SVI.SpillMBB->getNumber(); 327 OS << " all-reloads"; 329 OS << " orig-phi"; 331 OS << " kill"; 332 OS << " deps["; 334 OS << ' ' << SVI.Deps[i]->id << '@' << SVI.Deps[i]->def; 335 OS << " ]"; 337 OS << " de [all...] |
H A D | LiveDebugVariables.cpp | 362 void UserValue::print(raw_ostream &OS, const TargetMachine *TM) { argument 364 OS << "!\""; 365 DV.printExtendedName(OS); 366 OS << "\"\t"; 368 OS << '+' << offset; 370 OS << " [" << I.start() << ';' << I.stop() << "):"; 372 OS << "undef"; 374 OS << I.value(); 377 OS << " Loc" << i << '='; 378 locations[i].print(OS, T 383 print(raw_ostream &OS) argument [all...] |
H A D | LiveInterval.cpp | 590 void LiveRange::print(raw_ostream &OS) const { 592 OS << "EMPTY"; 595 OS << *I; 602 OS << " "; 607 if (vnum) OS << " "; 608 OS << vnum << "@"; 610 OS << "x"; 612 OS << vni->def; 614 OS << "-phi"; 620 void LiveInterval::print(raw_ostream &OS) cons [all...] |
H A D | LiveIntervalAnalysis.cpp | 140 void LiveIntervals::print(raw_ostream &OS, const Module* ) const { argument 141 OS << "********** INTERVALS **********\n"; 146 OS << PrintRegUnit(i, TRI) << ' ' << *LR << '\n'; 152 OS << getInterval(Reg) << '\n'; 155 OS << "RegMasks:"; 157 OS << ' ' << RegMaskSlots[i]; 158 OS << '\n'; 160 printInstrs(OS); 163 void LiveIntervals::printInstrs(raw_ostream &OS) const { 164 OS << "********** MACHINEINSTR [all...] |
H A D | LiveIntervalUnion.cpp | 82 LiveIntervalUnion::print(raw_ostream &OS, const TargetRegisterInfo *TRI) const { argument 84 OS << " empty\n"; 88 OS << " [" << SI.start() << ' ' << SI.stop() << "):" 91 OS << '\n';
|
H A D | LivePhysRegs.cpp | 91 /// Prin the currently live registers to OS. 92 void LivePhysRegs::print(raw_ostream &OS) const { 93 OS << "Live Registers:"; 95 OS << " (uninitialized)\n"; 100 OS << " (empty)\n"; 105 OS << " " << PrintReg(*I, TRI); 106 OS << "\n";
|
H A D | LiveStackAnalysis.cpp | 75 void LiveStacks::print(raw_ostream &OS, const Module*) const { argument 77 OS << "********** INTERVALS **********\n"; 79 I->second.print(OS); 83 OS << " [" << RC->getName() << "]\n"; 85 OS << " [Unknown]\n";
|
H A D | MachineBasicBlock.cpp | 67 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { argument 68 MBB.print(OS); 69 return OS; 266 void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const { argument 269 OS << "Can't print out MachineBasicBlock because parent MachineFunction" 275 OS << Indexes->getMBBStartIdx(this) << '\t'; 277 OS << "BB#" << getNumber() << ": "; 281 OS << Comma << "derived from LLVM BB "; 282 LBB->printAsOperand(OS, /*PrintType=*/false); 285 if (isLandingPad()) { OS << Comm 335 printAsOperand(raw_ostream &OS, bool ) const argument [all...] |
H A D | MachineBlockFrequencyInfo.cpp | 93 raw_string_ostream OS(Result); 95 OS << Node->getName().str() << ":"; 98 Graph->printBlockFreq(OS, Node); 101 OS << Graph->getBlockFreq(Node).getFrequency(); 180 MachineBlockFrequencyInfo::printBlockFreq(raw_ostream &OS, argument 182 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; 186 MachineBlockFrequencyInfo::printBlockFreq(raw_ostream &OS, argument 188 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS; [all...] |
H A D | MachineBlockPlacement.cpp | 268 raw_string_ostream OS(Result); 269 OS << "BB#" << BB->getNumber() 271 OS.flush(); 280 raw_string_ostream OS(Result); 281 OS << "BB#" << BB->getNumber(); 282 OS.flush();
|
H A D | MachineBranchProbabilityInfo.cpp | 117 raw_ostream &OS, const MachineBasicBlock *Src, 121 OS << "edge MBB#" << Src->getNumber() << " -> MBB#" << Dst->getNumber() 125 return OS; 116 printEdgeProbability( raw_ostream &OS, const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const argument
|
H A D | MachineDominators.cpp | 57 void MachineDominatorTree::print(raw_ostream &OS, const Module*) const { argument 58 DT->print(OS);
|
H A D | MachineFunction.cpp | 334 void MachineFunction::print(raw_ostream &OS, SlotIndexes *Indexes) const { argument 335 OS << "# Machine code for function " << getName() << ": "; 337 OS << (RegInfo->isSSA() ? "SSA" : "Post SSA"); 339 OS << ", not tracking liveness"; 341 OS << '\n'; 344 FrameInfo->print(*this, OS); 348 JumpTableInfo->print(OS); 351 ConstantPool->print(OS); 356 OS << "Function Live Ins: "; 359 OS << PrintRe [all...] |