LLVM API Documentation
#include "SystemZTargetMachine.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "SystemZGenDAGISel.inc"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "systemz-isel" |
Functions | |
static bool | selectDisp (SystemZAddressingMode::DispRange DR, int64_t Val) |
static void | changeComponent (SystemZAddressingMode &AM, bool IsBase, SDValue Value) |
static bool | expandAdjDynAlloc (SystemZAddressingMode &AM, bool IsBase, SDValue Value) |
static bool | expandIndex (SystemZAddressingMode &AM, SDValue Base, SDValue Index) |
static bool | expandDisp (SystemZAddressingMode &AM, bool IsBase, SDValue Op0, uint64_t Op1) |
static bool | isValidDisp (SystemZAddressingMode::DispRange DR, int64_t Val) |
static bool | shouldUseLA (SDNode *Base, int64_t Disp, SDNode *Index) |
static void | insertDAGNode (SelectionDAG *DAG, SDNode *Pos, SDValue N) |
static bool | maskMatters (RxSBGOperands &RxSBG, uint64_t Mask) |
#define DEBUG_TYPE "systemz-isel" |
Definition at line 22 of file SystemZISelDAGToDAG.cpp.
static void changeComponent | ( | SystemZAddressingMode & | AM, |
bool | IsBase, | ||
SDValue | Value | ||
) | [static] |
Definition at line 363 of file SystemZISelDAGToDAG.cpp.
Referenced by expandAdjDynAlloc(), and expandDisp().
static bool expandAdjDynAlloc | ( | SystemZAddressingMode & | AM, |
bool | IsBase, | ||
SDValue | Value | ||
) | [static] |
Definition at line 374 of file SystemZISelDAGToDAG.cpp.
References changeComponent().
static bool expandDisp | ( | SystemZAddressingMode & | AM, |
bool | IsBase, | ||
SDValue | Op0, | ||
uint64_t | Op1 | ||
) | [static] |
Definition at line 398 of file SystemZISelDAGToDAG.cpp.
References changeComponent(), and selectDisp().
static bool expandIndex | ( | SystemZAddressingMode & | AM, |
SDValue | Base, | ||
SDValue | Index | ||
) | [static] |
Definition at line 386 of file SystemZISelDAGToDAG.cpp.
static void insertDAGNode | ( | SelectionDAG * | DAG, |
SDNode * | Pos, | ||
SDValue | N | ||
) | [static] |
Definition at line 567 of file SystemZISelDAGToDAG.cpp.
References llvm::SDValue::getNode(), llvm::SDNode::getNodeId(), llvm::SelectionDAG::RepositionNode(), and llvm::SDNode::setNodeId().
static bool isValidDisp | ( | SystemZAddressingMode::DispRange | DR, |
int64_t | Val | ||
) | [static] |
Definition at line 456 of file SystemZISelDAGToDAG.cpp.
References llvm_unreachable, and selectDisp().
static bool maskMatters | ( | RxSBGOperands & | RxSBG, |
uint64_t | Mask | ||
) | [static] |
Definition at line 691 of file SystemZISelDAGToDAG.cpp.
static bool selectDisp | ( | SystemZAddressingMode::DispRange | DR, |
int64_t | Val | ||
) | [static] |
Definition at line 345 of file SystemZISelDAGToDAG.cpp.
References llvm_unreachable.
Referenced by expandDisp(), and isValidDisp().
static bool shouldUseLA | ( | SDNode * | Base, |
int64_t | Disp, | ||
SDNode * | Index | ||
) | [static] |
Definition at line 476 of file SystemZISelDAGToDAG.cpp.
References llvm::ISD::FrameIndex, llvm::SDNode::getOpcode(), llvm::SDNode::hasOneUse(), llvm::isInt< 16 >(), llvm::ISD::SIGN_EXTEND, and llvm::ISD::SIGN_EXTEND_INREG.