Files
gps/tools/local/circt/include/llvm/Transforms/Instrumentation/PGOCtxProfFlattening.h
T
2026-07-12 11:01:51 +03:00

29 lines
1018 B
C++

//===-- PGOCtxProfFlattening.h - Contextual Instr. Flattening ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file declares the PGOCtxProfFlattening class.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_PGOCTXPROFFLATTENING_H
#define LLVM_TRANSFORMS_INSTRUMENTATION_PGOCTXPROFFLATTENING_H
#include "llvm/IR/PassManager.h"
namespace llvm {
class PGOCtxProfFlatteningPass
: public OptionalPassInfoMixin<PGOCtxProfFlatteningPass> {
const bool IsPreThinlink;
public:
explicit PGOCtxProfFlatteningPass(bool IsPreThinlink)
: IsPreThinlink(IsPreThinlink) {}
LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
};
} // namespace llvm
#endif