|
LLVM
5.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 std::string | adjustInlineAsm (const std::string &InlineAsm, const Triple &Triple) |
| Return InlineAsm adjusted with target-specific directives if required. More... | |
Return InlineAsm adjusted with target-specific directives if required.
For ARM and Thumb, we have to add directives to select the appropriate ISA to support mixing module-level inline assembly from ARM and Thumb modules.
Definition at line 1262 of file IRMover.cpp.
References llvm::Triple::arm, llvm::Triple::armeb, llvm::Triple::getArch(), llvm::Triple::thumb, and llvm::Triple::thumbeb.
|
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 519 of file IRMover.cpp.
References assert(), llvm::Value::getName(), llvm::Module::getNamedValue(), llvm::GlobalValue::getParent(), llvm::GlobalValue::hasLocalLinkage(), Name, llvm::Value::setName(), and llvm::Value::takeName().
|
static |
Definition at line 759 of file IRMover.cpp.
References llvm::Constant::getAggregateElement(), llvm::Value::getType(), and llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back().
1.8.6