summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko2015-06-191-1/+1
| | | | | | | | | | | | | The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
* Remove unnecessary TargetMachine.h includes.Eric Christopher2014-10-141-1/+0
| | | | llvm-svn: 219672
* Put the functionality for printing a value to a raw_ostream as anChandler Carruth2014-01-091-1/+0
| | | | | | | | | | | | 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. llvm-svn: 198836
* Move the LLVM IR asm writer header files into the IR directory, as theyChandler Carruth2014-01-071-1/+1
| | | | | | | | | | | | | | | | | are part of the core IR library in order to support dumping and other basic functionality. Rename the 'Assembly' include directory to 'AsmParser' to match the library name and the only functionality left their -- printing has been in the core IR library for quite some time. Update all of the #includes to match. All of this started because I wanted to have the layering in good shape before I started adding support for printing LLVM IR using the new pass infrastructure, and commandline support for the new pass infrastructure. llvm-svn: 198688
* ScheduleDAG: colorize the DOT graph and improve formatting.Andrew Trick2013-01-251-0/+4
| | | | llvm-svn: 173431
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-6/+6
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Add a getName function to MachineFunction. Use it in places that previously ↵Craig Topper2012-08-221-2/+1
| | | | | | did getFunction()->getName(). Remove includes of Function.h that are no longer needed. llvm-svn: 162347
* Cleanup in preparation for misched: Move DAG visualization logic.Andrew Trick2012-03-071-9/+8
| | | | | | Soon, ScheduleDAG will not refer to the BB. llvm-svn: 152177
* whitespaceAndrew Trick2012-03-071-3/+3
| | | | llvm-svn: 152175
* drop unneeded config.h includesDylan Noblesmith2011-12-221-1/+0
| | | | llvm-svn: 147197
* Twinify GraphWriter a little bit.Benjamin Kramer2011-11-151-5/+5
| | | | llvm-svn: 144647
* Pass the graph to the DOTGraphTraits.getEdgeAttributes().Tobias Grosser2011-02-271-1/+2
| | | | | | This follows the interface of getNodeAttributes. llvm-svn: 126562
* Remove ShortNames from getNodeLabel in DOTGraphTraitsTobias Grosser2009-11-301-5/+2
| | | | llvm-svn: 90134
* Instantiate DefaultDOTGraphTraitsTobias Grosser2009-11-301-0/+3
| | | | llvm-svn: 90133
* Trim unnecessary includes.Evan Cheng2009-10-201-1/+0
| | | | llvm-svn: 84597
* Fix some refactos for iostream changes (in -Asserts mode).Daniel Dunbar2009-08-231-2/+2
| | | | | | - The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843
* Switch to getNameStr().Daniel Dunbar2009-07-241-5/+5
| | | | llvm-svn: 76962
* Switch some clients to Value::getName(), and other getName() userDaniel Dunbar2009-07-221-2/+2
| | | | | | | simplification. - NFC llvm-svn: 76789
* Get rid of the global CFGOnly flag by threading a ShortNames parameters ↵Owen Anderson2009-06-241-4/+6
| | | | | | | | through the GraphViz rendering code. Update other uses in the codebase for this change. llvm-svn: 74084
* Apparently some MachineBasicBlock's don't have corresponding llvm basic blocks.Evan Cheng2009-02-111-3/+7
| | | | llvm-svn: 64340
* Move a few containers out of ScheduleDAGInstrs::BuildSchedGraphDan Gohman2009-01-151-3/+3
| | | | | | | | | | | and into the ScheduleDAGInstrs class, so that they don't get destructed and re-constructed for each block. This fixes a compile-time hot spot in the post-pass scheduler. To help facilitate this, tidy and do some minor reorganization in the scheduler constructor functions. llvm-svn: 62275
* This getEdgeAttributes doesn't need a template argument.Dan Gohman2008-12-161-2/+2
| | | | llvm-svn: 61065
* Rename SDep's isSpecial to isArtificial, to make this field a littleDan Gohman2008-11-211-1/+1
| | | | | | less mysterious. llvm-svn: 59782
* Experimental post-pass scheduling support. Post-pass schedulingDan Gohman2008-11-191-0/+93
is currently off by default, and can be enabled with -disable-post-RA-scheduler=false. This doesn't have a significant impact on most code yet because it doesn't yet do anything to address anti-dependencies and it doesn't attempt to disambiguate memory references. Also, several popular targets don't have pipeline descriptions yet. The majority of the changes here are splitting the SelectionDAG-specific code out of ScheduleDAG, so that ScheduleDAG can be moved to libLLVMCodeGen.a. The interface between ScheduleDAG-using code and the rest of the scheduling code is somewhat rough and will evolve. llvm-svn: 59676
OpenPOWER on IntegriCloud