mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Add in some interfaces that will allow easier access to the pointer address space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -956,7 +956,12 @@ public:
|
||||
const MachinePointerInfo &getPointerInfo() const {
|
||||
return MMO->getPointerInfo();
|
||||
}
|
||||
|
||||
|
||||
/// getAddressSpace - Return the address space for the associated pointer
|
||||
unsigned getAddressSpace() const {
|
||||
return getPointerInfo().getAddrSpace();
|
||||
}
|
||||
|
||||
/// refineAlignment - Update this MemSDNode's MachineMemOperand information
|
||||
/// to reflect the alignment of NewMMO, if it has a greater alignment.
|
||||
/// This must only be used when the new alignment applies to all users of
|
||||
|
||||
Reference in New Issue
Block a user