|
LLVM
4.0.0
|
#include "llvm/Linker/IRMover.h"#include "LinkDiagnosticInfo.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/Triple.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/DiagnosticPrinter.h"#include "llvm/IR/GVMaterializer.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/TypeFinder.h"#include "llvm/Support/Error.h"#include "llvm/Transforms/Utils/Cloning.h"#include <utility>Go to the source code of this file.
Functions | |
| static void | forceRenaming (GlobalValue *GV, StringRef Name) |
| The LLVM SymbolTable class autorenames globals that conflict in the symbol table. More... | |
| static void | getArrayElements (const Constant *C, SmallVectorImpl< Constant * > &Dest) |
| static bool | triplesMatch (const Triple &T0, const Triple &T1) |
| static std::string | mergeTriples (const Triple &SrcTriple, const Triple &DstTriple) |
|
static |
The LLVM SymbolTable class autorenames globals that conflict in the symbol table.
This is good for all clients except for us. Go through the trouble to force this back.
Definition at line 518 of file IRMover.cpp.
References assert(), llvm::Value::getName(), llvm::Module::getNamedValue(), llvm::GlobalValue::getParent(), llvm::GlobalValue::hasLocalLinkage(), llvm::Value::setName(), and llvm::Value::takeName().
|
static |
Definition at line 754 of file IRMover.cpp.
References llvm::Constant::getAggregateElement(), llvm::Value::getType(), i, and llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back().
Definition at line 1255 of file IRMover.cpp.
References llvm::Triple::Apple, llvm::Triple::getVendor(), llvm::Triple::isOSVersionLT(), and llvm::Triple::str().
Definition at line 1245 of file IRMover.cpp.
References llvm::Triple::Apple, llvm::Triple::getArch(), llvm::Triple::getOS(), llvm::Triple::getSubArch(), llvm::Triple::getVendor(), and T1.
1.8.6