Home

Put the functionality for printing a value to a raw_ostream as an

Press ? to show keyboard shortcuts.
Committed
chandlercJan 8 2014, 6:29 PM
Parents
rL198835: Patch by Ari Grant
Branches
Unknown
Tags
Unknown
Subscribers
None
Projects
None
Description

Put the functionality for printing a value to a raw_ostream as an
operand into the Value interface just like the core print method is.
That gives a more conistent organization to the IR printing interfaces

  • they are all attached to the IR objects themselves. Also, update all

the users.

This removes the 'Writer.h' header which contained only a single function
declaration.

Changes (44)

HistoryBrowseChangePath
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/CFGPrinter.h
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/Dominators.h
HistoryBrowseModifiedllvm/trunk/include/llvm/Analysis/LoopInfoImpl.h
HistoryBrowseModifiedllvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
HistoryBrowseModifiedllvm/trunk/include/llvm/IR/Value.h
HistoryBrowseDeletedllvm/trunk/include/llvm/IR/Writer.h
HistoryBrowseModifiedllvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/AliasSetTracker.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/DominanceFrontier.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/IVUsers.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/Lint.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/LoopInfo.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/MemDepPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/ModuleDebugInfoPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/PostDominators.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/RegionInfo.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/ScalarEvolution.cpp
HistoryBrowseModifiedllvm/trunk/lib/Analysis/Trace.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/MachineFunction.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/MachineInstr.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
HistoryBrowseModifiedllvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/AsmWriter.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/Dominators.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/LegacyPassManager.cpp
HistoryBrowseModifiedllvm/trunk/lib/IR/Verifier.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/Hexagon/HexagonAsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/GVN.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/Reassociate.cpp
HistoryBrowseModifiedllvm/trunk/lib/Transforms/Scalar/Sink.cpp
HistoryBrowseModifiedllvm/trunk/tools/bugpoint/ExtractFunction.cpp

rL198836

llvm/trunk/include/llvm/Analysis/CFGPrinter.h

Loading...

llvm/trunk/include/llvm/Analysis/Dominators.h

Loading...

llvm/trunk/include/llvm/Analysis/LoopInfoImpl.h

Loading...

llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h

Loading...

llvm/trunk/include/llvm/IR/Value.h

Loading...

llvm/trunk/include/llvm/IR/Writer.h

Loading...

llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp

Loading...

llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp

Loading...

llvm/trunk/lib/Analysis/AliasSetTracker.cpp

Loading...

llvm/trunk/lib/Analysis/DominanceFrontier.cpp

Loading...

llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp

Loading...

llvm/trunk/lib/Analysis/IVUsers.cpp

Loading...

llvm/trunk/lib/Analysis/Lint.cpp

Loading...

llvm/trunk/lib/Analysis/LoopInfo.cpp

Loading...

llvm/trunk/lib/Analysis/MemDepPrinter.cpp

Loading...

llvm/trunk/lib/Analysis/ModuleDebugInfoPrinter.cpp

Loading...

llvm/trunk/lib/Analysis/PostDominators.cpp

Loading...

llvm/trunk/lib/Analysis/RegionInfo.cpp

Loading...

llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Loading...

llvm/trunk/lib/Analysis/Trace.cpp

Loading...

llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Loading...

llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp

Loading...

llvm/trunk/lib/CodeGen/MachineFunction.cpp

Loading...

llvm/trunk/lib/CodeGen/MachineInstr.cpp

Loading...

llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp

Loading...

llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Loading...

llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

Loading...

llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

Loading...

llvm/trunk/lib/IR/AsmWriter.cpp

Loading...

llvm/trunk/lib/IR/Dominators.cpp

Loading...

llvm/trunk/lib/IR/LegacyPassManager.cpp

Loading...

llvm/trunk/lib/IR/Verifier.cpp

Loading...

llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/Hexagon/HexagonAsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/NVPTX/NVPTXAsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp

Loading...

llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/GVN.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp

Loading...

llvm/trunk/lib/Transforms/Scalar/Sink.cpp

Loading...

llvm/trunk/tools/bugpoint/ExtractFunction.cpp

Loading...

Add Comment