llvm-6502/lib/Target/NVPTX
Justin Holewinski 21fdcb0271 [NVPTX] Add NVVMReflect pass to allow compile-time selection of
specific code paths.

This allows us to write code like:

  if (__nvvm_reflect("FOO"))
    // Do something
  else
    // Do something else

and compile into a library, then give "FOO" a value at kernel
compile-time so the check becomes a no-op.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178416 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-30 14:29:25 +00:00
..
InstPrinter
MCTargetDesc [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
TargetInfo [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
cl_common_defines.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
CMakeLists.txt [NVPTX] Add NVVMReflect pass to allow compile-time selection of 2013-03-30 14:29:25 +00:00
LLVMBuild.txt
Makefile
ManagedStringPool.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTX.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXAllocaHoisting.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXAsmPrinter.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXAsmPrinter.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXFrameLowering.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXFrameLowering.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXInstrInfo.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXInstrInfo.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXIntrinsics.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXISelDAGToDAG.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXISelDAGToDAG.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXISelLowering.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXISelLowering.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXLowerAggrCopies.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXLowerAggrCopies.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXNumRegisters.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXRegisterInfo.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXRegisterInfo.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXRegisterInfo.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXSection.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXSplitBBatBar.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXSubtarget.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXTargetMachine.cpp [NVPTX] Add NVVMReflect pass to allow compile-time selection of 2013-03-30 14:29:25 +00:00
NVPTXTargetMachine.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXTargetObjectFile.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXutil.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXutil.h
NVPTXUtilities.cpp [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXUtilities.h [NVPTX] Run clang-format on all NVPTX sources. 2013-03-30 14:29:21 +00:00
NVPTXVector.td
NVVMReflect.cpp [NVPTX] Add NVVMReflect pass to allow compile-time selection of 2013-03-30 14:29:25 +00:00