|
LLVM
5.0.0
|
#include "llvm/LTO/LTO.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/Bitcode/BitcodeReader.h"#include "llvm/Bitcode/BitcodeWriter.h"#include "llvm/CodeGen/Analysis.h"#include "llvm/IR/AutoUpgrade.h"#include "llvm/IR/DiagnosticPrinter.h"#include "llvm/IR/LegacyPassManager.h"#include "llvm/IR/Mangler.h"#include "llvm/IR/Metadata.h"#include "llvm/LTO/LTOBackend.h"#include "llvm/Linker/IRMover.h"#include "llvm/Object/IRObjectFile.h"#include "llvm/Support/Error.h"#include "llvm/Support/ManagedStatic.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Path.h"#include "llvm/Support/SHA1.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/ThreadPool.h"#include "llvm/Support/Threading.h"#include "llvm/Support/VCSRevision.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include "llvm/Transforms/IPO.h"#include "llvm/Transforms/IPO/PassManagerBuilder.h"#include "llvm/Transforms/Utils/SplitModule.h"#include <set>Go to the source code of this file.
Classes | |
| class | llvm::lto::ThinBackendProc |
| This class defines the interface to the ThinLTO backend. More... | |
Macros | |
| #define | DEBUG_TYPE "lto" |
Typedefs | |
| typedef DenseMap < GlobalValue::GUID, TinyPtrVector< const std::pair < const std::string, TypeIdSummary > * > > | TypeIdSummariesByGuidTy |
| typedef DenseMap< GlobalValue::GUID, TinyPtrVector<const std::pair<const std::string, TypeIdSummary> *> > TypeIdSummariesByGuidTy |
|
static |
Definition at line 62 of file LTO.cpp.
References A, llvm::lto::Config::AAPipeline, llvm::lto::Config::CGFileType, llvm::lto::Config::CGOptLevel, llvm::lto::Config::CodeModel, llvm::lto::Config::CPU, llvm::Data, llvm::TargetOptions::DataSections, llvm::TargetOptions::DebuggerTuning, llvm::lto::Config::DefaultTriple, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), F, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::ModuleSummaryIndex::findSummaryInModule(), llvm::TargetOptions::FunctionSections, llvm::MemoryBuffer::getFile(), llvm::ModuleSummaryIndex::getModuleHash(), I, llvm::lto::Config::MAttrs, llvm::lto::Config::Options, llvm::lto::Config::OptLevel, llvm::lto::Config::OptPipeline, llvm::lto::Config::OverrideTriple, llvm::TargetOptions::RelaxELFRelocations, llvm::lto::Config::RelocModel, llvm::SHA1::result(), llvm::lto::Config::SampleProfile, llvm::toHex(), llvm::SHA1::update(), and llvm::lto::Config::UseNewPM.
|
static |
Definition at line 486 of file LTO.cpp.
References llvm::GlobalValue::AvailableExternallyLinkage, C, llvm::GlobalValue::getComdat(), llvm::GlobalValue::hasLocalLinkage(), and llvm::GlobalValue::setLinkage().
|
static |
Definition at line 291 of file LTO.cpp.
References llvm::GlobalValue::ExternalLinkage, llvm::GlobalValue::InternalLinkage, and llvm::GlobalValue::isLocalLinkage().
Referenced by llvm::thinLTOInternalizeAndPromoteInIndex().
|
static |
Definition at line 231 of file LTO.cpp.
References llvm::GlobalValue::AvailableExternallyLinkage, llvm::detail::DenseSetImpl< ValueT, DenseMap< ValueT, detail::DenseSetEmpty, ValueInfoT, detail::DenseSetPair< ValueT > >, ValueInfoT >::count(), llvm::GlobalValue::getWeakLinkage(), llvm::GlobalValue::isLinkOnceLinkage(), llvm::GlobalValue::isLinkOnceODRLinkage(), and llvm::GlobalValue::isWeakForLinker().
Referenced by llvm::thinLTOResolveWeakForLinkerInIndex().
|
static |
Definition at line 403 of file LTO.cpp.
References assert(), llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), llvm::raw_ostream::flush(), llvm::lto::InputFile::getName(), and llvm::lto::InputFile::symbols().
Referenced by llvm::lto::LTO::add().
1.8.6