Home
last modified time | relevance | path

Searched refs:GA (Results 1 – 25 of 143) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp109 for (GlobalAlias &GA : llvm::make_early_inc_range(M.aliases())) { in run()
110 bool Delete = deleteStuff == (bool)Named.count(&GA); in run()
111 makeVisible(GA, Delete); in run()
114 Type *Ty = GA.getValueType(); in run()
116 GA.removeFromParent(); in run()
120 GA.getAddressSpace(), GA.getName(), &M); in run()
124 M, Ty, false, GlobalValue::ExternalLinkage, nullptr, GA.getName()); in run()
126 GA.replaceAllUsesWith(Declaration); in run()
127 delete &GA; in run()
H A DGlobalDCE.cpp271 for (GlobalAlias &GA : M.aliases()) in run()
272 if (Comdat *C = GA.getComdat()) in run()
294 GA.removeDeadConstantUsers(); in run()
296 if (!GA.isDiscardableIfUnused()) in run()
297 MarkLive(GA); in run()
299 UpdateGVDependencies(GA); in run()
350 for (GlobalAlias &GA : M.aliases()) in run()
351 if (!AliveGlobals.count(&GA)) { in run()
352 DeadAliases.push_back(&GA); in run()
353 GA.setAliasee(nullptr); in run()
[all …]
H A DInternalize.cpp198 for (GlobalAlias &GA : M.aliases()) in internalizeModule()
199 checkComdat(GA, ComdatMap); in internalizeModule()
259 for (auto &GA : M.aliases()) { in internalizeModule() local
260 if (!maybeInternalize(GA, ComdatMap)) in internalizeModule()
265 LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n"); in internalizeModule()
H A DFunctionImport.cpp1514 for (auto &GA : TheModule.aliases()) { in thinLTOFinalizeInModule() local
1515 if (GA.hasAvailableExternallyLinkage()) in thinLTOFinalizeInModule()
1517 GlobalObject *Obj = GA.getAliaseeObject(); in thinLTOFinalizeInModule()
1582 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee()
1583 NewFn->setVisibility(GA->getVisibility()); in replaceAliasWithAliasee()
1584 GA->replaceAllUsesWith(NewFn); in replaceAliasWithAliasee()
1585 NewFn->takeName(GA); in replaceAliasWithAliasee()
1671 if (!GA.hasName() || isa<GlobalIFunc>(GA.getAliaseeObject())) in importFunctions()
1673 auto GUID = GA.getGUID(); in importFunctions()
1679 if (Error Err = GA.materialize()) in importFunctions()
[all …]
H A DGlobalOpt.cpp2191 if (GA.use_empty()) // No use at all. in hasUseOtherThanLLVMUsed()
2194 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) && in hasUseOtherThanLLVMUsed()
2197 if (!GA.hasOneUse()) in hasUseOtherThanLLVMUsed()
2203 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA); in hasUseOtherThanLLVMUsed()
2215 if (GA.isWeakForLinker()) in hasUsesToReplace()
2220 if (hasUseOtherThanLLVMUsed(GA, U)) in hasUsesToReplace()
2224 if (!mayHaveOtherReferences(GA, U)) in hasUsesToReplace()
2234 Constant *Aliasee = GA.getAliasee(); in hasUsesToReplace()
2435 for (GlobalAlias &GA : M.aliases()) in optimizeGlobalsInModule()
2436 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
[all …]
H A DMergeFunctions.cpp776 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias() local
785 GA->takeName(G); in writeAlias()
786 GA->setVisibility(G->getVisibility()); in writeAlias()
787 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in writeAlias()
790 G->replaceAllUsesWith(GA); in writeAlias()
793 LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n'); in writeAlias()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeAliases.cpp40 if (auto *GA = dyn_cast<GlobalAlias>(C)) { in canonicalizeAlias() local
41 auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed); in canonicalizeAlias()
42 if (NewAliasee != GA->getAliasee()) { in canonicalizeAlias()
43 GA->setAliasee(NewAliasee); in canonicalizeAlias()
62 for (auto &GA : M.aliases()) in canonicalizeAliases() local
63 canonicalizeAlias(&GA, Changed); in canonicalizeAliases()
H A DCloneModule.cpp111 auto *GA = GlobalAlias::create(I.getValueType(), in CloneModule() local
114 GA->copyAttributesFrom(&I); in CloneModule()
115 VMap[&I] = GA; in CloneModule()
197 GlobalAlias *GA = cast<GlobalAlias>(VMap[&I]); in CloneModule() local
199 GA->setAliasee(MapValue(C, VMap)); in CloneModule()
H A DNameAnonGlobals.cpp76 for (auto &GA : M.aliases()) in nameUnamedGlobals() local
77 RenameIfNeed(GA); in nameUnamedGlobals()
H A DMetaRenamer.cpp178 for (GlobalAlias &GA : M.aliases()) { in MetaRename()
179 StringRef Name = GA.getName(); in MetaRename()
184 GA.setName("alias"); in MetaRename()
/freebsd/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp160 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); in main() local
161 if (!GA) { in main()
166 GVs.insert(GA); in main()
178 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end(); in main() local
179 GA != E; GA++) { in main()
180 if (RegEx.match(GA->getName())) { in main()
181 GVs.insert(&*GA); in main()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.h197 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override { in isOffsetFoldingLegal() argument
286 SDValue getTLSGetAddr(GlobalAddressSDNode *GA, SelectionDAG &DAG,
290 SDValue LowerTLSGeneralDynamic(GlobalAddressSDNode *GA,
292 SDValue LowerTLSLocalDynamic(GlobalAddressSDNode *GA,
294 SDValue LowerTLSInitialExec(GlobalAddressSDNode *GA, SelectionDAG &DAG) const;
295 SDValue LowerTLSLocalExec(GlobalAddressSDNode *GA, SelectionDAG &DAG) const;
H A DM68kISelLowering.cpp1448 GA->getGlobal(), GA, GA->getValueType(0), GA->getOffset(), TargetFlags); in getTLSGetAddr()
1475 DAG.getTargetGlobalAddress(GA->getGlobal(), GA, GA->getValueType(0), in LowerTLSLocalDynamic()
1483 SDValue Tp = getM68kReadTp(SDLoc(GA), DAG); in LowerTLSInitialExec()
1485 DAG.getTargetGlobalAddress(GA->getGlobal(), GA, GA->getValueType(0), in LowerTLSInitialExec()
1497 SDValue Tp = getM68kReadTp(SDLoc(GA), DAG); in LowerTLSLocalExec()
1499 DAG.getTargetGlobalAddress(GA->getGlobal(), GA, GA->getValueType(0), in LowerTLSLocalExec()
1508 auto *GA = cast<GlobalAddressSDNode>(Op); in LowerGlobalTLSAddress() local
1513 return LowerTLSGeneralDynamic(GA, DAG); in LowerGlobalTLSAddress()
1515 return LowerTLSLocalDynamic(GA, DAG); in LowerGlobalTLSAddress()
1517 return LowerTLSInitialExec(GA, DAG); in LowerGlobalTLSAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp175 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection() local
177 if (const GlobalObject *GO = GA->getAliaseeObject()) in getSection()
185 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat() local
187 if (const GlobalObject *GO = GA->getAliaseeObject()) in getComdat()
337 if (auto *GA = dyn_cast<GlobalAlias>(C)) { in findBaseObject() local
338 Op(*GA); in findBaseObject()
339 if (Aliases.insert(GA).second) in findBaseObject()
340 return findBaseObject(GA->getOperand(0), Aliases, Op); in findBaseObject()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp134 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/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp150 ConstantArray *GA = dyn_cast<ConstantArray>(GV->getInitializer()); in createInitOrFiniKernel() local
151 if (!GA || GA->getNumOperands() == 0) in createInitOrFiniKernel()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp2005 WeightedLeaf GA; in balanceSubTree() local
2144 GA.Value.hasOneUse() && N->use_size() < 3) { in balanceSubTree()
2159 GA.Value = CurDAG->getNode(GA.Value.getOpcode(), SDLoc(GA.Value), in balanceSubTree()
2160 GA.Value.getValueType(), NewTGA); in balanceSubTree()
2161 GA.Weight += Leaves.top().Weight; in balanceSubTree()
2163 NodeHeights[GA.Value] = getHeight(GA.Value.getNode()); in balanceSubTree()
2179 if (NOpcode == ISD::ADD && GA.Value.getNode()) { in balanceSubTree()
2183 GA.Value = CurDAG->getNode(ISD::ADD, SDLoc(GA.Value), in balanceSubTree()
2187 NodeHeights[GA.Value] = Height; in balanceSubTree()
2191 if (GA.Value.getNode()) in balanceSubTree()
[all …]
H A DHexagonISelLowering.cpp1281 SDLoc dl(GA); in GetDynamicTLSAddr()
1314 SDLoc dl(GA); in LowerToTLSInitialExecModel()
1315 int64_t Offset = GA->getOffset(); in LowerToTLSInitialExecModel()
1356 SDLoc dl(GA); in LowerToTLSLocalExecModel()
1357 int64_t Offset = GA->getOffset(); in LowerToTLSLocalExecModel()
1378 SDLoc dl(GA); in LowerToTLSGeneralDynamicModel()
1379 int64_t Offset = GA->getOffset(); in LowerToTLSGeneralDynamicModel()
1416 switch (HTM.getTLSModel(GA->getGlobal())) { in LowerGlobalTLSAddress()
1419 return LowerToTLSGeneralDynamicModel(GA, DAG); in LowerGlobalTLSAddress()
1421 return LowerToTLSInitialExecModel(GA, DAG); in LowerGlobalTLSAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp208 ConstantArray *GA = dyn_cast<ConstantArray>(GV->getInitializer()); in createInitOrFiniGlobals() local
209 if (!GA || GA->getNumOperands() == 0) in createInitOrFiniGlobals()
215 for (Value *V : GA->operands()) { in createInitOrFiniGlobals()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp39 for (GlobalAlias &GA : TheModule.aliases()) in findInModule()
40 findLibCallsAndAsm(GA); in findInModule()
/freebsd/secure/caroot/untrusted/
H A DOISTE_WISeKey_Global_Root_GA_CA.pem2 ## OISTE WISeKey Global Root GA CA
18 …eKey, OU = Copyright (c) 2005, OU = OISTE Foundation Endorsed, CN = OISTE WISeKey Global Root GA CA
22 …eKey, 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 DVPlanSLP.cpp210 auto *GA = IAI.getInterleaveGroup(A); in areConsecutiveOrMatch() local
213 return GA && GB && GA == GB && GA->getIndex(A) + 1 == GB->getIndex(B); in areConsecutiveOrMatch()
/freebsd/contrib/wpa/wpa_supplicant/
H A DREADME-Windows.txt204 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)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2094 MCSymbol *Name = getSymbol(&GA); in emitGlobalAlias()
2110 if (isa<GlobalVariable>(GA.getAliaseeObject())) in emitGlobalAlias()
2113 emitLinkage(&GA, Name); in emitGlobalAlias()
2117 emitLinkage(&GA, in emitGlobalAlias()
2124 else if (GA.hasWeakLinkage() || GA.hasLinkOnceLinkage()) in emitGlobalAlias()
2144 emitVisibility(Name, GA.getVisibility()); in emitGlobalAlias()
2153 MCSymbol *LocalAlias = getSymbolPreferLocal(GA); in emitGlobalAlias()
3345 for (const GlobalAlias *GA : AliasIt->second) in emitGlobalAliasInline() local
3346 AP.OutStreamer->emitLabel(AP.getSymbol(GA)); in emitGlobalAliasInline()
3778 for (const GlobalAlias *GA : AliasPair.second) in emitGlobalConstant() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp831 const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
833 const GlobalValue *GV = GA->getGlobal(); in isOffsetFoldingLegal()
1204 Callee = DAG.getTargetGlobalAddress(GA->getGlobal(), DL, in LowerCall()
1206 GA->getOffset()); in LowerCall()
1663 const auto *GA = cast<GlobalAddressSDNode>(Op); in LowerGlobalTLSAddress() local
1670 const GlobalValue *GV = GA->getGlobal(); in LowerGlobalTLSAddress()
1719 const auto *GA = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress() local
1721 assert(GA->getTargetFlags() == 0 && in LowerGlobalAddress()
1723 if (!WebAssembly::isValidAddressSpace(GA->getAddressSpace())) in LowerGlobalAddress()
1727 const GlobalValue *GV = GA->getGlobal(); in LowerGlobalAddress()
[all …]

123456