llvm-6502/lib/CodeGen
Chris Lattner ec2bc64505 Improve comments a bit
Use an explicit LiveRange class to represent ranges instead of an std::pair.
This is a minor cleanup, but is really intended to make a future patch simpler
and less invasive.

Alkis, could you please take a look at LiveInterval::liveAt?  I suspect that
you can add an operator<(unsigned) to LiveRange, allowing us to speed up the
upper_bound call by quite a bit (this would also apply to other callers of
upper/lower_bound).  I would do it myself, but I still don't understand that
crazy liveAt function, despite the comment. :)

Basically I would like to see this:
    LiveRange dummy(index, index+1);
    Ranges::const_iterator r = std::upper_bound(ranges.begin(),
                                                ranges.end(),
                                                dummy);

Turn into:
    Ranges::const_iterator r = std::upper_bound(ranges.begin(),
                                                ranges.end(),
                                                index);


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15130 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-23 08:24:23 +00:00
..
InstrSched Use new macro 2004-07-16 00:04:54 +00:00
ModuloScheduling These files don't need to include <iostream> since they include "Support/Debug.h". 2004-07-21 20:50:33 +00:00
SelectionDAG Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
IntrinsicLowering.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
LiveIntervalAnalysis.cpp Improve comments a bit 2004-07-23 08:24:23 +00:00
LiveIntervalAnalysis.h Improve comments a bit 2004-07-23 08:24:23 +00:00
LiveVariables.cpp There is no need to store the MBB along with the MI any more, we can now 2004-07-19 07:04:55 +00:00
MachineBasicBlock.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
MachineCodeEmitter.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
MachineCodeForInstruction.cpp Do not find these ugly sparc-specific objects by using the annotation API on 2004-06-27 18:52:17 +00:00
MachineFunction.cpp Add viewCFG() and viewCFGOnly() APIs. 2004-07-08 00:47:58 +00:00
MachineInstr.cpp * Doxygenify comments 2004-07-09 14:45:17 +00:00
MachineInstrAnnot.cpp Move the private MachineInstrAnnot.h into a private directory. 2004-02-29 19:12:51 +00:00
Makefile Making an archive version of the CodeGen library is unnecessary if we just 2004-06-22 17:52:30 +00:00
Passes.cpp The default has not been 'simple' for AGES! 2004-07-22 21:46:02 +00:00
PHIElimination.cpp Update live intervals more accurately for PHI elim. This slightly reduces 2004-07-23 05:27:43 +00:00
PhysRegTracker.h Improved PhysRegTracker interface. RegAlloc lazily allocates the register tracker using a std::auto_ptr 2004-02-23 06:10:13 +00:00
PrologEpilogInserter.cpp Fix fallout from getOffsetOfLocalArea() being negated. Debugging dumps were being 2004-06-11 06:37:11 +00:00
RegAllocIterativeScan.cpp Use reverse iterators when updating the vector, since scanning from 2004-07-22 02:16:53 +00:00
RegAllocLinearScan.cpp Some compile time improvements resulting in a 1sec speedup in the 5sec 2004-07-22 08:14:44 +00:00
RegAllocLocal.cpp These files don't need to include <iostream> since they include "Support/Debug.h". 2004-07-21 20:50:33 +00:00
RegAllocSimple.cpp These files don't need to include <iostream> since they include "Support/Debug.h". 2004-07-21 20:50:33 +00:00
TwoAddressInstructionPass.cpp Fix indentation and wrap code at 80 cols 2004-07-22 15:26:23 +00:00
UnreachableBlockElim.cpp Fix a bug in the unreachable block elim pass. Dropping all references on a 2004-07-06 06:36:11 +00:00
VirtRegMap.cpp These files don't need to include <iostream> since they include "Support/Debug.h". 2004-07-21 20:50:33 +00:00
VirtRegMap.h Add function to clear all virtual->physical mappings but not assigned 2004-07-20 13:28:17 +00:00