Home | History | Annotate | Download | only in Linker

Lines Matching defs:Linker

1 //===- lib/Linker/LinkModules.cpp - Module Linker Implementation ----------===//
10 // This file implements the LLVM module linker.
14 #include "llvm/Linker/Linker.h"
15 #include "llvm-c/Linker.h"
63 TypeMapTy(Linker::IdentifiedStructTypeSet &DstStructTypesSet)
66 Linker::IdentifiedStructTypeSet &DstStructTypesSet;
404 /// due to the use of Value handles which the Linker doesn't actually need,
428 ModuleLinker(Module *dstM, Linker::IdentifiedStructTypeSet &Set, Module *srcM,
1286 /// Merge the linker flags in Src into the Dest module.
1619 Linker::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P)
1622 Linker::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST)
1625 bool Linker::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const {
1633 bool Linker::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const {
1637 StructType *Linker::StructTypeKeyInfo::getEmptyKey() {
1641 StructType *Linker::StructTypeKeyInfo::getTombstoneKey() {
1645 unsigned Linker::StructTypeKeyInfo::getHashValue(const KeyTy &Key) {
1650 unsigned Linker::StructTypeKeyInfo::getHashValue(const StructType *ST) {
1654 bool Linker::StructTypeKeyInfo::isEqual(const KeyTy &LHS,
1661 bool Linker::StructTypeKeyInfo::isEqual(const StructType *LHS,
1672 void Linker::IdentifiedStructTypeSet::addNonOpaque(StructType *Ty) {
1677 void Linker::IdentifiedStructTypeSet::switchToNonOpaque(StructType *Ty) {
1685 void Linker::IdentifiedStructTypeSet::addOpaque(StructType *Ty) {
1691 Linker::IdentifiedStructTypeSet::findNonOpaque(ArrayRef<Type *> ETypes,
1693 Linker::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked);
1700 bool Linker::IdentifiedStructTypeSet::hasType(StructType *Ty) {
1709 void Linker::init(Module *M, DiagnosticHandlerFunction DiagnosticHandler) {
1723 Linker::Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler) {
1727 Linker::Linker(Module *M) {
1733 Linker::~Linker() {
1736 void Linker::deleteModule() {
1741 bool Linker::linkInModule(Module *Src) {
1749 void Linker::setModule(Module *Dst) {
1762 bool Linker::LinkModules(Module *Dest, Module *Src,
1764 Linker L(Dest, DiagnosticHandler);
1768 bool Linker::LinkModules(Module *Dest, Module *Src) {
1769 Linker L(Dest);
1784 LLVMBool Result = Linker::LinkModules(