llvm-6502/include/llvm/CodeGen
Chris Lattner fd3f635103 Fix rdar://9289512 - not folding load into compare at -O0
The basic issue here is that bottom-up isel is matching the branch
and compare, and was failing to fold the load into the branch/compare
combo.  Fixing this (by allowing folding into any instruction of a
sequence that is selected) allows us to produce things like:


cmpb    $0, 52(%rax)
je      LBB4_2

instead of:

movb    52(%rax), %cl
cmpb    $0, %cl
je      LBB4_2

This makes the generated -O0 code run a bit faster, but also speeds up
compile time by putting less pressure on the register allocator and 
generating less code.

This was one of the biggest classes of missing load folding.  Implementing
this shrinks 176.gcc's c-decl.s (as a random example) by about 4% in (verbose-asm)
line count.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129656 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-17 06:35:44 +00:00
..
PBQP
Analysis.h
AsmPrinter.h Some refactoring suggested by Anton Korobeynikov. 2011-04-15 20:32:03 +00:00
BinaryObject.h
CalcSpillWeights.h
CallingConvLower.h
EdgeBundles.h Build the Hopfield network incrementally when splitting global live ranges. 2011-04-09 02:59:09 +00:00
FastISel.h
FunctionLoweringInfo.h
GCMetadata.h
GCMetadataPrinter.h
GCs.h
GCStrategy.h
IntrinsicLowering.h
ISDOpcodes.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
JITCodeEmitter.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
LatencyPriorityQueue.h
LinkAllAsmWriterComponents.h
LinkAllCodegenComponents.h
LiveInterval.h Rewrite instructions as part of ConnectedVNInfoEqClasses::Distribute. 2011-03-17 00:23:45 +00:00
LiveIntervalAnalysis.h Dead code elimination may separate the live interval into multiple connected components. 2011-03-17 20:37:07 +00:00
LiveStackAnalysis.h
LiveVariables.h
MachineBasicBlock.h Cache the fairly expensive last split point computation and provide a fast 2011-04-05 04:20:27 +00:00
MachineCodeEmitter.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
MachineCodeInfo.h
MachineConstantPool.h Add comment to clarify what MachineConstantPoolEntry::isMachineConstantPoolEntry() means. 2011-03-24 06:28:45 +00:00
MachineDominators.h
MachineFrameInfo.h
MachineFunction.h
MachineFunctionAnalysis.h
MachineFunctionPass.h
MachineInstr.h
MachineInstrBuilder.h
MachineJumpTableInfo.h
MachineLocation.h
MachineLoopInfo.h
MachineLoopRanges.h
MachineMemOperand.h
MachineModuleInfo.h
MachineModuleInfoImpls.h
MachineOperand.h
MachinePassRegistry.h
MachineRegisterInfo.h
MachineRelocation.h
MachineSSAUpdater.h
MachORelocation.h
ObjectCodeEmitter.h
Passes.h
ProcessImplicitDefs.h
PseudoSourceValue.h
RegAllocPBQP.h
RegAllocRegistry.h
RegisterCoalescer.h
RegisterScavenging.h
RuntimeLibcalls.h Issue libcalls __udivmod*i4 / __divmod*i4 for div / rem pairs. 2011-04-01 00:42:02 +00:00
ScheduleDAG.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
ScheduleHazardRecognizer.h
SchedulerRegistry.h
ScoreboardHazardRecognizer.h
SelectionDAG.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
SelectionDAGISel.h Fix rdar://9289512 - not folding load into compare at -O0 2011-04-17 06:35:44 +00:00
SelectionDAGNodes.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
SlotIndexes.h Skip a binary search when possible. 2011-04-11 20:01:44 +00:00
TargetLoweringObjectFileImpl.h Put each personality function in a section. This fixes the gnu ld warning: 2011-04-16 03:51:21 +00:00
ValueTypes.h
ValueTypes.td