|
LLVM 22.0.0git
|
#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/DWARFFormValue.h"#include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"#include "llvm/DebugInfo/DWARF/DWARFUnit.h"#include "llvm/DebugInfo/DWARF/LowLevel/DWARFExpression.h"#include "llvm/Object/MachO.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Format.h"#include "llvm/Support/WithColor.h"#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
| #define | DEBUG_TYPE "correlator" |
Functions | |
| Expected< object::SectionRef > | getInstrProfSection (const object::ObjectFile &Obj, InstrProfSectKind IPSK) |
| Get profile section. | |
| #define DEBUG_TYPE "correlator" |
Definition at line 23 of file InstrProfCorrelator.cpp.
| Expected< object::SectionRef > getInstrProfSection | ( | const object::ObjectFile & | Obj, |
| InstrProfSectKind | IPSK ) |
Get profile section.
Definition at line 28 of file InstrProfCorrelator.cpp.
References llvm::Triple::COFF, llvm::getInstrProfSectionName(), llvm::object::Binary::getTripleObjectFormat(), llvm::make_error(), N, llvm::object::ObjectFile::sections(), and llvm::unable_to_correlate_profile.
Referenced by llvm::InstrProfCorrelator::Context::get().