summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-8/+8
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Minor changes.Vikram S. Adve2002-03-241-7/+3
| | | | llvm-svn: 1971
* * Straighten out #includesChris Lattner2002-02-031-10/+7
| | | | | | * Switch from MachineCodeForVMInstr to MachineCodeForInstruction model llvm-svn: 1644
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-47/+45
| | | | llvm-svn: 1503
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-19/+11
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Stuff after a #endif is not valid CPP input and breaks some compilersChris Lattner2001-11-261-3/+3
| | | | llvm-svn: 1375
* Eliminate most uses of the machine instruction vector for each LLVM instr,Vikram S. Adve2001-11-121-53/+67
| | | | | | | | since some m. instr. may be generated by LLVM instrs. in other blocks. Handle non-SSA (anti and output) edges and true edges uniformly by working with machine instructions alone. llvm-svn: 1269
* Major improvement to how nodes are built for a BB.Vikram S. Adve2001-11-121-18/+62
| | | | | | LLVM instruction is no longer recorded in each node, but BB is. llvm-svn: 1262
* Only add true dep. edges from an earlier to a later instruction.Vikram S. Adve2001-11-111-29/+35
| | | | | | | This wasn't a problem until we started putting copies for Phi values that produced cycles in the SchedGraph! llvm-svn: 1254
* Major change to how defs are found when adding dependences (theyVikram S. Adve2001-11-081-164/+58
| | | | | | | | are now found as part of the initial walk of the machine code). Also memory load/store instructions can be generated for non-memory LLVM instructions, which wasn't handled before. It is now. llvm-svn: 1199
* Modified graph construction to use one pass to find all defs.Vikram S. Adve2001-11-051-51/+129
| | | | | | | Avoids having to handle some special cases that cause complex interactions with instr. selection. llvm-svn: 1138
* Add edges between call instructions and (a) load/store instructions, andVikram S. Adve2001-10-281-34/+111
| | | | | | | (b) any instructions that use or set CC registers. Whether or not the latter are needed really should be machine-dependent. llvm-svn: 1008
* *** empty log message ***Vikram S. Adve2001-10-171-15/+24
| | | | llvm-svn: 857
* * Fix privacy issues on RegToRefVecMapChris Lattner2001-10-131-5/+5
| | | | | | * Fix initialization order problems... llvm-svn: 762
* Add graph edges due to implicit refs in each machine instruction.Vikram S. Adve2001-10-111-27/+52
| | | | llvm-svn: 724
* Don't insert useful instructions in delay slot of a RETURN.Vikram S. Adve2001-10-101-1/+1
| | | | llvm-svn: 721
* Commit more code over to new cast styleChris Lattner2001-10-021-2/+3
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-2/+1
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add support for new style castsChris Lattner2001-10-011-1/+1
| | | | llvm-svn: 694
* Two bug fixes:Vikram S. Adve2001-09-301-78/+177
| | | | | | | (1) Add edges for Values that are written by multiple m/c instructions (2) Add edges for LLVM operands that are not machine operands (e.g., Call args) llvm-svn: 676
* Moved erase edge functions to class SchedGraph.Vikram S. Adve2001-09-181-42/+93
| | | | | | Add new dummy edges when deleting existing edges. llvm-svn: 609
* Chris seems fond of #include <vector>. Fix these. Also convert use list inChris Lattner2001-09-141-1/+1
| | | | | | | | Value to a vector instead of a list. Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling llvm-svn: 572
* Split Target/Machine.h into three files:Chris Lattner2001-09-141-5/+2
| | | | | | | | | * Machine.h * InstInfo.h * SchedInfo.h TODO: Split out reg info stuff llvm-svn: 567
* Make a new llvm/Target #include directory.Chris Lattner2001-09-141-1/+1
| | | | | | | | Move files from lib/CodeGen/TargetMachine to lib/Target Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h} Prepare to split TargetMachine.h into several smaller files llvm-svn: 566
* Use predicate for Value type testChris Lattner2001-09-101-2/+1
| | | | llvm-svn: 540
* Remove unnecesary #include add dump calls pulled out of .h fileChris Lattner2001-09-071-6/+10
| | | | llvm-svn: 488
* Scheduling DAG for instruction scheduling. Currently for a single basic block.Vikram S. Adve2001-08-281-0/+759
llvm-svn: 394
OpenPOWER on IntegriCloud