LLVM API Documentation
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "systemz-selectiondag-info" |
Functions | |
static SDValue | emitMemMem (SelectionDAG &DAG, SDLoc DL, unsigned Sequence, unsigned Loop, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size) |
static SDValue | memsetStore (SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Dst, uint64_t ByteVal, uint64_t Size, unsigned Align, MachinePointerInfo DstPtrInfo) |
static SDValue | emitCLC (SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src1, SDValue Src2, uint64_t Size) |
static SDValue | addIPMSequence (SDLoc DL, SDValue Glue, SelectionDAG &DAG) |
static std::pair< SDValue, SDValue > | getBoundedStrlen (SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue Limit) |
#define DEBUG_TYPE "systemz-selectiondag-info" |
Definition at line 19 of file SystemZSelectionDAGInfo.cpp.
static SDValue addIPMSequence | ( | SDLoc | DL, |
SDValue | Glue, | ||
SelectionDAG & | DAG | ||
) | [static] |
Definition at line 182 of file SystemZSelectionDAGInfo.cpp.
References llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::MVT::i32, llvm::SystemZISD::IPM, llvm::SystemZ::IPM_CC, llvm::ISD::ROTL, and llvm::ISD::SRL.
Referenced by llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemcmp(), and llvm::SystemZSelectionDAGInfo::EmitTargetCodeForStrcmp().
static SDValue emitCLC | ( | SelectionDAG & | DAG, |
SDLoc | DL, | ||
SDValue | Chain, | ||
SDValue | Src1, | ||
SDValue | Src2, | ||
uint64_t | Size | ||
) | [static] |
Definition at line 158 of file SystemZSelectionDAGInfo.cpp.
References llvm::SystemZISD::CLC, llvm::SystemZISD::CLC_LOOP, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValueType(), llvm::SelectionDAG::getVTList(), llvm::MVT::Glue, and llvm::MVT::Other.
Referenced by llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemcmp().
static SDValue emitMemMem | ( | SelectionDAG & | DAG, |
SDLoc | DL, | ||
unsigned | Sequence, | ||
unsigned | Loop, | ||
SDValue | Chain, | ||
SDValue | Dst, | ||
SDValue | Src, | ||
uint64_t | Size | ||
) | [static] |
Definition at line 32 of file SystemZSelectionDAGInfo.cpp.
References llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValueType(), and llvm::MVT::Other.
Referenced by llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemcpy(), and llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemset().
static std::pair<SDValue, SDValue> getBoundedStrlen | ( | SelectionDAG & | DAG, |
SDLoc | DL, | ||
SDValue | Chain, | ||
SDValue | Src, | ||
SDValue | Limit | ||
) | [static] |
Definition at line 265 of file SystemZSelectionDAGInfo.cpp.
References llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::SelectionDAG::getVTList(), llvm::MVT::Glue, llvm::MVT::i32, llvm::MVT::Other, llvm::SystemZISD::SEARCH_STRING, and llvm::ISD::SUB.
Referenced by llvm::SystemZSelectionDAGInfo::EmitTargetCodeForStrlen(), and llvm::SystemZSelectionDAGInfo::EmitTargetCodeForStrnlen().
static SDValue memsetStore | ( | SelectionDAG & | DAG, |
SDLoc | DL, | ||
SDValue | Chain, | ||
SDValue | Dst, | ||
uint64_t | ByteVal, | ||
uint64_t | Size, | ||
unsigned | Align, | ||
MachinePointerInfo | DstPtrInfo | ||
) | [static] |
Definition at line 73 of file SystemZSelectionDAGInfo.cpp.
References Align(), llvm::SelectionDAG::getConstant(), llvm::MVT::getIntegerVT(), llvm::SelectionDAG::getStore(), and I.
Referenced by llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemset().