/external/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 96 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 …]
|
D | CloneModule.cpp | 57 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/ |
D | GlobalValue.h | 126 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/ |
D | GlobalValue.h | 113 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/ |
D | GlobalValue.h | 104 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/ |
D | FunctionImportUtils.cpp | 110 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 …]
|
D | CloneModule.cpp | 66 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/ |
D | Visibility.h | 62 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/ |
D | LinkModules.cpp | 459 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/ |
D | CloneModule.cpp | 53 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/ |
D | IndirectionUtils.cpp | 169 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/ |
D | IndirectionUtils.cpp | 270 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/ |
D | InstrProf.cpp | 260 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/ |
D | FunctionImportUtils.h | 70 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV);
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 290 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/ |
D | FunctionImportUtils.h | 83 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV, bool DoPromote);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 785 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()
|
D | ExtractGV.cpp | 41 switch(GV.getLinkage()) { in makeVisible()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 235 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/ |
D | X86VZeroUpper.cpp | 75 GlobalValue::LinkageTypes LT = GV->getLinkage(); in isCallToModuleFn()
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 127 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/ |
D | ModuleSummaryAnalysis.cpp | 359 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/ |
D | WebAssemblyAddMissingPrototypes.cpp | 99 NewF = Function::Create(NewType, F.getLinkage(), F.getName()); in runOnModule()
|
/external/llvm/lib/Transforms/IPO/ |
D | ExtractGV.cpp | 43 switch(GV.getLinkage()) { in makeVisible()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Globals.cpp | 152 return getGlobalIdentifier(getName(), getLinkage(), in getGlobalIdentifier() 444 return create(Aliasee->getLinkage(), Name, Aliasee); in create()
|