mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
Oops. Forgot this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92f7e8d925
commit
186edc8fa1
@ -1651,6 +1651,16 @@ struct ilist_traits<SDNode> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
namespace ISD {
|
namespace ISD {
|
||||||
|
/// isNormalLoad - Returns true if the specified node is a non-extending
|
||||||
|
/// and unindexed load.
|
||||||
|
inline bool isNormalLoad(const SDNode *N) {
|
||||||
|
if (N->getOpcode() != ISD::LOAD)
|
||||||
|
return false;
|
||||||
|
const LoadSDNode *Ld = cast<LoadSDNode>(N);
|
||||||
|
return Ld->getExtensionType() == ISD::NON_EXTLOAD &&
|
||||||
|
Ld->getAddressingMode() == ISD::UNINDEXED;
|
||||||
|
}
|
||||||
|
|
||||||
/// isNON_EXTLoad - Returns true if the specified node is a non-extending
|
/// isNON_EXTLoad - Returns true if the specified node is a non-extending
|
||||||
/// load.
|
/// load.
|
||||||
inline bool isNON_EXTLoad(const SDNode *N) {
|
inline bool isNON_EXTLoad(const SDNode *N) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user