llvm-6502/include/llvm/CodeGen
David Greene 434bd8551d Let's try this again. Re-apply 100143 including an apparent missing
<string> include.  For some reason the buildbot choked on this while my
builds did not.  It's probably due to a difference in system headers.

---

Add some switches helpful for debugging:

-print-before=<Pass Name>

Dump IR before running pass <Pass Name>.

-print-before-all

Dump IR before running each pass.

-print-after-all

Dump IR after running each pass.

These are helpful when tracking down a miscompilation.  It is easy to
get IR dumps and do diffs on them, etc.

To make this work well, add a new getPrinterPass API to Pass so that
each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass
suitable for dumping out the kind of object the Pass works on.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100204 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-02 18:46:26 +00:00
..
AsmPrinter.h Refactor code to push DILocation prcessing into DwarfDebug.cpp from AsmPrinter.cpp. 2010-03-29 17:20:31 +00:00
BinaryObject.h
CalcSpillWeights.h
CallingConvLower.h
DwarfWriter.h Refactor code to push DILocation prcessing into DwarfDebug.cpp from AsmPrinter.cpp. 2010-03-29 17:20:31 +00:00
ELFRelocation.h
FastISel.h
GCMetadata.h switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. 2010-03-14 07:27:07 +00:00
GCMetadataPrinter.h switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. 2010-03-14 07:27:07 +00:00
GCs.h
GCStrategy.h
IntrinsicLowering.h
JITCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
LatencyPriorityQueue.h
LinkAllAsmWriterComponents.h
LinkAllCodegenComponents.h
LiveInterval.h Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows 2010-03-30 20:16:45 +00:00
LiveIntervalAnalysis.h Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows 2010-03-30 20:16:45 +00:00
LiveStackAnalysis.h Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows 2010-03-30 20:16:45 +00:00
LiveVariables.h
MachineBasicBlock.h eliminate the now-unneeded context argument of MBB::getSymbol() 2010-03-13 21:04:28 +00:00
MachineCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
MachineCodeInfo.h
MachineConstantPool.h
MachineDominators.h
MachineFrameInfo.h
MachineFunction.h eliminate the now-unneeded context argument of MBB::getSymbol() 2010-03-13 21:04:28 +00:00
MachineFunctionAnalysis.h
MachineFunctionPass.h Let's try this again. Re-apply 100143 including an apparent missing 2010-04-02 18:46:26 +00:00
MachineInstr.h
MachineInstrBuilder.h add builder support for mcsymbol operands. 2010-03-13 08:16:25 +00:00
MachineJumpTableInfo.h Stop trying to merge identical jump tables. This had been inadvertently 2010-03-19 19:05:41 +00:00
MachineLocation.h MachineMove ctor doesn't need to to mutate input, add 'const' 2010-03-15 05:55:35 +00:00
MachineLoopInfo.h
MachineMemOperand.h
MachineModuleInfo.h Fix the third (and last known) case of code update problems due 2010-03-16 00:29:39 +00:00
MachineModuleInfoImpls.h
MachineOperand.h Change how dbg_value sdnodes are converted into machine instructions. Their placement should be determined by the relative order of incoming llvm instructions. The scheduler will now use the SDNode ordering information to determine where to insert them. A dbg_value instruction is inserted after the instruction with the last highest source order and before the instruction with the next highest source order. It will optimize the placement by inserting right after the instruction that produces the value if they have consecutive order numbers. 2010-03-25 01:38:16 +00:00
MachinePassRegistry.h
MachineRegisterInfo.h
MachineRelocation.h
MachineSSAUpdater.h
MachORelocation.h
ObjectCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
Passes.h Let's try this again. Re-apply 100143 including an apparent missing 2010-04-02 18:46:26 +00:00
ProcessImplicitDefs.h
PseudoSourceValue.h
RegAllocRegistry.h
RegisterCoalescer.h
RegisterScavenging.h
RuntimeLibcalls.h Add few missed libcalls and correct names for others. 2010-03-26 21:32:14 +00:00
ScheduleDAG.h
ScheduleHazardRecognizer.h
SchedulerRegistry.h
SelectionDAG.h Revert r100191 since it breaks objc in clang 2010-04-02 18:43:02 +00:00
SelectionDAGISel.h add an optimized form of OPC_EmitMergeInputChains for the 1, 0 and 2010-03-28 05:50:16 +00:00
SelectionDAGNodes.h bump FIRST_TARGET_MEMORY_OPCODE back up, there is no reason to make it a tight bound anymore. 2010-03-27 00:29:41 +00:00
SlotIndexes.h
TargetLoweringObjectFileImpl.h rename getSymbolForDwarf* to getExprForDwarf* since it returns 2010-03-11 19:41:58 +00:00
ValueTypes.h
ValueTypes.td