LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
HexagonISelDAGToDAG.cpp File Reference
#include "Hexagon.h"
#include "HexagonISelLowering.h"
#include "HexagonTargetMachine.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "HexagonGenDAGISel.inc"
Include dependency graph for HexagonISelDAGToDAG.cpp:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define DEBUG_TYPE   "hexagon-isel"
 

Functions

void llvm::initializeHexagonDAGToDAGISelPass (PassRegistry &)
 
static void initializePassOnce (PassRegistry &Registry)
 
static bool IsS11_0_Offset (SDNode *S)
 
static bool IsS11_1_Offset (SDNode *S)
 
static bool IsS11_2_Offset (SDNode *S)
 
static bool IsS11_3_Offset (SDNode *S)
 
static bool IsU6_0_Offset (SDNode *S)
 
static bool IsU6_1_Offset (SDNode *S)
 
static bool IsU6_2_Offset (SDNode *S)
 
static unsigned doesIntrinsicReturnPredicate (unsigned ID)
 
static unsigned doesIntrinsicContainPredicate (unsigned ID)
 
static bool OffsetFitsS11 (EVT MemType, int64_t Offset)
 

Variables

static cl::opt< unsignedMaxNumOfUsesForConstExtenders ("ga-max-num-uses-for-constant-extenders", cl::Hidden, cl::init(2), cl::desc("Maximum number of uses of a global address such that we still us a""constant extended instruction"))
 

Macro Definition Documentation

#define DEBUG_TYPE   "hexagon-isel"

Definition at line 14 of file HexagonISelDAGToDAG.cpp.

Function Documentation

static unsigned doesIntrinsicContainPredicate ( unsigned  ID)
static
static unsigned doesIntrinsicReturnPredicate ( unsigned  ID)
static
static void initializePassOnce ( PassRegistry Registry)
static
static bool IsS11_0_Offset ( SDNode S)
static

Definition at line 198 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsS11_1_Offset ( SDNode S)
static

Definition at line 208 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsS11_2_Offset ( SDNode S)
static

Definition at line 218 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsS11_3_Offset ( SDNode S)
static

Definition at line 228 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsU6_0_Offset ( SDNode S)
static

Definition at line 238 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsU6_1_Offset ( SDNode S)
static

Definition at line 248 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool IsU6_2_Offset ( SDNode S)
static

Definition at line 258 of file HexagonISelDAGToDAG.cpp.

References llvm::ConstantSDNode::getSExtValue(), and N.

static bool OffsetFitsS11 ( EVT  MemType,
int64_t  Offset 
)
static

Definition at line 364 of file HexagonISelDAGToDAG.cpp.

References llvm::MVT::i16, llvm::MVT::i32, llvm::MVT::i64, and llvm::MVT::i8.

Variable Documentation

cl::opt<unsigned> MaxNumOfUsesForConstExtenders("ga-max-num-uses-for-constant-extenders", cl::Hidden, cl::init(2), cl::desc("Maximum number of uses of a global address such that we still us a""constant extended instruction"))
static