Home
last modified time | relevance | path

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

1234

/NextBSD/contrib/llvm/tools/llvm-extract/
HDllvm-extract.cpp126 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); in main() local
127 if (!GA) { in main()
132 GVs.insert(GA); in main()
144 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end(); in main() local
145 GA != E; GA++) { in main()
146 if (RegEx.match(GA->getName())) { in main()
147 GVs.insert(&*GA); in main()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDCloneModule.cpp72 auto *GA = GlobalAlias::create(PTy, I->getLinkage(), I->getName(), New); in CloneModule() local
73 GA->copyAttributesFrom(I); in CloneModule()
74 VMap[I] = GA; in CloneModule()
112 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneModule() local
114 GA->setAliasee(MapValue(C, VMap)); in CloneModule()
/NextBSD/contrib/llvm/lib/IR/
HDGlobals.cpp64 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment() local
66 if (const GlobalObject *GO = GA->getBaseObject()) in getAlignment()
107 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection() local
109 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
117 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat() local
119 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
HDValue.cpp444 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCastsAndOffsets() local
445 if (StripKind == PSK_ZeroIndices || GA->mayBeOverridden()) in stripPointerCastsAndOffsets()
447 V = GA->getAliasee(); in stripPointerCastsAndOffsets()
496 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripAndAccumulateInBoundsConstantOffsets() local
497 V = GA->getAliasee(); in stripAndAccumulateInBoundsConstantOffsets()
HDVerifier.cpp283 void visitGlobalAlias(const GlobalAlias &GA);
550 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr() argument
552 Visited.insert(&GA); in visitAliaseeSubExpr()
553 visitAliaseeSubExpr(Visited, GA, C); in visitAliaseeSubExpr()
557 const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr() argument
559 Assert(!GV->isDeclaration(), "Alias must point to a definition", &GA); in visitAliaseeSubExpr()
562 Assert(Visited.insert(GA2).second, "Aliases cannot form a cycle", &GA); in visitAliaseeSubExpr()
565 &GA); in visitAliaseeSubExpr()
579 visitAliaseeSubExpr(Visited, GA, *GA2->getAliasee()); in visitAliaseeSubExpr()
581 visitAliaseeSubExpr(Visited, GA, *C2); in visitAliaseeSubExpr()
[all …]
HDAsmWriter.cpp712 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in createSlotTracker() local
713 return new SlotTracker(GA->getParent()); in createSlotTracker()
2227 for (const GlobalAlias &GA : M->aliases()) in printModule() local
2228 printAlias(&GA); in printModule()
2409 void AssemblyWriter::printAlias(const GlobalAlias *GA) { in printAlias() argument
2410 if (GA->isMaterializable()) in printAlias()
2413 WriteAsOperandInternal(Out, GA, &TypePrinter, &Machine, GA->getParent()); in printAlias()
2416 PrintLinkage(GA->getLinkage(), Out); in printAlias()
2417 PrintVisibility(GA->getVisibility(), Out); in printAlias()
2418 PrintDLLStorageClass(GA->getDLLStorageClass(), Out); in printAlias()
[all …]
HDModule.cpp454 for (GlobalAlias &GA : aliases()) in dropAllReferences()
455 GA.dropAllReferences(); in dropAllReferences()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDGlobalDCE.cpp90 for (GlobalAlias &GA : M.aliases()) in runOnModule()
91 if (Comdat *C = GA.getComdat()) in runOnModule()
92 ComdatMembers.insert(std::make_pair(C, &GA)); in runOnModule()
215 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded() local
217 MarkUsedGlobalsAsNeeded(GA->getAliasee()); in GlobalIsNeeded()
HDGlobalOpt.cpp2789 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { in hasUseOtherThanLLVMUsed() argument
2790 if (GA.use_empty()) // No use at all. in hasUseOtherThanLLVMUsed()
2793 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) && in hasUseOtherThanLLVMUsed()
2796 if (!GA.hasOneUse()) in hasUseOtherThanLLVMUsed()
2802 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA); in hasUseOtherThanLLVMUsed()
2816 static bool mayHaveOtherReferences(GlobalAlias &GA, const LLVMUsed &U) { in mayHaveOtherReferences() argument
2817 if (!GA.hasLocalLinkage()) in mayHaveOtherReferences()
2820 return U.usedCount(&GA) || U.compilerUsedCount(&GA); in mayHaveOtherReferences()
2823 static bool hasUsesToReplace(GlobalAlias &GA, const LLVMUsed &U, in hasUsesToReplace() argument
2827 if (hasUseOtherThanLLVMUsed(GA, U)) in hasUsesToReplace()
[all …]
HDMergeFunctions.cpp1383 auto *GA = GlobalAlias::create(PTy, G->getLinkage(), "", F); in writeAlias() local
1385 GA->takeName(G); in writeAlias()
1386 GA->setVisibility(G->getVisibility()); in writeAlias()
1388 G->replaceAllUsesWith(GA); in writeAlias()
1391 DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n'); in writeAlias()
HDInliner.cpp696 for (const GlobalAlias &GA : CG.getModule().aliases()) in removeDeadFunctions() local
697 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDDataFlowSanitizer.cpp159 bool isIn(const GlobalAlias &GA, StringRef Category) const { in isIn() argument
160 if (isIn(*GA.getParent(), Category)) in isIn()
163 if (isa<FunctionType>(GA.getType()->getElementType())) in isIn()
164 return SCL->inSection("fun", GA.getName(), Category); in isIn()
166 return SCL->inSection("global", GA.getName(), Category) || in isIn()
167 SCL->inSection("type", GetGlobalTypeString(GA), Category); in isIn()
255 bool isInstrumented(const GlobalAlias *GA);
482 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { in isInstrumented() argument
483 return !ABIList.isIn(*GA, "uninstrumented"); in isInstrumented()
661 GlobalAlias *GA = &*i; in runOnModule() local
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDMemoryBuiltins.cpp410 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in compute() local
411 return visitGlobalAlias(*GA); in compute()
530 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias() argument
531 if (GA.mayBeOverridden()) in visitGlobalAlias()
533 return compute(GA.getAliasee()); in visitGlobalAlias()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreISelLowering.cpp259 SDValue XCoreTargetLowering::getGlobalAddressWrapper(SDValue GA, in getGlobalAddressWrapper() argument
263 SDLoc dl(GA); in getGlobalAddressWrapper()
266 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper()
271 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper()
273 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper()
299 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); in LowerGlobalAddress() local
300 GA = getGlobalAddressWrapper(GA, GV, DAG); in LowerGlobalAddress()
304 GA = DAG.getNode(ISD::ADD, DL, MVT::i32, GA, Remaining); in LowerGlobalAddress()
306 return GA; in LowerGlobalAddress()
310 Constant *GA = ConstantExpr::getBitCast(const_cast<GlobalValue*>(GV), Ty); in LowerGlobalAddress() local
[all …]
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDValueEnumerator.cpp309 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator() local
310 EnumerateValue(&GA); in ValueEnumerator()
321 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator() local
322 EnumerateValue(GA.getAliasee()); in ValueEnumerator()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDTargetLowering.cpp264 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
271 GA && GA->getGlobal()->isStrongDefinitionForLinker()) in isOffsetFoldingLegal()
2080 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, in isGAPlusOffset() argument
2084 GA = GASD->getGlobal(); in isGAPlusOffset()
2092 if (isGAPlusOffset(N1.getNode(), GA, Offset)) { in isGAPlusOffset()
2098 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) { in isGAPlusOffset()
2198 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); in LowerAsmOperandForConstraint() local
2203 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0)); in LowerAsmOperandForConstraint()
2204 if (!C || !GA) { in LowerAsmOperandForConstraint()
2206 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1)); in LowerAsmOperandForConstraint()
[all …]
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMISelLowering.h402 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
506 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
508 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
/NextBSD/crypto/heimdal/appl/telnet/arpa/
HDtelnet.h48 #define GA 249 /* you may reverse the line */ macro
/NextBSD/contrib/llvm/lib/ExecutionEngine/
HDExecutionEngine.cpp1335 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable() local
1337 if (!GA) { in EmitGlobalVariable()
1339 GA = getMemoryForGV(GV); in EmitGlobalVariable()
1342 if (!GA) return; in EmitGlobalVariable()
1344 addGlobalMapping(GV, GA); in EmitGlobalVariable()
1349 InitializeMemory(GV->getInitializer(), GA); in EmitGlobalVariable()
/NextBSD/include/arpa/
HDtelnet.h45 #define GA 249 /* you may reverse the line */ macro
/NextBSD/contrib/telnet/arpa/
HDtelnet.h49 #define GA 249 /* you may reverse the line */ macro
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenModule.cpp243 static const llvm::GlobalObject *getAliasedGlobal(const llvm::GlobalAlias &GA) { in getAliasedGlobal() argument
245 const llvm::Constant *C = &GA; in getAliasedGlobal()
300 if (auto GA = dyn_cast<llvm::GlobalAlias>(AliaseeGV)) { in checkAliases() local
301 if (GA->mayBeOverridden()) { in checkAliases()
303 << GV->getName() << GA->getName(); in checkAliases()
305 GA->getAliasee(), Alias->getType()); in checkAliases()
2523 auto *GA = llvm::GlobalAlias::create( in EmitAliasDefinition() local
2528 if (GA->getAliasee() == Entry) { in EmitAliasDefinition()
2542 GA->takeName(Entry); in EmitAliasDefinition()
2544 Entry->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GA, in EmitAliasDefinition()
[all …]
/NextBSD/share/syscons/fonts/
HDiso04-8x8.fnt38 MQCAL.&S&_L;&`#YXV/[8V-YX,#`P,'@P'&PX?,;`P,9\#AC^8GA@9O[^9F!X
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelDAGToDAG.cpp2893 SDValue GA = N->getOperand(0); in Select() local
2895 MVT::i32, GA, N->getOperand(1))); in Select()
2912 SDValue GA = N->getOperand(0); in Select() local
2915 TOCbase, GA); in Select()
2917 if (isa<JumpTableSDNode>(GA) || isa<BlockAddressSDNode>(GA) || in Select()
2920 MVT::i64, GA, SDValue(Tmp, 0))); in Select()
2922 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA)) { in Select()
2929 MVT::i64, GA, SDValue(Tmp, 0))); in Select()
2933 SDValue(Tmp, 0), GA); in Select()
4255 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PeepholePPC64() local
[all …]
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcISelLowering.h87 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;

1234