projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[OperandBundles] Identify operand bundles with both their names and IDs
[oota-llvm.git]
/
include
/
llvm
/
IR
/
CallSite.h
diff --git
a/include/llvm/IR/CallSite.h
b/include/llvm/IR/CallSite.h
index ffea707a32def1c8c50ed64310b1cc54f3ebc219..820f96356c6791f0bb7bf7127d6ba7adb5ef1acb 100644
(file)
--- a/
include/llvm/IR/CallSite.h
+++ b/
include/llvm/IR/CallSite.h
@@
-383,6
+383,10
@@
public:
CALLSITE_DELEGATE_GETTER(getOperandBundle(Name));
}
+ Optional<OperandBundleUse> getOperandBundle(uint32_t ID) const {
+ CALLSITE_DELEGATE_GETTER(getOperandBundle(ID));
+ }
+
#undef CALLSITE_DELEGATE_GETTER
#undef CALLSITE_DELEGATE_SETTER