llvm-6502/include/llvm/CodeGen
Jakob Stoklund Olesen df30cf9e61 Transpose the calculation of spill weights such that we are calculating one
register at a time. This turns out to be slightly faster than iterating over
instructions, but more importantly, it allows us to compute spill weights for
new registers created after the spill weight pass has run.

Also compute the allocation hint at the same time as the spill weight. This
allows us to use the spill weight as a cost metric for copies, and choose the
most profitable hint if there is more than one possibility.

The new hints provide a very small (< 0.1%) but universal code size improvement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110631 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-10 00:02:26 +00:00
..
Analysis.h
AsmPrinter.h Tidy some #includes and forward-declarations, and move the C binding code 2010-08-07 00:43:20 +00:00
BinaryObject.h
CalcSpillWeights.h Transpose the calculation of spill weights such that we are calculating one 2010-08-10 00:02:26 +00:00
CallingConvLower.h Fix eabi calling convention when a 64 bit value shadows r3. 2010-08-06 15:35:32 +00:00
FastISel.h Delete fast-isel's trivial load optimization; it breaks debugging because 2010-07-14 17:25:37 +00:00
FunctionLoweringInfo.h Reapply bottom-up fast-isel, with several fixes for x86-32: 2010-07-10 09:00:22 +00:00
GCMetadata.h Trailing whitespace. 2010-07-01 01:00:22 +00:00
GCMetadataPrinter.h Trailing whitespace. 2010-07-01 01:00:22 +00:00
GCs.h
GCStrategy.h
IntrinsicLowering.h
ISDOpcodes.h When splitting a VAARG, remember its alignment. 2010-06-26 18:22:20 +00:00
JITCodeEmitter.h
LatencyPriorityQueue.h
LinkAllAsmWriterComponents.h
LinkAllCodegenComponents.h
LiveInterval.h Transpose the calculation of spill weights such that we are calculating one 2010-08-10 00:02:26 +00:00
LiveIntervalAnalysis.h Transpose the calculation of spill weights such that we are calculating one 2010-08-10 00:02:26 +00:00
LiveStackAnalysis.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
LiveVariables.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
MachineBasicBlock.h Add a getFirstNonPHI utility function. 2010-07-07 14:33:51 +00:00
MachineCodeEmitter.h
MachineCodeInfo.h
MachineConstantPool.h
MachineDominators.h
MachineFrameInfo.h It's better to have the arrays, which would trigger the creation of stack 2010-07-27 01:55:19 +00:00
MachineFunction.h Remove double-def checking from MachineVerifier, so a register does not have to 2010-08-05 18:59:59 +00:00
MachineFunctionAnalysis.h
MachineFunctionPass.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
MachineInstr.h Rename DBG_LABEL PROLOG_LABEL, because it's only used during prolog emission and 2010-07-16 22:20:36 +00:00
MachineInstrBuilder.h
MachineJumpTableInfo.h
MachineLocation.h
MachineLoopInfo.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
MachineMemOperand.h
MachineModuleInfo.h Revert r108369, sorting llvm.dbg.declare information by source position, 2010-07-16 17:54:27 +00:00
MachineModuleInfoImpls.h
MachineOperand.h
MachinePassRegistry.h
MachineRegisterInfo.h Begin implementation of an inline spiller. 2010-06-29 23:58:39 +00:00
MachineRelocation.h
MachineSSAUpdater.h
MachORelocation.h
ObjectCodeEmitter.h
Passes.h Merge the OptimizeExts and OptimizeCmps passes into one PeepholeOptimizer 2010-08-09 23:59:04 +00:00
PostRAHazardRecognizer.h
ProcessImplicitDefs.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
PseudoSourceValue.h
RegAllocRegistry.h
RegisterCoalescer.h Be more forgiving when calculating alias interference for physreg coalescing. 2010-07-06 20:31:51 +00:00
RegisterScavenging.h After r107880, findSurvivorReg() no longer needs to be public. 2010-07-08 17:27:23 +00:00
RuntimeLibcalls.h
ScheduleDAG.h
ScheduleHazardRecognizer.h
SchedulerRegistry.h Add an ILP scheduler. This is a register pressure aware scheduler that's 2010-07-24 00:39:05 +00:00
SelectionDAG.h Fix va_arg for doubles. With this patch VAARG nodes always contain the 2010-07-11 04:01:49 +00:00
SelectionDAGISel.h Reapply bottom-up fast-isel, with several fixes for x86-32: 2010-07-10 09:00:22 +00:00
SelectionDAGNodes.h Move ArgFlagsTy, OutputArg, and InputArg out of SelectionDAGNodes.h and 2010-07-07 15:28:42 +00:00
SlotIndexes.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
TargetLoweringObjectFileImpl.h
ValueTypes.h
ValueTypes.td