Searched refs:InstrumentKind (Results 1 – 2 of 2) sorted by relevance
136 auto [InstrumentKind, Data] = Comment.split(" "); in HandleComment()139 if (!IM.supportsInstrumentType(InstrumentKind)) { in HandleComment()140 if (InstrumentKind.empty()) in HandleComment()147 InstrumentKind); in HandleComment()152 UniqueInstrument I = IM.createInstrument(InstrumentKind, Data); in HandleComment()156 "Failed to create " + InstrumentKind + in HandleComment()160 "Failed to create " + InstrumentKind + in HandleComment()167 if (Regions.isRegionActive(InstrumentKind)) in HandleComment()168 Regions.endRegion(InstrumentKind, Loc); in HandleComment()170 Regions.beginRegion(InstrumentKind, Loc, std::move(I)); in HandleComment()
134 StringRef InstrumentKind = I.get()->getDesc(); in emitInstruction() local136 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()