llvm-6502/include/llvm/Target
Jakob Stoklund Olesen 6bfba2e5af Prefer cheap registers for busy live ranges.
On the x86-64 and thumb2 targets, some registers are more expensive to encode
than others in the same register class.

Add a CostPerUse field to the TableGen register description, and make it
available from TRI->getCostPerUse. This represents the cost of a REX prefix or a
32-bit instruction encoding required by choosing a high register.

Teach the greedy register allocator to prefer cheap registers for busy live
ranges (as indicated by spill weight).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129864 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-20 18:19:48 +00:00
..
Mangler.h Remove std::string version of getNameWithPrefix. 2011-02-11 05:23:09 +00:00
SubtargetFeature.h Increase SubtargetFeatureKV Value and Implies fields to 64 bits since some targets are getting very close to 32 subtarget features. Also teach tablegen to error when there are more than 64 features to guard against undefined behavior. rdar://9282332 2011-04-15 19:35:46 +00:00
Target.td Prefer cheap registers for busy live ranges. 2011-04-20 18:19:48 +00:00
TargetAsmBackend.h Add createELFObjectTargetWriter method to TargetAsmBackend, which enables construction of non-standard ELFObjectWriters that can be used in MCJIT. 2011-03-09 18:44:41 +00:00
TargetAsmInfo.h
TargetAsmLexer.h
TargetAsmParser.h Introduce virtual ParseRegister method in TargetAsmParser. 2011-01-27 17:14:22 +00:00
TargetCallingConv.h
TargetCallingConv.td
TargetData.h Add TargetData::fitsInLegalInteger(). 2011-03-16 00:13:28 +00:00
TargetELFWriterInfo.h
TargetFrameLowering.h
TargetInstrDesc.h - Add "Bitcast" target instruction property for instructions which perform 2011-03-15 05:09:26 +00:00
TargetInstrInfo.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
TargetInstrItineraries.h Recommit r129383. PreRA scheduler heuristic fixes: VRegCycle, TokenFactor latency. 2011-04-13 00:38:32 +00:00
TargetIntrinsicInfo.h
TargetJITInfo.h
TargetLibraryInfo.h Optimize fprintf -> iprintf if there are no floating point arguments 2011-03-03 14:20:22 +00:00
TargetLowering.h ARM byval support. Will be enabled by another patch to the FE. <rdar://problem/7662569> 2011-04-20 16:47:52 +00:00
TargetLoweringObjectFile.h Remove unused arguments. 2011-04-20 03:08:09 +00:00
TargetMachine.h Integrated-As: Add support for setting the AllowTemporaryLabels flag via 2011-03-28 22:49:19 +00:00
TargetOpcodes.h
TargetOptions.h Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap is lowered into a call to the specified trap function at sdisel time. 2011-04-08 21:37:21 +00:00
TargetRegisterInfo.h Prefer cheap registers for busy live ranges. 2011-04-20 18:19:48 +00:00
TargetRegistry.h We need to pass the TargetMachine object to the InstPrinter if we are printing 2011-03-21 04:13:46 +00:00
TargetSchedule.td
TargetSelect.h Add InitializeNativeAsmParser function. 2011-03-09 17:25:46 +00:00
TargetSelectionDAG.td Add a new bit that ImmLeaf's can opt into, which allows them to duck out of 2011-04-18 06:36:55 +00:00
TargetSelectionDAGInfo.h
TargetSubtarget.h