Lines Matching defs:CodeRegion
1 //===-------------------------- CodeRegion.h -------------------*- C++ -* -===//
10 /// This file implements class CodeRegion and CodeRegions, InstrumentRegion,
13 /// A CodeRegion describes a region of assembly code guarded by special LLVM-MCA
29 /// An instruction (a MCInst) is added to a CodeRegion R only if its
50 /// then both data sets remain available. In contrast with a CodeRegion,
79 class CodeRegion {
88 CodeRegion(const CodeRegion &) = delete;
89 CodeRegion &operator=(const CodeRegion &) = delete;
92 CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start)
95 virtual ~CodeRegion() = default;
125 /// Alias AnalysisRegion with CodeRegion since CodeRegionGenerator
127 using AnalysisRegion = CodeRegion;
129 /// A CodeRegion that contains instrumentation that can be used
131 class InstrumentRegion : public CodeRegion {
137 : CodeRegion(Desc, Start), I(std::move(I)) {}
153 using UniqueCodeRegion = std::unique_ptr<CodeRegion>;