LLVM 20.0.0git
Macros | Functions
SystemZSelectionDAGInfo.cpp File Reference
#include "SystemZTargetMachine.h"
#include "llvm/CodeGen/SelectionDAG.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "systemz-selectiondag-info"
 

Functions

static unsigned getMemMemLenAdj (unsigned Op)
 
static SDValue createMemMemNode (SelectionDAG &DAG, const SDLoc &DL, unsigned Op, SDValue Chain, SDValue Dst, SDValue Src, SDValue LenAdj, SDValue Byte)
 
static SDValue emitMemMemImm (SelectionDAG &DAG, const SDLoc &DL, unsigned Op, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, SDValue Byte=SDValue())
 
static SDValue emitMemMemReg (SelectionDAG &DAG, const SDLoc &DL, unsigned Op, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, SDValue Byte=SDValue())
 
static SDValue memsetStore (SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, uint64_t ByteVal, uint64_t Size, Align Alignment, MachinePointerInfo DstPtrInfo)
 
static SDValue addIPMSequence (const SDLoc &DL, SDValue CCReg, SelectionDAG &DAG)
 
static std::pair< SDValue, SDValuegetBoundedStrlen (SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Src, SDValue Limit)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "systemz-selectiondag-info"

Definition at line 18 of file SystemZSelectionDAGInfo.cpp.

Function Documentation

◆ addIPMSequence()

static SDValue addIPMSequence ( const SDLoc DL,
SDValue  CCReg,
SelectionDAG DAG 
)
static

◆ createMemMemNode()

static SDValue createMemMemNode ( SelectionDAG DAG,
const SDLoc DL,
unsigned  Op,
SDValue  Chain,
SDValue  Dst,
SDValue  Src,
SDValue  LenAdj,
SDValue  Byte 
)
static

◆ emitMemMemImm()

static SDValue emitMemMemImm ( SelectionDAG DAG,
const SDLoc DL,
unsigned  Op,
SDValue  Chain,
SDValue  Dst,
SDValue  Src,
uint64_t  Size,
SDValue  Byte = SDValue() 
)
static

◆ emitMemMemReg()

static SDValue emitMemMemReg ( SelectionDAG DAG,
const SDLoc DL,
unsigned  Op,
SDValue  Chain,
SDValue  Dst,
SDValue  Src,
SDValue  Size,
SDValue  Byte = SDValue() 
)
static

◆ getBoundedStrlen()

static std::pair< SDValue, SDValue > getBoundedStrlen ( SelectionDAG DAG,
const SDLoc DL,
SDValue  Chain,
SDValue  Src,
SDValue  Limit 
)
static

◆ getMemMemLenAdj()

static unsigned getMemMemLenAdj ( unsigned  Op)
static

Definition at line 20 of file SystemZSelectionDAGInfo.cpp.

References llvm::SystemZISD::MEMSET_MVC.

Referenced by emitMemMemImm(), and emitMemMemReg().

◆ memsetStore()

static SDValue memsetStore ( SelectionDAG DAG,
const SDLoc DL,
SDValue  Chain,
SDValue  Dst,
uint64_t  ByteVal,
uint64_t  Size,
Align  Alignment,
MachinePointerInfo  DstPtrInfo 
)
static