[clang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

David Li via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 19 10:20:00 PDT 2023


================
@@ -374,6 +376,14 @@ class RawInstrProfReader : public InstrProfReader {
     return (Version & VARIANT_MASK_DBG_CORRELATE) != 0;
   }
 
+  bool useBinaryCorrelate() const override {
+    return (Version & VARIANT_MASK_BIN_CORRELATE) != 0;
+  }
+
+  bool useCorrelate() const {
----------------
david-xl wrote:

candidate in refactoring patch.

https://github.com/llvm/llvm-project/pull/69493


More information about the cfe-commits mailing list