projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print the address space of a MachineMemOperand
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineMemOperand.h
diff --git
a/include/llvm/CodeGen/MachineMemOperand.h
b/include/llvm/CodeGen/MachineMemOperand.h
index 00a55b57f33473c34daccdbf3518104ecb9eddcd..f01b8ebca12f22b5e0a38881c4a2e6a695a50247 100644
(file)
--- a/
include/llvm/CodeGen/MachineMemOperand.h
+++ b/
include/llvm/CodeGen/MachineMemOperand.h
@@
-134,6
+134,8
@@
public:
/// number.
int64_t getOffset() const { return PtrInfo.Offset; }
+ unsigned getAddrSpace() const { return PtrInfo.getAddrSpace(); }
+
/// getSize - Return the size in bytes of the memory reference.
uint64_t getSize() const { return Size; }