Searched refs:GA (Results 1 - 25 of 93) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeAliases.cpp43 if (auto *GA = dyn_cast<GlobalAlias>(C)) {
44 auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed);
45 if (NewAliasee != GA->getAliasee()) {
46 GA->setAliasee(NewAliasee);
65 for (auto &GA : M.aliases())
66 canonicalizeAlias(&GA, Changed);
H A DNameAnonGlobals.cpp77 for (auto &GA : M.aliases())
78 RenameIfNeed(GA);
H A DCloneModule.cpp107 auto *GA = GlobalAlias::create(I->getValueType(),
110 GA->copyAttributesFrom(&*I);
111 VMap[&*I] = GA;
178 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]);
180 GA->setAliasee(MapValue(C, VMap));
H A DModuleUtils.cpp232 for (GlobalAlias &GA : M.aliases())
233 if (Comdat *C = GA.getComdat()) {
269 for (auto &GA : M->aliases())
270 AddGlobal(GA);
H A DFunctionImportUtils.cpp302 for (GlobalAlias &GA : M.aliases())
303 processGlobalForThinLTO(GA);
H A DSplitModule.cpp258 for (GlobalAlias &GA : M->aliases())
259 externalize(&GA);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp301 for (GlobalAlias &GA : M.aliases())
302 if (Comdat *C = GA.getComdat())
303 ComdatMembers.insert(std::make_pair(C, &GA));
323 for (GlobalAlias &GA : M.aliases()) {
324 Changed |= RemoveUnusedGlobalValue(GA);
326 if (!GA.isDiscardableIfUnused())
327 MarkLive(GA);
329 UpdateGVDependencies(GA);
380 for (GlobalAlias &GA : M.aliases())
381 if (!AliveGlobals.count(&GA)) {
[all...]
H A DInternalize.cpp164 for (GlobalAlias &GA : M.aliases())
165 checkComdatVisibility(GA, ExternalComdats);
225 for (auto &GA : M.aliases()) {
226 if (!maybeInternalize(GA, ExternalComdats))
231 LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n");
H A DFunctionImport.cpp1087 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { argument
1088 Function *Fn = cast<Function>(GA->getBaseObject());
1094 NewFn->setLinkage(GA->getLinkage());
1095 NewFn->setVisibility(GA->getVisibility());
1096 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewFn, GA->getType()));
1097 NewFn->takeName(GA);
1182 for (GlobalAlias &GA : SrcModule->aliases()) {
1183 if (!GA.hasName())
1185 auto GUID = GA
[all...]
H A DMergeFunctions.cpp770 auto *GA = GlobalAlias::create( local
775 GA->takeName(G);
776 GA->setVisibility(G->getVisibility());
777 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
780 G->replaceAllUsesWith(GA);
783 LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp98 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
100 if (const GlobalObject *GO = GA->getBaseObject())
166 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
168 if (const GlobalObject *GO = GA->getBaseObject())
176 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
178 if (const GlobalObject *GO = GA->getBaseObject())
289 if (auto *GA = dyn_cast<GlobalIndirectSymbol>(this))
290 return GA->getBaseObject();
438 if (auto *GA = dyn_cast<GlobalAlias>(C))
439 if (Aliases.insert(GA)
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp155 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); local
156 if (!GA) {
161 GVs.insert(GA);
173 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end();
174 GA != E; GA++) {
175 if (RegEx.match(GA->getName())) {
176 GVs.insert(&*GA);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp128 const auto *GA = cast<GlobalAddressSDNode>(Node); local
139 if (GA->getGlobal()->getThreadLocalMode() !=
144 GA->getGlobal()->getName(),
153 GA->getGlobal(), DL, PtrVT, GA->getOffset(), 0);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp39 for (GlobalAlias &GA : TheModule.aliases())
40 findLibCallsAndAsm(GA);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp259 } else if (auto GA = dyn_cast<GlobalAddressSDNode>(ImmOperand)) {
261 GA->getGlobal(), SDLoc(ImmOperand), ImmOperand.getValueType(),
262 GA->getOffset(), GA->getTargetFlags());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp133 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) {
134 GVal = GA->getBaseObject();
511 for (GlobalAlias &GA : SrcM->aliases())
512 if (GA.hasLinkOnceLinkage())
513 if (const Comdat *SC = GA.getComdat())
514 LazyComdatMembers[SC].push_back(&GA);
526 for (GlobalAlias &GA : SrcM->aliases())
527 if (linkIfNeeded(GA))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp35 // Rebalance only if this allows e.g. combining a GA with an offset or
1399 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Addr)) {
1400 if (GA->getOpcode() == ISD::TargetGlobalAddress) {
1401 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue();
1402 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const),
1947 WeightedLeaf GA; local
2016 if (isTargetConstant(Child) && !GA.Value.getNode())
2017 GA = WeightedLeaf(Child, Weight, InsertionOrder++);
2081 // Combine GA + Constant -> GA
[all...]
H A DHexagonISelLowering.h192 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
194 SDValue LowerToTLSInitialExecModel(GlobalAddressSDNode *GA,
196 SDValue LowerToTLSLocalExecModel(GlobalAddressSDNode *GA,
199 GlobalAddressSDNode *GA, SDValue InFlag, EVT PtrVT,
293 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
H A DHexagonISelLowering.cpp1080 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset); local
1083 return DAG.getNode(HexagonISD::CONST32_GP, dl, PtrVT, GA);
1084 return DAG.getNode(HexagonISD::CONST32, dl, PtrVT, GA);
1089 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset, local
1091 return DAG.getNode(HexagonISD::AT_PCREL, dl, PtrVT, GA);
1096 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, HexagonII::MO_GOT); local
1098 return DAG.getNode(HexagonISD::AT_GOT, dl, PtrVT, GOT, GA, Off);
1129 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg,
1134 SDLoc dl(GA);
1135 SDValue TGA = DAG.getTargetGlobalAddress(GA
1128 GetDynamicTLSAddr(SelectionDAG &DAG, SDValue Chain, GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg, unsigned char OperandFlags) const argument
1165 LowerToTLSInitialExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1207 LowerToTLSLocalExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1229 LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1268 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h47 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp215 auto *GA = IAI.getInterleaveGroup(A);
218 return GA && GB && GA == GB && GA->getIndex(A) + 1 == GB->getIndex(B);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp195 /// If GA aliases a function, the alias's name is matched as a function name
197 bool isIn(const GlobalAlias &GA, StringRef Category) const { argument
198 if (isIn(*GA.getParent(), Category))
201 if (isa<FunctionType>(GA.getValueType()))
202 return SCL->inSection("dataflow", "fun", GA.getName(), Category);
204 return SCL->inSection("dataflow", "global", GA.getName(), Category) ||
205 SCL->inSection("dataflow", "type", GetGlobalTypeString(GA),
363 bool isInstrumented(const GlobalAlias *GA);
611 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { argument
612 return !ABIList.isIn(*GA, "uninstrumente
803 GlobalAlias *GA = &*i; local
[all...]
/freebsd-12-stable/crypto/heimdal/appl/telnet/arpa/
H A Dtelnet.h48 #define GA 249 /* you may reverse the line */ macro
69 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0,
/freebsd-12-stable/contrib/telnet/arpa/
H A Dtelnet.h45 #define GA 249 /* you may reverse the line */ macro
66 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",
/freebsd-12-stable/include/arpa/
H A Dtelnet.h47 #define GA 249 /* you may reverse the line */ macro
68 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",

Completed in 345 milliseconds

1234