LLVM API Documentation
#include "llvm/LTO/LTOCodeGenerator.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Analysis/Passes.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/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/PassManager.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/FormattedStream.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/TargetLibraryInfo.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 TargetLowering *Lowering) |
| static void accumulateAndSortLibcalls | ( | std::vector< StringRef > & | Libcalls, |
| const TargetLibraryInfo & | TLI, | ||
| const TargetLowering * | Lowering | ||
| ) | [static] |
Definition at line 351 of file LTOCodeGenerator.cpp.
References llvm::array_pod_sort(), F(), llvm::TargetLoweringBase::getLibcallName(), llvm::TargetLibraryInfo::getName(), llvm::TargetLibraryInfo::has(), I, Name, llvm::LibFunc::NumLibFuncs, and llvm::RTLIB::UNKNOWN_LIBCALL.
| static void findUsedValues | ( | GlobalVariable * | LLVMUsed, |
| SmallPtrSetImpl< GlobalValue * > & | UsedValues | ||
| ) | [static] |
Definition at line 340 of file LTOCodeGenerator.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::User::getNumOperands(), llvm::User::getOperand(), llvm::SmallPtrSetImpl< PtrType >::insert(), and llvm::Value::stripPointerCasts().