mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 07:14:53 +00:00
add LSBaseSDNode::getOffset at Dan's request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e83a27516c
commit
63602b8a69
@ -1638,6 +1638,9 @@ public:
|
||||
const SDOperand &getBasePtr() const {
|
||||
return getOperand(getOpcode() == ISD::LOAD ? 1 : 2);
|
||||
}
|
||||
const SDOperand &getOffset() const {
|
||||
return getOperand(getOpcode() == ISD::LOAD ? 2 : 3);
|
||||
}
|
||||
|
||||
const Value *getSrcValue() const { return SrcValue; }
|
||||
int getSrcValueOffset() const { return SVOffset; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user