LLVM API Documentation
#include "llvm/LTO/LTOModule.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCTargetAsmParser.h"
#include "llvm/MC/SubtargetFeature.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/system_error.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Transforms/Utils/GlobalStatus.h"
Go to the source code of this file.
Functions | |
static bool | canBeHidden (const GlobalValue *GV) |
static bool | isDeclaration (const GlobalValue &V) |
isDeclaration - Return 'true' if the global value is a declaration. More... | |
|
static |
Definition at line 339 of file LTOModule.cpp.
References llvm::GlobalValue::getLinkage(), llvm::X86II::GS, llvm::GlobalValue::hasUnnamedAddr(), and llvm::GlobalStatus::IsCompared.
|
static |
isDeclaration - Return 'true' if the global value is a declaration.
Definition at line 739 of file LTOModule.cpp.
References llvm::GlobalValue::hasAvailableExternallyLinkage(), llvm::GlobalValue::isDeclaration(), and llvm::GlobalValue::isMaterializable().
Referenced by llvm::TargetMachine::getTLSModel(), and LLVMIsDeclaration().