Home
last modified time | relevance | path

Searched refs:InstrumentRegions (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.h66 InstrumentRegions &Regions;
71 InstrumentRegionCommentConsumer(llvm::SourceMgr &SM, InstrumentRegions &R, in InstrumentRegionCommentConsumer()
124 InstrumentMCStreamer(MCContext &Context, mca::InstrumentRegions &R, in InstrumentMCStreamer()
173 InstrumentRegions Regions;
178 virtual Expected<const InstrumentRegions &>
256 Expected<const InstrumentRegions &>
262 return static_cast<const InstrumentRegions &>(*RegionsOrErr); in parseInstrumentRegions()
H A DCodeRegion.cpp115 InstrumentRegions::InstrumentRegions(llvm::SourceMgr &S) : CodeRegions(S) {} in InstrumentRegions() function in llvm::mca::InstrumentRegions
117 void InstrumentRegions::beginRegion(StringRef Description, SMLoc Loc, in beginRegion()
144 void InstrumentRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion()
163 InstrumentRegions::getActiveInstruments(SMLoc Loc) const { in getActiveInstruments()
H A DCodeRegion.h191 struct InstrumentRegions : public CodeRegions { struct
193 InstrumentRegions(llvm::SourceMgr &S);
H A Dllvm-mca.cpp479 Expected<const mca::InstrumentRegions &> InstrumentRegionsOrErr = in main()
491 const mca::InstrumentRegions &InstrumentRegions = *InstrumentRegionsOrErr; in main() local
494 if (!InstrumentRegions.isValid()) in main()
580 InstrumentRegions.getActiveInstruments(Loc); in main()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp934 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() local
936 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()
H A DCGExprScalar.cpp4557 bool InstrumentRegions = CGF.CGM.getCodeGenOpts().hasProfileClangInstr(); in VisitBinLAnd() local
4579 if (InstrumentRegions && in VisitBinLAnd()
4641 if (InstrumentRegions && in VisitBinLAnd()
4697 bool InstrumentRegions = CGF.CGM.getCodeGenOpts().hasProfileClangInstr(); in VisitBinLOr() local
4719 if (InstrumentRegions && in VisitBinLOr()
4785 if (InstrumentRegions && in VisitBinLOr()
H A DCodeGenFunction.cpp1666 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock() local
1667 if (!InstrumentRegions || !isInstrumentedCondition(Cond)) in EmitBranchToCounterBlock()