llvm-6502/include/llvm/CodeGen
Jakob Stoklund Olesen 352d352c02 Always normalize spill weights, also for intervals created by spilling.
Moderate the weight given to very small intervals.

The spill weight given to new intervals created when spilling was not
normalized in the same way as the original spill weights calculated by
CalcSpillWeights. That meant that restored registers would tend to hang around
because they had a much higher spill weight that unspilled registers.

This improves the runtime of a few tests by up to 10%, and there are no
significant regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96613 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 21:33:05 +00:00
..
AsmPrinter.h Fix a few unused parameter warnings. 2010-02-17 23:55:26 +00:00
BinaryObject.h
CalcSpillWeights.h
CallingConvLower.h
DAGISelHeader.h Emulate the current isel's "IsChainCompatible" logic for now. 2010-02-17 06:23:39 +00:00
DwarfWriter.h constify a bunch of dwarf stuff now that the registerinfo method 2010-01-26 23:18:02 +00:00
ELFRelocation.h
FastISel.h
GCMetadata.h
GCMetadataPrinter.h
GCs.h
GCStrategy.h
IntrinsicLowering.h
JITCodeEmitter.h Fix several comments which had previously been "the the" where a 2010-02-10 20:04:19 +00:00
LatencyPriorityQueue.h
LinkAllAsmWriterComponents.h
LinkAllCodegenComponents.h
LiveInterval.h Fix several comments which had previously been "the the" where a 2010-02-10 20:04:19 +00:00
LiveIntervalAnalysis.h Always normalize spill weights, also for intervals created by spilling. 2010-02-18 21:33:05 +00:00
LiveStackAnalysis.h
LiveVariables.h
MachineBasicBlock.h move isOnlyReachableByFallthrough out of MachineBasicBlock into AsmPrinter, 2010-02-17 18:52:56 +00:00
MachineCodeEmitter.h Fix several comments which had previously been "the the" where a 2010-02-10 20:04:19 +00:00
MachineCodeInfo.h
MachineConstantPool.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
MachineDominators.h
MachineFrameInfo.h Teach MachineFrameInfo to track maximum alignment while stack objects are being 2010-02-13 01:56:41 +00:00
MachineFunction.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
MachineFunctionAnalysis.h make MachineFunction keep track of its ID and make 2010-01-26 04:35:26 +00:00
MachineFunctionPass.h
MachineInstr.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
MachineInstrBuilder.h Add a Debug bit to MachineOperand, for uses that 2010-02-06 02:28:32 +00:00
MachineJumpTableInfo.h Move getJTISymbol from MachineJumpTableInfo to MachineFunction, 2010-01-26 06:28:43 +00:00
MachineLocation.h
MachineLoopInfo.h
MachineMemOperand.h Add non-temporal flags to MachineMemOperand. 2010-02-15 16:48:31 +00:00
MachineModuleInfo.h Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there 2010-02-15 22:35:59 +00:00
MachineModuleInfoImpls.h Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there 2010-02-15 22:35:59 +00:00
MachineOperand.h Allow isDebug inquiry on any MO. 2010-02-10 23:03:20 +00:00
MachinePassRegistry.h
MachineRegisterInfo.h Add a Debug bit to MachineOperand, for uses that 2010-02-06 02:28:32 +00:00
MachineRelocation.h Disable external stubs for X86-32 and X86-64 2010-02-04 19:56:59 +00:00
MachineSSAUpdater.h
MachORelocation.h
ObjectCodeEmitter.h Fix several comments which had previously been "the the" where a 2010-02-10 20:04:19 +00:00
Passes.h Add a new pass on machine instructions to optimize away PHI cycles that 2010-02-12 01:30:21 +00:00
ProcessImplicitDefs.h
PseudoSourceValue.h
RegAllocRegistry.h
RegisterCoalescer.h
RegisterScavenging.h
RuntimeLibcalls.h
ScheduleDAG.h
ScheduleHazardRecognizer.h
SchedulerRegistry.h
SelectionDAG.h Add non-temporal flags and remove an assumption of default arguments. 2010-02-15 17:00:31 +00:00
SelectionDAGISel.h make the new isel's interpreter loop call the generated 2010-02-17 00:41:34 +00:00
SelectionDAGNodes.h Make the non-temporal bit "significant" in MemSDNodes so they aren't 2010-02-17 20:21:42 +00:00
SlotIndexes.h Changed the definition of an "invalid" slot to include the empty & tombstone values, but not zero. 2010-02-09 00:41:23 +00:00
TargetLoweringObjectFileImpl.h Move TLOF implementations to libCodegen to resolve layering violation. 2010-02-15 22:37:53 +00:00
ValueTypes.h Do an early exit when the result is known cheaply. 2010-02-01 20:57:35 +00:00
ValueTypes.td