|
LLVM
3.7.0
|
#include "llvm/LTO/LTOCodeGenerator.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Analysis/Passes.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/Bitcode/ReaderWriter.h"#include "llvm/CodeGen/RuntimeLibcalls.h"#include "llvm/Config/config.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/DiagnosticInfo.h"#include "llvm/IR/DiagnosticPrinter.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/LegacyPassManager.h"#include "llvm/IR/Mangler.h"#include "llvm/IR/Module.h"#include "llvm/IR/Verifier.h"#include "llvm/InitializePasses.h"#include "llvm/LTO/LTOModule.h"#include "llvm/Linker/Linker.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/SubtargetFeature.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Host.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Signals.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/TargetSelect.h"#include "llvm/Support/ToolOutputFile.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetLowering.h"#include "llvm/Target/TargetOptions.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"#include "llvm/Transforms/IPO.h"#include "llvm/Transforms/IPO/PassManagerBuilder.h"#include "llvm/Transforms/ObjCARC.h"#include <system_error>Go to the source code of this file.
Functions | |
| static void | findUsedValues (GlobalVariable *LLVMUsed, SmallPtrSetImpl< GlobalValue * > &UsedValues) |
| static void | accumulateAndSortLibcalls (std::vector< StringRef > &Libcalls, const TargetLibraryInfo &TLI, const Module &Mod, const TargetMachine &TM) |
|
static |
Definition at line 412 of file LTOCodeGenerator.cpp.
References llvm::array_pod_sort(), F(), llvm::TargetLoweringBase::getLibcallName(), llvm::TargetLibraryInfo::getName(), llvm::TargetMachine::getSubtargetImpl(), llvm::TargetSubtargetInfo::getTargetLowering(), llvm::TargetLibraryInfo::has(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), Lowering, llvm::LibFunc::NumLibFuncs, and llvm::RTLIB::UNKNOWN_LIBCALL.
|
static |
Definition at line 398 of file LTOCodeGenerator.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::User::getNumOperands(), llvm::User::getOperand(), llvm::SmallPtrSetImpl< PtrType >::insert(), and llvm::Value::stripPointerCasts().
1.8.6