Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
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/MDBuilder.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 244 of file Globals.cpp.

Function Documentation

◆ findBaseObject()