| /freebsd-9-stable/contrib/llvm/tools/llvm-extract/ |
| D | llvm-extract.cpp | 116 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); in main() local 117 if (!GA) { in main() 122 GVs.insert(GA); in main() 134 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end(); in main() local 135 GA != E; GA++) { in main() 136 if (RegEx.match(GA->getName())) { in main() 137 GVs.insert(&*GA); in main()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/ |
| D | CloneModule.cpp | 70 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), in CloneModule() local 72 GA->copyAttributesFrom(I); in CloneModule() 73 VMap[I] = GA; in CloneModule() 107 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneModule() local 109 GA->setAliasee(MapValue(C, VMap)); in CloneModule()
|
| D | SpecialCaseList.cpp | 195 bool SpecialCaseList::isIn(const GlobalAlias &GA, in isIn() argument 197 if (isIn(*GA.getParent(), Category)) in isIn() 200 if (isa<FunctionType>(GA.getType()->getElementType())) in isIn() 201 return inSectionCategory("fun", GA.getName(), Category); in isIn() 203 return inSectionCategory("global", GA.getName(), Category) || in isIn() 204 inSectionCategory("type", GetGlobalTypeString(GA), Category); in isIn()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Globals.cpp | 258 while (GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) { in resolveAliasedGlobal() local 259 if (stopOnWeak && GA->mayBeOverridden()) in resolveAliasedGlobal() 262 GV = GA->getAliasedGlobal(); in resolveAliasedGlobal()
|
| D | Value.cpp | 371 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCastsAndOffsets() local 372 if (StripKind == PSK_ZeroIndices || GA->mayBeOverridden()) in stripPointerCastsAndOffsets() 374 V = GA->getAliasee(); in stripPointerCastsAndOffsets() 422 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripAndAccumulateInBoundsConstantOffsets() local 423 V = GA->getAliasee(); in stripAndAccumulateInBoundsConstantOffsets()
|
| D | Verifier.cpp | 267 void visitGlobalAlias(GlobalAlias &GA); 536 void Verifier::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias() argument 537 Assert1(!GA.getName().empty(), in visitGlobalAlias() 538 "Alias name cannot be empty!", &GA); in visitGlobalAlias() 539 Assert1(GlobalAlias::isValidLinkage(GA.getLinkage()), in visitGlobalAlias() 540 "Alias should have external or external weak linkage!", &GA); in visitGlobalAlias() 541 Assert1(GA.getAliasee(), in visitGlobalAlias() 542 "Aliasee cannot be NULL!", &GA); in visitGlobalAlias() 543 Assert1(GA.getType() == GA.getAliasee()->getType(), in visitGlobalAlias() 544 "Alias and aliasee types should match!", &GA); in visitGlobalAlias() [all …]
|
| D | AsmWriter.cpp | 414 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in createSlotTracker() local 415 return new SlotTracker(GA->getParent()); in createSlotTracker() 1479 void AssemblyWriter::printAlias(const GlobalAlias *GA) { in printAlias() argument 1480 if (GA->isMaterializable()) in printAlias() 1484 if (!GA->hasName()) in printAlias() 1487 PrintLLVMName(Out, GA); in printAlias() 1490 PrintVisibility(GA->getVisibility(), Out); in printAlias() 1494 PrintLinkage(GA->getLinkage(), Out); in printAlias() 1496 const Constant *Aliasee = GA->getAliasee(); in printAlias() 1499 TypePrinter.print(GA->getType(), Out); in printAlias() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Target/ |
| D | TargetMachine.cpp | 126 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in getTLSModel() local 127 GV = GA->resolveAliasedGlobal(false); in getTLSModel()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/ |
| D | GlobalDCE.cpp | 172 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded() local 174 MarkUsedGlobalsAsNeeded(GA->getAliasee()); in GlobalIsNeeded()
|
| D | MergeFunctions.cpp | 788 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", in writeAlias() local 791 GA->takeName(G); in writeAlias() 792 GA->setVisibility(G->getVisibility()); in writeAlias() 794 G->replaceAllUsesWith(GA); in writeAlias() 797 DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n'); in writeAlias()
|
| D | GlobalOpt.cpp | 2917 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { in hasUseOtherThanLLVMUsed() argument 2918 if (GA.use_empty()) // No use at all. in hasUseOtherThanLLVMUsed() 2921 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) && in hasUseOtherThanLLVMUsed() 2924 if (!GA.hasOneUse()) in hasUseOtherThanLLVMUsed() 2930 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA); in hasUseOtherThanLLVMUsed() 2944 static bool mayHaveOtherReferences(GlobalAlias &GA, const LLVMUsed &U) { in mayHaveOtherReferences() argument 2945 if (!GA.hasLocalLinkage()) in mayHaveOtherReferences() 2948 return U.usedCount(&GA) || U.compilerUsedCount(&GA); in mayHaveOtherReferences() 2951 static bool hasUsesToReplace(GlobalAlias &GA, LLVMUsed &U, bool &RenameTarget) { in hasUsesToReplace() argument 2954 if (hasUseOtherThanLLVMUsed(GA, U)) in hasUsesToReplace() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Instrumentation/ |
| D | DataFlowSanitizer.cpp | 184 bool isInstrumented(const GlobalAlias *GA); 381 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { in isInstrumented() argument 382 return !ABIList->isIn(*GA, "uninstrumented"); in isInstrumented() 535 GlobalAlias *GA = &*i; in runOnModule() local 540 GA->resolveAliasedGlobal(/*stopOnWeak=*/false))) { in runOnModule() 541 bool GAInst = isInstrumented(GA), FInst = isInstrumented(F); in runOnModule() 543 addGlobalNamePrefix(GA); in runOnModule() 549 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType()); in runOnModule() 550 GA->replaceAllUsesWith(NewF); in runOnModule() 551 NewF->takeName(GA); in runOnModule() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Target/XCore/ |
| D | XCoreISelLowering.cpp | 253 getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV, in getGlobalAddressWrapper() argument 257 SDLoc dl(GA); in getGlobalAddressWrapper() 260 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in getGlobalAddressWrapper() local 261 UnderlyingGV = GA->resolveAliasedGlobal(); in getGlobalAddressWrapper() 264 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper() 265 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper() 267 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA); in getGlobalAddressWrapper() 279 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); in LowerGlobalAddress() local 280 GA = getGlobalAddressWrapper(GA, GV, DAG); in LowerGlobalAddress() 284 GA = DAG.getNode(ISD::ADD, DL, MVT::i32, GA, Remaining); in LowerGlobalAddress() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | MemoryBuiltins.cpp | 423 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in compute() local 424 return visitGlobalAlias(*GA); in compute() 543 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias() argument 544 if (GA.mayBeOverridden()) in visitGlobalAlias() 546 return compute(GA.getAliasee()); in visitGlobalAlias()
|
| D | ValueTracking.cpp | 302 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in ComputeMaskedBits() local 303 if (GA->mayBeOverridden()) { in ComputeMaskedBits() 306 ComputeMaskedBits(GA->getAliasee(), KnownZero, KnownOne, TD, Depth+1); in ComputeMaskedBits() 1738 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(Ptr)) { in GetPointerBaseWithConstantOffset() local 1739 if (GA->mayBeOverridden()) in GetPointerBaseWithConstantOffset() 1741 Ptr = GA->getAliasee(); in GetPointerBaseWithConstantOffset() 1907 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in GetUnderlyingObject() local 1908 if (GA->mayBeOverridden()) in GetUnderlyingObject() 1910 V = GA->getAliasee(); in GetUnderlyingObject()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 257 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal() 264 GA && in isOffsetFoldingLegal() 265 !GA->getGlobal()->isDeclaration() && in isOffsetFoldingLegal() 266 !GA->getGlobal()->isWeakForLinker()) in isOffsetFoldingLegal() 1900 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, in isGAPlusOffset() argument 1904 GA = GASD->getGlobal(); in isGAPlusOffset() 1912 if (isGAPlusOffset(N1.getNode(), GA, Offset)) { in isGAPlusOffset() 1918 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) { in isGAPlusOffset() 2019 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); in LowerAsmOperandForConstraint() local 2024 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0)); in LowerAsmOperandForConstraint() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/ |
| D | PPCISelDAGToDAG.cpp | 1279 SDValue GA = N->getOperand(0); in Select() local 1282 TOCbase, GA); in Select() 1284 if (isa<JumpTableSDNode>(GA) || CModel == CodeModel::Large) in Select() 1285 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA, in Select() 1288 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA)) { in Select() 1302 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA, in Select() 1307 SDValue(Tmp, 0), GA); in Select() 1508 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PostprocessISelDAG() local 1509 SDLoc dl(GA); in PostprocessISelDAG() 1510 const GlobalValue *GV = GA->getGlobal(); in PostprocessISelDAG()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Transforms/Utils/ |
| D | SpecialCaseList.h | 88 bool isIn(const GlobalAlias &GA,
|
| /freebsd-9-stable/contrib/llvm/lib/Target/ARM/ |
| D | ARMISelLowering.h | 380 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const; 437 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, 439 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
|
| /freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/ |
| D | ExecutionEngine.cpp | 1293 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable() local 1295 if (GA == 0) { in EmitGlobalVariable() 1297 GA = getMemoryForGV(GV); in EmitGlobalVariable() 1300 if (GA == 0) return; in EmitGlobalVariable() 1302 addGlobalMapping(GV, GA); in EmitGlobalVariable() 1307 InitializeMemory(GV->getInitializer(), GA); in EmitGlobalVariable()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/Hexagon/ |
| D | HexagonISelDAGToDAG.cpp | 1631 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N); in hasNumUsesBelowThresGA() local 1633 GlobalAddressUseCountMap.find(GA->getGlobal()); in hasNumUsesBelowThresGA() 1666 GlobalAddressSDNode *GA = in foldGlobalAddressImpl() local 1669 if (Const && GA && in foldGlobalAddressImpl() 1670 (GA->getOpcode() == ISD::TargetGlobalAddress)) { in foldGlobalAddressImpl() 1672 !hasNumUsesBelowThresGA(GA)) in foldGlobalAddressImpl() 1674 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), in foldGlobalAddressImpl() 1677 GA->getOffset() + in foldGlobalAddressImpl()
|
| /freebsd-9-stable/crypto/heimdal/appl/telnet/arpa/ |
| D | telnet.h | 48 #define GA 249 /* you may reverse the line */ macro
|
| /freebsd-9-stable/contrib/tcpdump/ |
| D | telnet.h | 52 #define GA 249 /* you may reverse the line */ macro
|
| /freebsd-9-stable/include/arpa/ |
| D | telnet.h | 45 #define GA 249 /* you may reverse the line */ macro
|
| /freebsd-9-stable/contrib/telnet/arpa/ |
| D | telnet.h | 49 #define GA 249 /* you may reverse the line */ macro
|