mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Add getMDNode() to access metadata node.
llvm-svn: 74644
This commit is contained in:
parent
11cddb5deb
commit
6b9d631324
@ -300,6 +300,10 @@ public:
|
||||
return Contents.OffsetedInfo.Val.GV;
|
||||
}
|
||||
|
||||
MDNode *getMDNode() const {
|
||||
return Contents.OffsetedInfo.Val.Node;
|
||||
}
|
||||
|
||||
int64_t getOffset() const {
|
||||
assert((isGlobal() || isSymbol() || isCPI()) &&
|
||||
"Wrong MachineOperand accessor");
|
||||
|
Loading…
x
Reference in New Issue
Block a user