LLVM API Documentation
#include <SystemZSelectionDAGInfo.h>
Additional Inherited Members | |
![]() | |
const DataLayout * | getDataLayout () const |
Definition at line 23 of file SystemZSelectionDAGInfo.h.
|
explicit |
Definition at line 21 of file SystemZSelectionDAGInfo.cpp.
SystemZSelectionDAGInfo::~SystemZSelectionDAGInfo | ( | ) |
Definition at line 25 of file SystemZSelectionDAGInfo.cpp.
|
virtual |
EmitTargetCodeForMemchr - Emit target-specific code that performs a memchr, in cases where that is faster than a libcall. The first returned SDValue is the result of the memchr and the second is the chain. Both SDValues can be null if a normal libcall should be used.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 208 of file SystemZSelectionDAGInfo.cpp.
References llvm::ISD::ADD, llvm::ISD::AND, llvm::SystemZ::CCMASK_SRST, llvm::SystemZ::CCMASK_SRST_FOUND, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::SelectionDAG::getVTList(), llvm::SelectionDAG::getZExtOrTrunc(), llvm::MVT::Glue, llvm::MVT::i32, llvm::MVT::Other, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::SystemZISD::SEARCH_STRING, llvm::SystemZISD::SELECT_CCMASK, and llvm::SmallVectorTemplateCommon< T >::size().
|
virtual |
EmitTargetCodeForMemcmp - Emit target-specific code that performs a memcmp, in cases where that is faster than a libcall. The first returned SDValue is the result of the memcmp and the second is the chain. Both SDValues can be null if a normal libcall should be used.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 193 of file SystemZSelectionDAGInfo.cpp.
References addIPMSequence(), emitCLC(), and llvm::SDValue::getValue().
|
virtual |
EmitTargetCodeForMemcpy - Emit target-specific code that performs a memcpy. This can be used by targets to provide code sequences for cases that don't fit the target's parameters for simple loads/stores and can be more efficient than using a library call. This function can return a null SDValue if the target declines to use custom code and a different lowering strategy should be used.
If AlwaysInline is true, the size is constant and the target should not emit any calls and is strongly encouraged to attempt to emit inline code even if it is beyond the usual threshold because this intrinsic is being expanded in a place where calls are not feasible (e.g. within the prologue for another call). If the target chooses to decline an AlwaysInline request here, legalize will resort to using simple loads and stores.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 57 of file SystemZSelectionDAGInfo.cpp.
References emitMemMem(), llvm::SystemZISD::MVC, and llvm::SystemZISD::MVC_LOOP.
|
virtual |
EmitTargetCodeForMemset - Emit target-specific code that performs a memset. This can be used by targets to provide code sequences for cases that don't fit the target's parameters for simple stores and can be more efficient than using a library call. This function can return a null SDValue if the target declines to use custom code and a different lowering strategy should be used.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 87 of file SystemZSelectionDAGInfo.cpp.
References llvm::ISD::ADD, llvm::CountPopulation_64(), llvm::dyn_cast(), emitMemMem(), llvm::findLastSet(), llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getStore(), llvm::SDValue::getValueType(), llvm::MachinePointerInfo::getWithOffset(), llvm::ConstantSDNode::getZExtValue(), memsetStore(), llvm::SystemZISD::MVC, llvm::SystemZISD::MVC_LOOP, llvm::MVT::Other, llvm::ISD::TokenFactor, llvm::SystemZISD::XC, and llvm::SystemZISD::XC_LOOP.
|
virtual |
EmitTargetCodeForStrcmp - Emit target-specific code that performs a strcmp, in cases where that is faster than a libcall. The first returned SDValue is the result of the strcmp and the second is the chain. Both SDValues can be null if a normal libcall should be used.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 249 of file SystemZSelectionDAGInfo.cpp.
References addIPMSequence(), llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::SelectionDAG::getVTList(), llvm::MVT::Glue, llvm::MVT::i32, llvm::MVT::Other, and llvm::SystemZISD::STRCMP.
|
virtual |
EmitTargetCodeForStrcpy - Emit target-specific code that performs a strcpy or stpcpy, in cases where that is faster than a libcall. The first returned SDValue is the result of the copy (the start of the destination string for strcpy, a pointer to the null terminator for stpcpy) and the second is the chain. Both SDValues can be null if a normal libcall should be used.
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 238 of file SystemZSelectionDAGInfo.cpp.
References llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::SelectionDAG::getVTList(), llvm::MVT::i32, llvm::MVT::Other, and llvm::SystemZISD::STPCPY.
|
virtual |
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 279 of file SystemZSelectionDAGInfo.cpp.
References getBoundedStrlen(), llvm::SelectionDAG::getConstant(), and llvm::SDValue::getValueType().
|
virtual |
Reimplemented from llvm::TargetSelectionDAGInfo.
Definition at line 286 of file SystemZSelectionDAGInfo.cpp.
References llvm::ISD::ADD, getBoundedStrlen(), llvm::SelectionDAG::getNode(), llvm::SDValue::getValueType(), and llvm::SelectionDAG::getZExtOrTrunc().