Searched refs:CodeRegion (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.h1 //===-------------------------- CodeRegion.h -------------------*- C++ -* -===//
10 /// This file implements class CodeRegion and CodeRegions.
12 /// A CodeRegion describes a region of assembly code guarded by special LLVM-MCA
50 class CodeRegion { class in namespace:llvm::mca
59 CodeRegion(const CodeRegion &) = delete;
60 CodeRegion &operator=(const CodeRegion &) = delete;
63 CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start) function in class:llvm::mca::CodeRegion
88 using UniqueCodeRegion = std::unique_ptr<CodeRegion>;
[all...]
H A DCodeRegion.cpp1 //===-------------------------- CodeRegion.cpp -----------------*- C++ -* -===//
14 #include "CodeRegion.h"
21 Regions.emplace_back(std::make_unique<CodeRegion>("", SMLoc()));
24 bool CodeRegion::isLocInRange(SMLoc Loc) const {
39 Regions[0] = std::make_unique<CodeRegion>(Description, Loc);
45 const CodeRegion &R = *Regions[It->second];
65 Regions.emplace_back(std::make_unique<CodeRegion>(Description, Loc));
H A Dllvm-mca.cpp23 #include "CodeRegion.h"
448 for (const std::unique_ptr<mca::CodeRegion> &Region : Regions) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticInfo.cpp234 const Value *CodeRegion)
237 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {}
268 const Value *CodeRegion)
271 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {}
289 const Value *CodeRegion)
292 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {}
304 const DiagnosticLocation &Loc, const Value *CodeRegion)
231 OptimizationRemark(const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
266 OptimizationRemarkMissed( const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
287 OptimizationRemarkAnalysis( const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
302 OptimizationRemarkAnalysis( enum DiagnosticKind Kind, const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
320 DiagnosticInfoOptimizationFailure( const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
[all...]
/freebsd-11-stable/usr.bin/clang/llvm-mca/
H A DMakefile6 SRCS+= CodeRegion.cpp
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.cpp25 if (CR.Kind != CounterMappingRegion::CodeRegion)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h613 /// location. \p CodeRegion is IR value (currently basic block) that the
621 const Value *CodeRegion = nullptr)
624 CodeRegion(CodeRegion) {}
638 CodeRegion(Orig.getCodeRegion()) {
659 const Value *getCodeRegion() const { return CodeRegion; }
668 const Value *CodeRegion = nullptr; member in class:llvm::DiagnosticInfoIROptimization
677 /// word, camel-case). \p Loc is the debug location and \p CodeRegion is the
681 const DiagnosticLocation &Loc, const Value *CodeRegion);
723 /// CodeRegion i
836 OptimizationRemarkAnalysisFPCommute(const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
878 OptimizationRemarkAnalysisAliasing(const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, const Value *CodeRegion) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp95 Value *CodeRegion = L->getHeader(); local
99 CodeRegion = I->getParent();
106 OptimizationRemarkAnalysis R(DEBUG_TYPE, RemarkName, DL, CodeRegion);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp181 case CounterMappingRegion::CodeRegion:
H A DCoverageMappingReader.cpp162 CounterMappingRegion::RegionKind Kind = CounterMappingRegion::CodeRegion;
185 case CounterMappingRegion::CodeRegion:
H A DCoverageMapping.cpp520 // CodeRegion to ExpansionRegion and ExpansionRegion to SkippedRegion.
521 static_assert(CounterMappingRegion::CodeRegion <
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h206 /// A CodeRegion associates some code with a counter
207 CodeRegion, enumerator in enum:llvm::coverage::CounterMappingRegion::RegionKind
218 /// A GapRegion is like a CodeRegion, but its count is only set as the
239 LineEnd, ColumnEnd, CodeRegion);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2092 Value *CodeRegion = TheLoop->getHeader(); local
2096 CodeRegion = I->getParent();
2104 CodeRegion);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1298 case CounterMappingRegion::CodeRegion:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp863 Value *CodeRegion = TheLoop->getHeader(); local
867 CodeRegion = I->getParent();
874 OptimizationRemarkAnalysis R(PassName, RemarkName, DL, CodeRegion);

Completed in 322 milliseconds