Teach the inliner to track deoptimization state
[oota-llvm.git] / include / llvm / Transforms / Utils / Cloning.h
index e4748c1afccc89cf50a61d45cf908b7782381248..2fccbb8029648afa175dddc6ad0f9e2974e0d445 100644 (file)
@@ -74,6 +74,10 @@ struct ClonedCodeInfo {
   /// size.
   bool ContainsDynamicAllocas;
 
+  /// All cloned call sites that have operand bundles attached are appended to
+  /// this vector.
+  std::vector<AssertingVH<Instruction>> OperandBundleCallSites;
+
   ClonedCodeInfo() : ContainsCalls(false), ContainsDynamicAllocas(false) {}
 };