LLVM  5.0.0
Macros | Functions
NVPTXISelDAGToDAG.cpp File Reference
#include "NVPTXISelDAGToDAG.h"
#include "NVPTXUtilities.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Instructions.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.

Macros

#define DEBUG_TYPE   "nvptx-isel"
 

Functions

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 27 of file NVPTXISelDAGToDAG.cpp.

Function Documentation

static bool canLowerToLDG ( MemSDNode *  N,
const NVPTXSubtarget &  Subtarget,
unsigned  CodeAddrSpace,
MachineFunction *  F 
)
static
static unsigned int getCodeAddrSpace ( MemSDNode *  N)
static
static unsigned getPTXCmpMode ( const CondCodeSDNode &  CondCode,
bool  FTZ 
)
static
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 
)
static