Lines Matching defs:IRLinker
348 // IRLinker implementation.
352 class IRLinker;
358 IRLinker &TheIRLinker;
361 GlobalValueMaterializer(IRLinker &TheIRLinker) : TheIRLinker(TheIRLinker) {}
366 IRLinker &TheIRLinker;
369 LocalValueMaterializer(IRLinker &TheIRLinker) : TheIRLinker(TheIRLinker) {}
378 class IRLinker {
389 /// A metadata map that's shared between IRLinker instances.
524 IRLinker(Module &DstM, MDMapT &SharedMDs,
541 ~IRLinker() { SharedMDs = std::move(*ValueMap.getMDMap()); }
577 Value *IRLinker::materialize(Value *V, bool ForIndirectSymbol) {
643 GlobalVariable *IRLinker::copyGlobalVariableProto(const GlobalVariable *SGVar) {
658 AttributeList IRLinker::mapAttributeTypes(LLVMContext &C, AttributeList Attrs) {
678 Function *IRLinker::copyFunctionProto(const Function *SF) {
692 GlobalValue *IRLinker::copyIndirectSymbolProto(const GlobalValue *SGV) {
716 GlobalValue *IRLinker::copyGlobalValueProto(const GlobalValue *SGV,
778 void IRLinker::computeTypeMapping() {
875 IRLinker::linkAppendingVarProto(GlobalVariable *DstGV,
988 bool IRLinker::shouldLink(GlobalValue *DGV, GlobalValue &SGV) {
1009 Expected<Constant *> IRLinker::linkGlobalValueProto(GlobalValue *SGV,
1105 void IRLinker::linkGlobalVariable(GlobalVariable &Dst, GlobalVariable &Src) {
1113 Error IRLinker::linkFunctionBody(Function &Dst, Function &Src) {
1141 void IRLinker::linkAliasAliasee(GlobalAlias &Dst, GlobalAlias &Src) {
1145 void IRLinker::linkIFuncResolver(GlobalIFunc &Dst, GlobalIFunc &Src) {
1149 Error IRLinker::linkGlobalValueBody(GlobalValue &Dst, GlobalValue &Src) {
1164 void IRLinker::flushRAUWWorklist() {
1176 void IRLinker::prepareCompileUnitsForImport() {
1209 void IRLinker::linkNamedMDNodes() {
1239 Error IRLinker::linkModuleFlagsMetadata() {
1507 void IRLinker::updateAttributes(GlobalValue &GV) {
1534 Error IRLinker::run() {
1766 IRLinker TheIRLinker(Composite, SharedMDs, IdentifiedStructTypes,