| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ExtractGV.cpp | 108 for (GlobalAlias &GA : llvm::make_early_inc_range(M.aliases())) { in run() 109 bool Delete = deleteStuff == (bool)Named.count(&GA); in run() 110 makeVisible(GA, Delete); in run() 113 Type *Ty = GA.getValueType(); in run() 115 GA.removeFromParent(); in run() 119 GA.getAddressSpace(), GA.getName(), &M); in run() 123 M, Ty, false, GlobalValue::ExternalLinkage, nullptr, GA.getName()); in run() 125 GA.replaceAllUsesWith(Declaration); in run() 126 delete &GA; in run()
|
| H A D | GlobalDCE.cpp | 268 for (GlobalAlias &GA : M.aliases()) in run() 269 if (Comdat *C = GA.getComdat()) in run() 270 ComdatMembers.insert(std::make_pair(C, &GA)); in run() 290 for (GlobalAlias &GA : M.aliases()) { in run() 291 GA.removeDeadConstantUsers(); in run() 293 if (!GA.isDiscardableIfUnused()) in run() 294 MarkLive(GA); in run() 296 UpdateGVDependencies(GA); in run() 347 for (GlobalAlias &GA : M.aliases()) in run() 348 if (!AliveGlobals.count(&GA)) { in run() [all …]
|
| H A D | Internalize.cpp | 196 for (GlobalAlias &GA : M.aliases()) in internalizeModule() 197 checkComdat(GA, ComdatMap); in internalizeModule() 261 for (auto &GA : M.aliases()) { in internalizeModule() local 262 if (!maybeInternalize(GA, ComdatMap)) in internalizeModule() 267 LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n"); in internalizeModule()
|
| H A D | FunctionImport.cpp | 1778 for (auto &GA : TheModule.aliases()) { in thinLTOFinalizeInModule() local 1779 if (GA.hasAvailableExternallyLinkage()) in thinLTOFinalizeInModule() 1781 GlobalObject *Obj = GA.getAliaseeObject(); in thinLTOFinalizeInModule() 1784 GA.setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOFinalizeInModule() 1841 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { in replaceAliasWithAliasee() argument 1842 Function *Fn = cast<Function>(GA->getAliaseeObject()); in replaceAliasWithAliasee() 1848 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee() 1849 NewFn->setVisibility(GA->getVisibility()); in replaceAliasWithAliasee() 1850 GA->replaceAllUsesWith(NewFn); in replaceAliasWithAliasee() 1851 NewFn->takeName(GA); in replaceAliasWithAliasee() [all …]
|
| H A D | GlobalOpt.cpp | 2204 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { in hasUseOtherThanLLVMUsed() argument 2205 if (GA.use_empty()) // No use at all. in hasUseOtherThanLLVMUsed() 2208 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) && in hasUseOtherThanLLVMUsed() 2211 if (!GA.hasOneUse()) in hasUseOtherThanLLVMUsed() 2217 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA); in hasUseOtherThanLLVMUsed() 2227 static bool hasUsesToReplace(GlobalAlias &GA, const LLVMUsed &U, in hasUsesToReplace() argument 2229 if (GA.isWeakForLinker()) in hasUsesToReplace() 2234 if (hasUseOtherThanLLVMUsed(GA, U)) in hasUsesToReplace() 2238 if (!mayHaveOtherReferences(GA, U)) in hasUsesToReplace() 2248 Constant *Aliasee = GA.getAliasee(); in hasUsesToReplace() [all …]
|
| H A D | MergeFunctions.cpp | 829 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias() local 838 GA->takeName(G); in writeAlias() 839 GA->setVisibility(G->getVisibility()); in writeAlias() 840 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in writeAlias() 843 G->replaceAllUsesWith(GA); in writeAlias() 846 LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n'); in writeAlias()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CanonicalizeAliases.cpp | 41 if (auto *GA = dyn_cast<GlobalAlias>(C)) { in canonicalizeAlias() local 42 auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed); in canonicalizeAlias() 43 if (NewAliasee != GA->getAliasee()) { in canonicalizeAlias() 44 GA->setAliasee(NewAliasee); in canonicalizeAlias() 63 for (auto &GA : M.aliases()) in canonicalizeAliases() local 64 canonicalizeAlias(&GA, Changed); in canonicalizeAliases()
|
| H A D | CloneModule.cpp | 111 auto *GA = GlobalAlias::create(I.getValueType(), in CloneModule() local 114 GA->copyAttributesFrom(&I); in CloneModule() 115 VMap[&I] = GA; in CloneModule() 171 GlobalAlias *GA = cast<GlobalAlias>(VMap[&I]); in CloneModule() local 173 GA->setAliasee(MapValue(C, VMap)); in CloneModule()
|
| H A D | NameAnonGlobals.cpp | 76 for (auto &GA : M.aliases()) in nameUnamedGlobals() local 77 RenameIfNeed(GA); in nameUnamedGlobals()
|
| H A D | MetaRenamer.cpp | 178 for (GlobalAlias &GA : M.aliases()) { in MetaRename() 179 StringRef Name = GA.getName(); in MetaRename() 184 GA.setName("alias"); in MetaRename()
|
| H A D | FunctionImportUtils.cpp | 354 for (GlobalAlias &GA : M.aliases()) in processGlobalsForThinLTO() 355 processGlobalForThinLTO(GA); in processGlobalsForThinLTO()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-extract/ |
| H A D | llvm-extract.cpp | 163 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); in main() local 164 if (!GA) { in main() 169 GVs.insert(GA); in main() 181 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end(); in main() local 182 GA != E; GA++) { in main() 183 if (RegEx.match(GA->getName())) { in main() 184 GVs.insert(&*GA); in main()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.h | 128 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override { in isOffsetFoldingLegal() argument 217 SDValue getTLSGetAddr(GlobalAddressSDNode *GA, SelectionDAG &DAG, 221 SDValue LowerTLSGeneralDynamic(GlobalAddressSDNode *GA, 223 SDValue LowerTLSLocalDynamic(GlobalAddressSDNode *GA, 225 SDValue LowerTLSInitialExec(GlobalAddressSDNode *GA, SelectionDAG &DAG) const; 226 SDValue LowerTLSLocalExec(GlobalAddressSDNode *GA, SelectionDAG &DAG) const;
|
| H A D | M68kISelLowering.cpp | 1446 SDValue M68kTargetLowering::getTLSGetAddr(GlobalAddressSDNode *GA, in getTLSGetAddr() argument 1451 GA->getGlobal(), GA, GA->getValueType(0), GA->getOffset(), TargetFlags); in getTLSGetAddr() 1452 SDValue Arg = DAG.getNode(ISD::ADD, SDLoc(GA), MVT::i32, GOT, TGA); in getTLSGetAddr() 1461 return LowerExternalSymbolCall(DAG, SDLoc(GA), "__tls_get_addr", in getTLSGetAddr() 1469 SDValue M68kTargetLowering::LowerTLSGeneralDynamic(GlobalAddressSDNode *GA, in LowerTLSGeneralDynamic() argument 1471 return getTLSGetAddr(GA, DAG, M68kII::MO_TLSGD); in LowerTLSGeneralDynamic() 1474 SDValue M68kTargetLowering::LowerTLSLocalDynamic(GlobalAddressSDNode *GA, in LowerTLSLocalDynamic() argument 1476 SDValue Addr = getTLSGetAddr(GA, DAG, M68kII::MO_TLSLDM); in LowerTLSLocalDynamic() 1478 DAG.getTargetGlobalAddress(GA->getGlobal(), GA, GA->getValueType(0), in LowerTLSLocalDynamic() 1479 GA->getOffset(), M68kII::MO_TLSLD); in LowerTLSLocalDynamic() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 134 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader() local 135 GVal = GA->getAliaseeObject(); in getComdatLeader() 506 for (auto &GA : SrcM->aliases()) in run() local 507 if (GlobalObject *GO = GA.getAliaseeObject(); GO && GO->getComdat()) in run() 531 for (GlobalAlias &GA : SrcM->aliases()) in run() 532 if (GA.hasLinkOnceLinkage()) in run() 533 if (const Comdat *SC = GA.getComdat()) in run() 534 LazyComdatMembers[SC].push_back(&GA); in run() 547 for (GlobalAlias &GA : SrcM->aliases()) in run() 548 if (linkIfNeeded(GA, GVToClone)) in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 192 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection() local 194 if (const GlobalObject *GO = GA->getAliaseeObject()) in getSection() 202 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat() local 204 if (const GlobalObject *GO = GA->getAliaseeObject()) in getComdat() 387 if (auto *GA = dyn_cast<GlobalAlias>(C)) { in findBaseObject() local 388 Op(*GA); in findBaseObject() 389 if (Aliases.insert(GA).second) in findBaseObject() 390 return findBaseObject(GA->getOperand(0), Aliases, Op); in findBaseObject()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXCtorDtorLowering.cpp | 177 ConstantArray *GA = dyn_cast<ConstantArray>(GV->getInitializer()); in createInitOrFiniGlobals() local 178 if (!GA || GA->getNumOperands() == 0) in createInitOrFiniGlobals() 184 for (Value *V : GA->operands()) { in createInitOrFiniGlobals()
|
| H A D | NVPTXAsmPrinter.cpp | 484 void NVPTXAsmPrinter::emitAliasDeclaration(const GlobalAlias *GA, in emitAliasDeclaration() argument 486 const Function *F = dyn_cast_or_null<Function>(GA->getAliaseeObject()); in emitAliasDeclaration() 491 if (GA->hasLinkOnceLinkage() || GA->hasWeakLinkage() || in emitAliasDeclaration() 492 GA->hasAvailableExternallyLinkage() || GA->hasCommonLinkage()) in emitAliasDeclaration() 495 emitDeclarationWithName(F, getSymbol(GA), O); in emitAliasDeclaration() 644 for (const GlobalAlias &GA : M.aliases()) in emitDeclarations() local 645 emitAliasDeclaration(&GA, O); in emitDeclarations() 712 void NVPTXAsmPrinter::emitGlobalAlias(const Module &M, const GlobalAlias &GA) { in emitGlobalAlias() argument 716 MCSymbol *Name = getSymbol(&GA); in emitGlobalAlias() 718 OS << ".alias " << Name->getName() << ", " << GA.getAliaseeObject()->getName() in emitGlobalAlias()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 152 ConstantArray *GA = dyn_cast<ConstantArray>(GV->getInitializer()); in createInitOrFiniKernel() local 153 if (!GA || GA->getNumOperands() == 0) in createInitOrFiniKernel()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | UpdateCompilerUsed.cpp | 40 for (GlobalAlias &GA : TheModule.aliases()) in findInModule() 41 findLibCallsAndAsm(GA); in findInModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAG.cpp | 1557 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Addr)) { in SelectGlobalAddress() local 1558 if (GA->getOpcode() == ISD::TargetGlobalAddress) { in SelectGlobalAddress() 1559 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue(); in SelectGlobalAddress() 1560 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const), in SelectGlobalAddress() 2115 WeightedLeaf GA; in balanceSubTree() local 2184 if (isTargetConstant(Child) && !GA.Value.getNode()) in balanceSubTree() 2185 GA = WeightedLeaf(Child, Weight, InsertionOrder++); in balanceSubTree() 2253 if (NOpcode == ISD::ADD && GA.Value.getNode() && Leaves.hasConst() && in balanceSubTree() 2254 GA.Value.hasOneUse() && N->use_size() < 3) { in balanceSubTree() 2256 cast<GlobalAddressSDNode>(GA.Value.getOperand(0)); in balanceSubTree() [all …]
|
| H A D | HexagonISelLowering.cpp | 1312 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset); in LowerGLOBALADDRESS() local 1315 return DAG.getNode(HexagonISD::CONST32_GP, dl, PtrVT, GA); in LowerGLOBALADDRESS() 1316 return DAG.getNode(HexagonISD::CONST32, dl, PtrVT, GA); in LowerGLOBALADDRESS() 1321 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset, in LowerGLOBALADDRESS() local 1323 return DAG.getNode(HexagonISD::AT_PCREL, dl, PtrVT, GA); in LowerGLOBALADDRESS() 1328 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, HexagonII::MO_GOT); in LowerGLOBALADDRESS() local 1330 return DAG.getNode(HexagonISD::AT_GOT, dl, PtrVT, GOT, GA, Off); in LowerGLOBALADDRESS() 1361 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg, in GetDynamicTLSAddr() argument 1366 SDLoc dl(GA); in GetDynamicTLSAddr() 1367 SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, in GetDynamicTLSAddr() [all …]
|
| /freebsd/secure/caroot/untrusted/ |
| H A D | OISTE_WISeKey_Global_Root_GA_CA.pem | 2 ## OISTE WISeKey Global Root GA CA 17 … O=WISeKey, OU=Copyright (c) 2005, OU=OISTE Foundation Endorsed, CN=OISTE WISeKey Global Root GA CA 21 … O=WISeKey, OU=Copyright (c) 2005, OU=OISTE Foundation Endorsed, CN=OISTE WISeKey Global Root GA CA
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanSLP.cpp | 266 auto *GA = IAI.getInterleaveGroup(A); in areConsecutiveOrMatch() local 269 return GA && GB && GA == GB && GA->getIndex(A) + 1 == GB->getIndex(B); in areConsecutiveOrMatch()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | README-Windows.txt | 204 ctrl_interface=SDDL=D:(A;;GA;;;BA) 206 ("A" == "access allowed", "GA" == GENERIC_ALL == all permissions, and 214 ctrl_interface=SDDL=D:(A;;GA;;;BA)(A;;GA;;;PU) 222 ctrl_interface=SDDL=D:(A;;GA;;;AU) 232 ctrl_interface=SDDL=D:(A;;GA;;;BU)(A;;GA;;;AN)
|