LLVM  16.0.0git
Macros | Functions
NVPTXISelDAGToDAG.cpp File Reference
#include "NVPTXISelDAGToDAG.h"
#include "MCTargetDesc/NVPTXBaseInfo.h"
#include "NVPTXUtilities.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetIntrinsicInfo.h"
Include dependency graph for NVPTXISelDAGToDAG.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "nvptx-isel"


static unsigned getPTXCmpMode (const CondCodeSDNode &CondCode, bool FTZ)
static unsigned int getCodeAddrSpace (MemSDNode *N)
static bool canLowerToLDG (MemSDNode *N, const NVPTXSubtarget &Subtarget, unsigned CodeAddrSpace, MachineFunction *F)
static Optional< unsigned > pickOpcodeForVT (MVT::SimpleValueType VT, unsigned Opcode_i8, unsigned Opcode_i16, unsigned Opcode_i32, Optional< unsigned > Opcode_i64, unsigned Opcode_f16, unsigned Opcode_f16x2, unsigned Opcode_f32, Optional< unsigned > Opcode_f64)

Macro Definition Documentation


#define DEBUG_TYPE   "nvptx-isel"

Definition at line 29 of file NVPTXISelDAGToDAG.cpp.

Function Documentation

◆ canLowerToLDG()

static bool canLowerToLDG ( MemSDNode N,
const NVPTXSubtarget Subtarget,
unsigned  CodeAddrSpace,
MachineFunction F 

◆ getCodeAddrSpace()

static unsigned int getCodeAddrSpace ( MemSDNode N)

◆ getPTXCmpMode()

static unsigned getPTXCmpMode ( const CondCodeSDNode CondCode,
bool  FTZ 

◆ pickOpcodeForVT()

static Optional<unsigned> pickOpcodeForVT ( MVT::SimpleValueType  VT,
unsigned  Opcode_i8,
unsigned  Opcode_i16,
unsigned  Opcode_i32,
Optional< unsigned >  Opcode_i64,
unsigned  Opcode_f16,
unsigned  Opcode_f16x2,
unsigned  Opcode_f32,
Optional< unsigned >  Opcode_f64