Home
last modified time | relevance | path

Searched refs:InstrumentKind (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp144 auto [InstrumentKind, Data] = Comment.split(" "); in HandleComment()
147 if (!IM.supportsInstrumentType(InstrumentKind)) { in HandleComment()
148 if (InstrumentKind.empty()) in HandleComment()
155 InstrumentKind); in HandleComment()
160 UniqueInstrument I = IM.createInstrument(InstrumentKind, Data); in HandleComment()
164 "Failed to create " + InstrumentKind + in HandleComment()
168 "Failed to create " + InstrumentKind + in HandleComment()
175 if (Regions.isRegionActive(InstrumentKind)) in HandleComment()
176 Regions.endRegion(InstrumentKind, Loc); in HandleComment()
178 Regions.beginRegion(InstrumentKind, Loc, std::move(I)); in HandleComment()
H A DCodeRegionGenerator.h134 StringRef InstrumentKind = I.get()->getDesc(); in emitInstruction() local
136 if (Regions.isRegionActive(InstrumentKind)) in emitInstruction()
137 Regions.endRegion(InstrumentKind, Inst.getLoc()); in emitInstruction()
139 Regions.beginRegion(InstrumentKind, Inst.getLoc(), std::move(I)); in emitInstruction()