Lines Matching +full:im +full:-
1 //===----------------------- CodeRegionGenerator.h --------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file declares classes responsible for generating llvm-mca
11 /// CodeRegions from various types of input. llvm-mca only analyzes CodeRegions,
12 /// so the classes here provide the input-to-CodeRegions translation.
14 //===----------------------------------------------------------------------===//
52 /// LLVM-MCA-BEGIN. It ends a region if it is of the form LLVM-MCA-END.
54 /// LLVM-MCA-BEGIN <name> or LLVM-MCA-END <name>. Subregions are
57 /// active region, LLVM-MCA-END does not need to provide a name.
68 InstrumentManager &IM; variable
72 InstrumentManager &IM) in InstrumentRegionCommentConsumer() argument
73 : SM(SM), Regions(R), IM(IM) {} in InstrumentRegionCommentConsumer()
76 /// LLVM-MCA-<INSTRUMENTATION_TYPE> <data> where INSTRUMENTATION_TYPE
82 InstrumentManager &getInstrumentManager() { return IM; } in getInstrumentManager()
121 InstrumentManager &IM; variable
125 InstrumentManager &IM) in InstrumentMCStreamer() argument
126 : MCStreamerWrapper(Context, R), IM(IM) {} in InstrumentMCStreamer()
133 for (UniqueInstrument &I : IM.createInstruments(Inst)) { in emitInstruction()
134 StringRef InstrumentKind = I.get()->getDesc(); in emitInstruction()
145 /// the llvm-mca driver, and converting that into a CodeRegions instance.
255 InstrumentManager &IM) in AsmInstrumentRegionGenerator() argument
257 CC(SM, Regions, IM), Streamer(Ctx, Regions, IM) {} in AsmInstrumentRegionGenerator()