LLVM  16.0.0git
Classes | Namespaces | Macros | Functions
InstrProfCorrelator.cpp File Reference
#include "llvm/ProfileData/InstrProfCorrelator.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDie.h"
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
#include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
#include "llvm/Object/MachO.h"
#include "llvm/Support/Debug.h"
Include dependency graph for InstrProfCorrelator.cpp:

Go to the source code of this file.

Classes

struct  llvm::yaml::MappingTraits< InstrProfCorrelator::CorrelationData >
 
struct  llvm::yaml::MappingTraits< InstrProfCorrelator::Probe >
 
struct  llvm::yaml::SequenceElementTraits< InstrProfCorrelator::Probe >
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "correlator"
 

Functions

Expected< object::SectionRefgetCountersSection (const object::ObjectFile &Obj)
 Get the __llvm_prf_cnts section. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "correlator"

Definition at line 20 of file InstrProfCorrelator.cpp.

Function Documentation

◆ getCountersSection()

Expected<object::SectionRef> getCountersSection ( const object::ObjectFile Obj)

Get the __llvm_prf_cnts section.

Definition at line 25 of file InstrProfCorrelator.cpp.

References llvm::object::ObjectFile::sections(), and llvm::unable_to_correlate_profile.

Referenced by llvm::InstrProfCorrelator::Context::get().