LLVM 20.0.0git
Namespaces | Macros | Functions
CodeGenData.cpp File Reference
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/CGData/CodeGenDataReader.h"
#include "llvm/CGData/OutlinedHashTreeRecord.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/WithColor.h"
#include "llvm/CGData/CodeGenData.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::IndexedCGData
 
namespace  llvm::cgdata
 

Macros

#define DEBUG_TYPE   "cg-data"
 
#define CG_DATA_SECT_ENTRY(Kind, SectNameCommon, SectNameCoff, Prefix)    SectNameCommon,
 
#define CG_DATA_SECT_ENTRY(Kind, SectNameCommon, SectNameCoff, Prefix)    SectNameCoff,
 
#define CG_DATA_SECT_ENTRY(Kind, SectNameCommon, SectNameCoff, Prefix)   Prefix,
 

Functions

static std::string getCGDataErrString (cgdata_error Err, const std::string &ErrMsg="")
 
std::string llvm::getCodeGenDataSectionName (CGDataSectKind CGSK, Triple::ObjectFormatType OF, bool AddSegmentInfo=true)
 
void llvm::cgdata::warn (Twine Message, std::string Whence="", std::string Hint="")
 
void llvm::cgdata::warn (Error E, StringRef Whence="")
 

Macro Definition Documentation

◆ CG_DATA_SECT_ENTRY [1/3]

#define CG_DATA_SECT_ENTRY (   Kind,
  SectNameCommon,
  SectNameCoff,
  Prefix 
)     SectNameCommon,

◆ CG_DATA_SECT_ENTRY [2/3]

#define CG_DATA_SECT_ENTRY (   Kind,
  SectNameCommon,
  SectNameCoff,
  Prefix 
)     SectNameCoff,

◆ CG_DATA_SECT_ENTRY [3/3]

#define CG_DATA_SECT_ENTRY (   Kind,
  SectNameCommon,
  SectNameCoff,
  Prefix 
)    Prefix,

◆ DEBUG_TYPE

#define DEBUG_TYPE   "cg-data"

Definition at line 22 of file CodeGenData.cpp.

Function Documentation

◆ getCGDataErrString()

static std::string getCGDataErrString ( cgdata_error  Err,
const std::string &  ErrMsg = "" 
)
static

Definition at line 27 of file CodeGenData.cpp.

References OS.

Referenced by llvm::CGDataError::message().