LLVM: lib/MC/MCPseudoProbe.cpp File Reference (original) (raw)

Macros |Functions |Variables

MCPseudoProbe.cpp File Reference

#include "[llvm/MC/MCPseudoProbe.h](MCPseudoProbe%5F8h%5Fsource.html)"
#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"
#include "[llvm/IR/PseudoProbe.h](PseudoProbe%5F8h%5Fsource.html)"
#include "[llvm/MC/MCAsmInfo.h](MCAsmInfo%5F8h%5Fsource.html)"
#include "[llvm/MC/MCAssembler.h](MCAssembler%5F8h%5Fsource.html)"
#include "[llvm/MC/MCContext.h](MCContext%5F8h%5Fsource.html)"
#include "[llvm/MC/MCExpr.h](MCExpr%5F8h%5Fsource.html)"
#include "[llvm/MC/MCObjectFileInfo.h](MCObjectFileInfo%5F8h%5Fsource.html)"
#include "[llvm/MC/MCObjectStreamer.h](MCObjectStreamer%5F8h%5Fsource.html)"
#include "[llvm/MC/MCSymbol.h](MCSymbol%5F8h%5Fsource.html)"
#include "[llvm/Support/Endian.h](Endian%5F8h%5Fsource.html)"
#include "[llvm/Support/Error.h](llvm%5F2Support%5F2Error%5F8h%5Fsource.html)"
#include "[llvm/Support/LEB128.h](LEB128%5F8h%5Fsource.html)"
#include "[llvm/Support/MD5.h](MD5%5F8h%5Fsource.html)"
#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"
#include <algorithm>
#include <cassert>
#include <limits>
#include <sstream>
#include <vector>

Go to the source code of this file.

Macros
#define DEBUG_TYPE "mcpseudoprobe"
Functions
static const MCExpr * buildSymbolDiff (MCObjectStreamer *MCOS, const MCSymbol *A, const MCSymbol *B)
static StringRef getProbeFNameForGUID (const GUIDProbeFunctionMap &GUID2FuncMAP, uint64_t GUID)
Variables
static const char * PseudoProbeTypeStr [3]

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "mcpseudoprobe"

Definition at line 30 of file MCPseudoProbe.cpp.

Function Documentation

buildSymbolDiff()

const MCExpr * buildSymbolDiff ( MCObjectStreamer * MCOS, const MCSymbol * A, const MCSymbol * B ) static

Definition at line 39 of file MCPseudoProbe.cpp.

References A(), B(), llvm::MCBinaryExpr::create(), llvm::MCSymbolRefExpr::create(), llvm::MCStreamer::getContext(), and llvm::MCBinaryExpr::Sub.

getProbeFNameForGUID()

StringRef getProbeFNameForGUID ( const GUIDProbeFunctionMap & GUID2FuncMAP, uint64_t GUID ) static

Definition at line 270 of file MCPseudoProbe.cpp.

References assert(), and llvm::GUIDProbeFunctionMap::find().

Referenced by llvm::MCDecodedPseudoProbe::getInlineContext(), and llvm::MCDecodedPseudoProbe::print().

Variable Documentation

PseudoProbeTypeStr

const char* PseudoProbeTypeStr[3] static

Initial value:

= {"Block", "IndirectCall",

"DirectCall"}

Definition at line 313 of file MCPseudoProbe.cpp.

Referenced by llvm::MCDecodedPseudoProbe::print().


Generated on for LLVM by doxygen 1.14.0