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

1234

/freebsd-13-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.cpp240 for (GlobalAlias &GA : M.aliases())
241 if (Comdat *C = GA.getComdat()) {
277 for (auto &GA : M->aliases())
278 AddGlobal(GA);
H A DFunctionImportUtils.cpp309 for (GlobalAlias &GA : M.aliases())
310 processGlobalForThinLTO(GA);
H A DSplitModule.cpp258 for (GlobalAlias &GA : M->aliases())
259 externalize(&GA);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp310 for (GlobalAlias &GA : M.aliases())
311 if (Comdat *C = GA.getComdat())
312 ComdatMembers.insert(std::make_pair(C, &GA));
332 for (GlobalAlias &GA : M.aliases()) {
333 Changed |= RemoveUnusedGlobalValue(GA);
335 if (!GA.isDiscardableIfUnused())
336 MarkLive(GA);
338 UpdateGVDependencies(GA);
389 for (GlobalAlias &GA : M.aliases())
390 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.cpp1105 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { argument
1106 Function *Fn = cast<Function>(GA->getBaseObject());
1112 NewFn->setLinkage(GA->getLinkage());
1113 NewFn->setVisibility(GA->getVisibility());
1114 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewFn, GA->getType()));
1115 NewFn->takeName(GA);
1200 for (GlobalAlias &GA : SrcModule->aliases()) {
1201 if (!GA.hasName())
1203 auto GUID = GA
[all...]
H A DMergeFunctions.cpp769 auto *GA = GlobalAlias::create( local
774 GA->takeName(G);
775 GA->setVisibility(G->getVisibility());
776 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
779 G->replaceAllUsesWith(GA);
782 LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp163 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
165 if (const GlobalObject *GO = GA->getBaseObject())
173 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
175 if (const GlobalObject *GO = GA->getBaseObject())
286 if (auto *GA = dyn_cast<GlobalIndirectSymbol>(this))
287 return GA->getBaseObject();
434 if (auto *GA = dyn_cast<GlobalAlias>(C))
435 if (Aliases.insert(GA).second)
436 return findBaseObject(GA->getOperand(0), Aliases);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp130 const auto *GA = cast<GlobalAddressSDNode>(Node); local
141 if (GA->getGlobal()->getThreadLocalMode() !=
146 GA->getGlobal()->getName(),
152 GA->getGlobal(), DL, PtrVT, GA->getOffset(), 0);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp40 for (GlobalAlias &GA : TheModule.aliases())
41 findLibCallsAndAsm(GA);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp160 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); local
161 if (!GA) {
166 GVs.insert(GA);
178 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end();
179 GA != E; GA++) {
180 if (RegEx.match(GA->getName())) {
181 GVs.insert(&*GA);
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp574 } else if (auto GA = dyn_cast<GlobalAddressSDNode>(ImmOperand)) {
580 Align Alignment = GA->getGlobal()->getPointerAlignment(DL);
583 int64_t Offset1 = GA->getOffset();
586 GA->getGlobal(), SDLoc(ImmOperand), ImmOperand.getValueType(),
587 CombinedOffset, GA->getTargetFlags());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp209 /// If GA aliases a function, the alias's name is matched as a function name
211 bool isIn(const GlobalAlias &GA, StringRef Category) const { argument
212 if (isIn(*GA.getParent(), Category))
215 if (isa<FunctionType>(GA.getValueType()))
216 return SCL->inSection("dataflow", "fun", GA.getName(), Category);
218 return SCL->inSection("dataflow", "global", GA.getName(), Category) ||
219 SCL->inSection("dataflow", "type", GetGlobalTypeString(GA),
381 bool isInstrumented(const GlobalAlias *GA);
640 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { argument
641 return !ABIList.isIn(*GA, "uninstrumente
862 GlobalAlias *GA = &*i; local
[all...]
/freebsd-13-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
1406 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Addr)) {
1407 if (GA->getOpcode() == ISD::TargetGlobalAddress) {
1408 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue();
1409 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const),
1954 WeightedLeaf GA; local
2023 if (isTargetConstant(Child) && !GA.Value.getNode())
2024 GA = WeightedLeaf(Child, Weight, InsertionOrder++);
2088 // Combine GA + Constant -> GA
[all...]
H A DHexagonISelLowering.cpp1207 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset); local
1210 return DAG.getNode(HexagonISD::CONST32_GP, dl, PtrVT, GA);
1211 return DAG.getNode(HexagonISD::CONST32, dl, PtrVT, GA);
1216 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset, local
1218 return DAG.getNode(HexagonISD::AT_PCREL, dl, PtrVT, GA);
1223 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, HexagonII::MO_GOT); local
1225 return DAG.getNode(HexagonISD::AT_GOT, dl, PtrVT, GOT, GA, Off);
1256 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg,
1261 SDLoc dl(GA);
1262 SDValue TGA = DAG.getTargetGlobalAddress(GA
1255 GetDynamicTLSAddr(SelectionDAG &DAG, SDValue Chain, GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg, unsigned char OperandFlags) const argument
1292 LowerToTLSInitialExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1334 LowerToTLSLocalExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1356 LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, SelectionDAG &DAG) const argument
1395 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
[all...]
/freebsd-13-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-13-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",
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h47 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp249 SDValue XCoreTargetLowering::getGlobalAddressWrapper(SDValue GA, argument
253 SDLoc dl(GA);
256 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA);
261 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA);
263 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA);
289 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); local
290 GA = getGlobalAddressWrapper(GA, GV, DAG);
294 GA = DAG.getNode(ISD::ADD, DL, MVT::i32, GA, Remainin
300 Constant *GA = ConstantExpr::getBitCast(const_cast<GlobalValue*>(GV), Ty); local
[all...]

Completed in 320 milliseconds

1234