LLVM 22.0.0git
NVPTXSubtarget.cpp File Reference
#include "NVPTXSubtarget.h"
#include "NVPTXSelectionDAGInfo.h"
#include "NVPTXTargetMachine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormatVariadic.h"
#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< boolNoF16Math ("nvptx-no-f16-math", cl::Hidden, cl::desc("NVPTX Specific: Disable generation of f16 math ops."), cl::init(false))
static cl::opt< boolNoF32x2 ("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

◆ 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