File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1876,10 +1876,7 @@ class CallBase : public Instruction {
1876
1876
// / OperandBundleUser to a vector of OperandBundleDefs. Note:
1877
1877
// / OperandBundeUses and OperandBundleDefs are non-trivially *different*
1878
1878
// / representations of operand bundles (see documentation above).
1879
- void getOperandBundlesAsDefs (SmallVectorImpl<OperandBundleDef> &Defs) const {
1880
- for (unsigned i = 0 , e = getNumOperandBundles (); i != e; ++i)
1881
- Defs.emplace_back (getOperandBundleAt (i));
1882
- }
1879
+ void getOperandBundlesAsDefs (SmallVectorImpl<OperandBundleDef> &Defs) const ;
1883
1880
1884
1881
// / Return the operand bundle for the operand at index OpIdx.
1885
1882
// /
Original file line number Diff line number Diff line change @@ -352,6 +352,12 @@ bool CallBase::hasFnAttrOnCalledFunction(StringRef Kind) const {
352
352
return false ;
353
353
}
354
354
355
+ void CallBase::getOperandBundlesAsDefs (
356
+ SmallVectorImpl<OperandBundleDef> &Defs) const {
357
+ for (unsigned i = 0 , e = getNumOperandBundles (); i != e; ++i)
358
+ Defs.emplace_back (getOperandBundleAt (i));
359
+ }
360
+
355
361
CallBase::op_iterator
356
362
CallBase::populateBundleOperandInfos (ArrayRef<OperandBundleDef> Bundles,
357
363
const unsigned BeginIndex) {
You can’t perform that action at this time.
0 commit comments