LLVM 20.0.0git
Macros | Typedefs | Functions
Globals.cpp File Reference
#include "LLVMContextImpl.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MD5.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/IR/Value.def"

Go to the source code of this file.

Macros

#define HANDLE_GLOBAL_VALUE(NAME)
 
#define HANDLE_GLOBAL_VALUE(NAME)
 

Typedefs

using SanitizerMetadata = GlobalValue::SanitizerMetadata
 

Functions

template<typename Operation >
static const GlobalObjectfindBaseObject (const Constant *C, DenseSet< const GlobalAlias * > &Aliases, const Operation &Op)
 

Macro Definition Documentation

◆ HANDLE_GLOBAL_VALUE [1/2]

#define HANDLE_GLOBAL_VALUE (   NAME)
Value:
case Value::NAME##Val: \
return static_cast<NAME *>(this)->removeFromParent();

◆ HANDLE_GLOBAL_VALUE [2/2]

#define HANDLE_GLOBAL_VALUE (   NAME)
Value:
case Value::NAME##Val: \
return static_cast<NAME *>(this)->eraseFromParent();

Typedef Documentation

◆ SanitizerMetadata

Definition at line 242 of file Globals.cpp.

Function Documentation

◆ findBaseObject()

template<typename Operation >
static const GlobalObject * findBaseObject ( const Constant C,
DenseSet< const GlobalAlias * > &  Aliases,
const Operation Op 
)
static