10 #ifndef LLVM_ANALYSIS_OBJECT_UTILS_H
11 #define LLVM_ANALYSIS_OBJECT_UTILS_H
33 if (
auto *Var = dyn_cast<GlobalVariable>(GV))
34 if (!Var->isConstant())
bool canBeOmittedFromSymbolTable(const GlobalValue *GV)
True if GV can be left out of the object symbol table.
bool hasAtLeastLocalUnnamedAddr() const
Returns true if this value's address is not significant in this module.
bool hasGlobalUnnamedAddr() const
bool hasLinkOnceODRLinkage() const