Home
last modified time | relevance | path

Searched refs:getLinkage (Results 1 – 25 of 123) sorted by relevance

12345

/external/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp96 FunctionImportGlobalProcessing::getLinkage(const GlobalValue *SGV) { in getLinkage() function in FunctionImportGlobalProcessing
104 return SGV->getLinkage(); in getLinkage()
109 return SGV->getLinkage(); in getLinkage()
111 switch (SGV->getLinkage()) { in getLinkage()
120 return SGV->getLinkage(); in getLinkage()
128 return SGV->getLinkage(); in getLinkage()
134 return SGV->getLinkage(); in getLinkage()
143 return SGV->getLinkage(); in getLinkage()
175 return SGV->getLinkage(); in getLinkage()
181 return SGV->getLinkage(); in getLinkage()
[all …]
DCloneModule.cpp57 I->isConstant(), I->getLinkage(), in CloneModule()
69 I.getLinkage(), I.getName(), New.get()); in CloneModule()
100 I->getLinkage(), I->getName(), New.get()); in CloneModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalValue.h126 switch (getLinkage()) { in mayBeDerefined()
419 bool isInterposable() const { return isInterposableLinkage(getLinkage()); } in isInterposable()
421 bool hasExternalLinkage() const { return isExternalLinkage(getLinkage()); } in hasExternalLinkage()
423 return isAvailableExternallyLinkage(getLinkage()); in hasAvailableExternallyLinkage()
425 bool hasLinkOnceLinkage() const { return isLinkOnceLinkage(getLinkage()); } in hasLinkOnceLinkage()
427 return isLinkOnceODRLinkage(getLinkage()); in hasLinkOnceODRLinkage()
429 bool hasWeakLinkage() const { return isWeakLinkage(getLinkage()); } in hasWeakLinkage()
430 bool hasWeakAnyLinkage() const { return isWeakAnyLinkage(getLinkage()); } in hasWeakAnyLinkage()
431 bool hasWeakODRLinkage() const { return isWeakODRLinkage(getLinkage()); } in hasWeakODRLinkage()
432 bool hasAppendingLinkage() const { return isAppendingLinkage(getLinkage()); } in hasAppendingLinkage()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalValue.h113 switch (getLinkage()) { in mayBeDerefined()
392 bool isInterposable() const { return isInterposableLinkage(getLinkage()); } in isInterposable()
394 bool hasExternalLinkage() const { return isExternalLinkage(getLinkage()); } in hasExternalLinkage()
396 return isAvailableExternallyLinkage(getLinkage()); in hasAvailableExternallyLinkage()
398 bool hasLinkOnceLinkage() const { return isLinkOnceLinkage(getLinkage()); } in hasLinkOnceLinkage()
400 return isLinkOnceODRLinkage(getLinkage()); in hasLinkOnceODRLinkage()
402 bool hasWeakLinkage() const { return isWeakLinkage(getLinkage()); } in hasWeakLinkage()
403 bool hasWeakAnyLinkage() const { return isWeakAnyLinkage(getLinkage()); } in hasWeakAnyLinkage()
404 bool hasWeakODRLinkage() const { return isWeakODRLinkage(getLinkage()); } in hasWeakODRLinkage()
405 bool hasAppendingLinkage() const { return isAppendingLinkage(getLinkage()); } in hasAppendingLinkage()
[all …]
/external/llvm/include/llvm/IR/
DGlobalValue.h104 switch (getLinkage()) { in mayBeDerefined()
375 bool isInterposable() const { return isInterposableLinkage(getLinkage()); } in isInterposable()
377 bool hasExternalLinkage() const { return isExternalLinkage(getLinkage()); } in hasExternalLinkage()
379 return isAvailableExternallyLinkage(getLinkage()); in hasAvailableExternallyLinkage()
381 bool hasLinkOnceLinkage() const { return isLinkOnceLinkage(getLinkage()); } in hasLinkOnceLinkage()
383 return isLinkOnceODRLinkage(getLinkage()); in hasLinkOnceODRLinkage()
385 bool hasWeakLinkage() const { return isWeakLinkage(getLinkage()); } in hasWeakLinkage()
386 bool hasWeakAnyLinkage() const { return isWeakAnyLinkage(getLinkage()); } in hasWeakAnyLinkage()
387 bool hasWeakODRLinkage() const { return isWeakODRLinkage(getLinkage()); } in hasWeakODRLinkage()
388 bool hasAppendingLinkage() const { return isAppendingLinkage(getLinkage()); } in hasAppendingLinkage()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp110 FunctionImportGlobalProcessing::getLinkage(const GlobalValue *SGV, in getLinkage() function in FunctionImportGlobalProcessing
119 return SGV->getLinkage(); in getLinkage()
124 return SGV->getLinkage(); in getLinkage()
126 switch (SGV->getLinkage()) { in getLinkage()
137 return SGV->getLinkage(); in getLinkage()
145 return SGV->getLinkage(); in getLinkage()
154 return SGV->getLinkage(); in getLinkage()
186 return SGV->getLinkage(); in getLinkage()
192 return SGV->getLinkage(); in getLinkage()
197 return SGV->getLinkage(); in getLinkage()
[all …]
DCloneModule.cpp66 I->isConstant(), I->getLinkage(), in CloneModule()
78 I.getLinkage(), I.getName(), New.get()); in CloneModule()
109 I->getLinkage(), I->getName(), New.get()); in CloneModule()
/external/clang/include/clang/Basic/
DVisibility.h62 assert(getLinkage() == L && getVisibility() == V && in LinkageInfo()
79 Linkage getLinkage() const { return (Linkage)linkage_; } in getLinkage() function
86 setLinkage(minLinkage(getLinkage(), L)); in mergeLinkage()
89 mergeLinkage(other.getLinkage()); in mergeLinkage()
93 Linkage ThisL = getLinkage(); in mergeExternalVisibility()
103 mergeExternalVisibility(Other.getLinkage()); in mergeExternalVisibility()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp459 LT = Src->getLinkage(); in getLinkageResult()
464 LT = Src->getLinkage(); in getLinkageResult()
467 LT = Dest->getLinkage(); in getLinkageResult()
472 LT = Src->getLinkage(); in getLinkageResult()
481 LT = Src->getLinkage(); in getLinkageResult()
484 LT = Dest->getLinkage(); in getLinkageResult()
490 LT = Dest->getLinkage(); in getLinkageResult()
588 DstGV->getLinkage(), /*init*/0, /*name*/"", DstGV, in linkAppendingVarProto()
658 SGV->isConstant(), SGV->getLinkage(), /*init*/0, in linkGlobalProto()
704 SF->getLinkage(), SF->getName(), DstM); in linkFunctionProto()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneModule.cpp53 I->isConstant(), I->getLinkage(), in CloneModule()
66 I->getLinkage(), I->getName(), New); in CloneModule()
74 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), in CloneModule()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp169 F.getLinkage(), F.getName(), &Dst); in cloneFunctionDecl()
207 GV.getLinkage(), nullptr, GV.getName(), nullptr, in cloneGlobalVariableDecl()
238 OrigA.getLinkage(), OrigA.getName(), &Dst); in cloneGlobalAliasDecl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp270 F.getLinkage(), F.getName(), &Dst); in cloneFunctionDecl()
307 GV.getLinkage(), nullptr, GV.getName(), nullptr, in cloneGlobalVariableDecl()
338 OrigA.getLinkage(), OrigA.getName(), &Dst); in cloneGlobalAliasDecl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp260 return getPGOFuncName(F.getName(), F.getLinkage(), FileName, Version); in getPGOFuncName()
325 if (!GlobalValue::isLocalLinkage(FuncNameVar->getLinkage())) in createPGOFuncNameVar()
332 return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), PGOFuncName); in createPGOFuncNameVar()
942 GlobalValue::LinkageTypes Linkage = F.getLinkage(); in needsComdatForCounter()
982 if (!GlobalValue::isDiscardableIfUnused(F.getLinkage())) in canRenameComdatFunc()
987 assert(F.getLinkage() == GlobalValue::AvailableExternallyLinkage); in canRenameComdatFunc()
/external/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h70 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV);
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp290 GlobalValue::LinkageTypes Linkage = F.getLinkage(); in needsComdatForCounter()
352 new GlobalVariable(*M, CounterTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
373 new GlobalVariable(*M, ValuesTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
406 auto *Data = new GlobalVariable(*M, DataTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h83 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV, bool DoPromote);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp785 if (NewLinkage == GV.getLinkage()) in thinLTOResolveWeakForLinkerModule()
800 if (!GlobalValue::isWeakForLinker(GV.getLinkage())) in thinLTOResolveWeakForLinkerModule()
808 GlobalValue::isInterposableLinkage(GV.getLinkage())) { in thinLTOResolveWeakForLinkerModule()
823 << "` from " << GV.getLinkage() << " to " << NewLinkage in thinLTOResolveWeakForLinkerModule()
891 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee()
DExtractGV.cpp41 switch(GV.getLinkage()) { in makeVisible()
/external/clang/lib/AST/
DDecl.cpp235 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType()
723 if (TypeLV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
773 if (TypeAsWritten->getLinkage() == UniqueExternalLinkage) in getLVForNamespaceScopeDecl()
807 if (!isExternalFormalLinkage(EnumLV.getLinkage())) in getLVForNamespaceScopeDecl()
842 if (LV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
843 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
893 if (classLV.getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
896 if (!isExternallyVisible(classLV.getLinkage())) in getLVForClassMember()
920 if (TypeAsWritten->getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
1013 return computeLVForDecl(this, LVForLinkageOnly).getLinkage() == in isLinkageValid()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86VZeroUpper.cpp75 GlobalValue::LinkageTypes LT = GV->getLinkage(); in isCallToModuleFn()
/external/llvm/lib/IR/
DGlobals.cpp127 return getGlobalIdentifier(getName(), getLinkage(), in getGlobalIdentifier()
359 return create(Aliasee->getLinkage(), Name, Aliasee); in create()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp359 GlobalValueSummary::GVFlags Flags(F.getLinkage(), NotEligibleForImport, in computeFunctionSummary()
385 GlobalValueSummary::GVFlags Flags(V.getLinkage(), NonRenamableLocal, in computeVariableSummary()
400 GlobalValueSummary::GVFlags Flags(A.getLinkage(), NonRenamableLocal, in computeAliasSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAddMissingPrototypes.cpp99 NewF = Function::Create(NewType, F.getLinkage(), F.getName()); in runOnModule()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp43 switch(GV.getLinkage()) { in makeVisible()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DGlobals.cpp152 return getGlobalIdentifier(getName(), getLinkage(), in getGlobalIdentifier()
444 return create(Aliasee->getLinkage(), Name, Aliasee); in create()

12345