LLVM: lib/Target/NVPTX/NVPTXSubtarget.cpp File Reference (original) (raw)

#include "[NVPTXSubtarget.h](NVPTXSubtarget%5F8h%5Fsource.html)"
#include "[NVPTXSelectionDAGInfo.h](NVPTXSelectionDAGInfo%5F8h%5Fsource.html)"
#include "[NVPTXTargetMachine.h](NVPTXTargetMachine%5F8h%5Fsource.html)"
#include "[llvm/Support/ErrorHandling.h](llvm%5F2Support%5F2ErrorHandling%5F8h%5Fsource.html)"
#include "[llvm/Support/FormatVariadic.h](FormatVariadic%5F8h%5Fsource.html)"
#include "NVPTXGenSubtargetInfo.inc"

Go to the source code of this file.

Macros
#define DEBUG_TYPE "nvptx-subtarget"
#define GET_SUBTARGETINFO_ENUM
#define GET_SUBTARGETINFO_TARGET_DESC
#define GET_SUBTARGETINFO_CTOR
Variables
static cl::opt< bool > NoF16Math ("nvptx-no-f16-math", cl::Hidden, cl::desc("NVPTX Specific: Disable generation of f16 math ops."), cl::init(false))
static cl::opt< bool > NoF32x2 ("nvptx-no-f32x2", cl::Hidden, cl::desc("NVPTX Specific: Disable generation of " "f32x2 instructions and registers."), cl::init(false))

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "nvptx-subtarget"

Definition at line 21 of file NVPTXSubtarget.cpp.

GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 25 of file NVPTXSubtarget.cpp.

GET_SUBTARGETINFO_ENUM

#define GET_SUBTARGETINFO_ENUM

Definition at line 23 of file NVPTXSubtarget.cpp.

GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 24 of file NVPTXSubtarget.cpp.

Variable Documentation

NoF16Math

cl::opt< bool > NoF16Math("nvptx-no-f16-math", cl::Hidden, cl::desc("NVPTX Specific: Disable generation of f16 math ops."), cl::init(false)) ( "nvptx-no-f16-math" , cl::Hidden , cl::desc("NVPTX Specific: Disable generation of f16 math ops.") , cl::init(false) ) static

Referenced by llvm::NVPTXSubtarget::allowFP16Math().

NoF32x2

cl::opt< bool > NoF32x2("nvptx-no-f32x2", cl::Hidden, cl::desc("NVPTX Specific: Disable generation of " "f32x2 instructions and registers."), cl::init(false)) ( "nvptx-no-f32x2" , cl::Hidden , cl::desc("NVPTX Specific: Disable generation of " "f32x2 instructions and registers.") , cl::init(false) ) static

Referenced by llvm::NVPTXSubtarget::hasF32x2Instructions().