LLVM 20.0.0git
Macros | Functions
LLVMContext.cpp File Reference
#include "llvm/IR/LLVMContext.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/LLVMRemarkStreamer.h"
#include "llvm/Remarks/RemarkStreamer.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdlib>
#include <string>
#include <utility>
#include "llvm/IR/FixedMetadataKinds.def"

Go to the source code of this file.

Macros

#define LLVM_FIXED_MD_KIND(EnumID, Name, Value)   {EnumID, Name},
 

Functions

static StringRef knownBundleName (unsigned BundleTagID)
 
static bool isDiagnosticEnabled (const DiagnosticInfo &DI)
 

Macro Definition Documentation

◆ LLVM_FIXED_MD_KIND

#define LLVM_FIXED_MD_KIND (   EnumID,
  Name,
  Value 
)    {EnumID, Name},

Function Documentation

◆ isDiagnosticEnabled()

static bool isDiagnosticEnabled ( const DiagnosticInfo DI)
static

Definition at line 215 of file LLVMContext.cpp.

References llvm::Remark.

Referenced by llvm::LLVMContext::diagnose().

◆ knownBundleName()

static StringRef knownBundleName ( unsigned  BundleTagID)
static