llvm-project/llvm/lib/Target/NVPTX
Bob Wilson cac3b90633 Extend TargetPassConfig to allow running only a subset of the normal passes.
This is still a work in progress but I believe it is currently good enough
to fix PR13122 "Need unit test driver for codegen IR passes".  For example,
you can run llc with -stop-after=loop-reduce to have it dump out the IR after
running LSR.  Serializing machine-level IR is not yet supported but we have
some patches in progress for that.

The plan is to serialize the IR to a YAML file, containing separate sections
for the LLVM IR, machine-level IR, and whatever other info is needed.  Chad
suggested that we stash the stop-after pass in the YAML file and use that
instead of the start-after option to figure out where to restart the
compilation.  I think that's a great idea, but since it's not implemented yet
I put the -start-after option into this patch for testing purposes.

llvm-svn: 159570
2012-07-02 19:48:45 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h Fix header file include order in NVPTX backend NV_CONTRIB 2012-06-05 19:06:13 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp Fix typos 2012-05-31 17:11:25 +00:00
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp Remove layering violation #include. 2012-06-28 20:17:05 +00:00
NVPTXAsmPrinter.h Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXISelDAGToDAG.cpp NVPTX: Initialize the UseF32FTZ flag. 2012-05-05 11:22:02 +00:00
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCall 2012-05-25 16:35:28 +00:00
NVPTXISelLowering.h Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCall 2012-05-25 16:35:28 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXInstrInfo.h
NVPTXInstrInfo.td Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
NVPTXIntrinsics.td
NVPTXLowerAggrCopies.cpp Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h 2012-06-29 12:38:19 +00:00
NVPTXLowerAggrCopies.h
NVPTXNumRegisters.h
NVPTXRegisterInfo.cpp Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.h Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.td Shrink. 2012-05-24 22:17:44 +00:00
NVPTXSection.h Remove extraneous ';'. 2012-05-15 00:41:56 +00:00
NVPTXSplitBBatBar.cpp
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp Add all codegen passes to the PassManager via TargetPassConfig. 2012-07-02 19:48:31 +00:00
NVPTXTargetMachine.h Extend TargetPassConfig to allow running only a subset of the normal passes. 2012-07-02 19:48:45 +00:00
NVPTXTargetObjectFile.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
NVPTXUtilities.cpp
NVPTXUtilities.h
NVPTXVector.td
NVPTXutil.cpp Fix warnings in release build. 2012-05-04 22:34:16 +00:00
NVPTXutil.h
VectorElementize.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
cl_common_defines.h
gen-register-defs.py