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

123

/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp70 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), local
72 GA->copyAttributesFrom(I);
73 VMap[I] = GA;
107 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); local
109 GA->setAliasee(MapValue(C, VMap));
H A DSpecialCaseList.cpp195 bool SpecialCaseList::isIn(const GlobalAlias &GA, argument
197 if (isIn(*GA.getParent(), Category))
200 if (isa<FunctionType>(GA.getType()->getElementType()))
201 return inSectionCategory("fun", GA.getName(), Category);
203 return inSectionCategory("global", GA.getName(), Category) ||
204 inSectionCategory("type", GetGlobalTypeString(GA), Category);
/freebsd-10-stable/contrib/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp116 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); local
117 if (!GA) {
122 GVs.insert(GA);
134 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end();
135 GA != E; GA++) {
136 if (RegEx.match(GA->getName())) {
137 GVs.insert(&*GA);
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/Utils/
H A DSpecialCaseList.h86 /// If GA aliases a function, the alias's name is matched as a function name
88 bool isIn(const GlobalAlias &GA,
/freebsd-10-stable/contrib/llvm/lib/Target/
H A DTargetMachine.cpp126 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
127 GV = GA->resolveAliasedGlobal(false);
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DGlobals.cpp258 while (GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
259 if (stopOnWeak && GA->mayBeOverridden())
262 GV = GA->getAliasedGlobal();
H A DValue.cpp371 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
372 if (StripKind == PSK_ZeroIndices || GA->mayBeOverridden())
374 V = GA->getAliasee();
422 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
423 V = GA->getAliasee();
H A DVerifier.cpp267 void visitGlobalAlias(GlobalAlias &GA);
536 void Verifier::visitGlobalAlias(GlobalAlias &GA) { argument
537 Assert1(!GA.getName().empty(),
538 "Alias name cannot be empty!", &GA);
539 Assert1(GlobalAlias::isValidLinkage(GA.getLinkage()),
540 "Alias should have external or external weak linkage!", &GA); local
541 Assert1(GA.getAliasee(),
542 "Aliasee cannot be NULL!", &GA);
543 Assert1(GA.getType() == GA
[all...]
H A DAsmWriter.cpp414 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
415 return new SlotTracker(GA->getParent());
1479 void AssemblyWriter::printAlias(const GlobalAlias *GA) { argument
1480 if (GA->isMaterializable())
1483 // Don't crash when dumping partially built GA
1484 if (!GA->hasName())
1487 PrintLLVMName(Out, GA);
1490 PrintVisibility(GA->getVisibility(), Out);
1494 PrintLinkage(GA->getLinkage(), Out);
1496 const Constant *Aliasee = GA
[all...]
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp172 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) {
174 MarkUsedGlobalsAsNeeded(GA->getAliasee());
H A DMergeFunctions.cpp788 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", local
791 GA->takeName(G);
792 GA->setVisibility(G->getVisibility());
794 G->replaceAllUsesWith(GA);
797 DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
H A DGlobalOpt.cpp2917 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { argument
2918 if (GA.use_empty()) // No use at all.
2921 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) &&
2924 if (!GA.hasOneUse())
2930 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA);
2944 static bool mayHaveOtherReferences(GlobalAlias &GA, const LLVMUsed &U) { argument
2945 if (!GA.hasLocalLinkage())
2948 return U.usedCount(&GA) ||
2951 hasUsesToReplace(GlobalAlias &GA, LLVMUsed &U, bool &RenameTarget) argument
[all...]
/freebsd-10-stable/contrib/tcpdump/
H A Dtelnet.h52 #define GA 249 /* you may reverse the line */ macro
73 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0,
/freebsd-10-stable/contrib/telnet/arpa/
H A Dtelnet.h49 #define GA 249 /* you may reverse the line */ macro
70 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",
/freebsd-10-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-10-stable/include/arpa/
H A Dtelnet.h45 #define GA 249 /* you may reverse the line */ macro
66 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp184 bool isInstrumented(const GlobalAlias *GA);
381 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { argument
382 return !ABIList->isIn(*GA, "uninstrumented");
535 GlobalAlias *GA = &*i; local
540 GA->resolveAliasedGlobal(/*stopOnWeak=*/false))) {
541 bool GAInst = isInstrumented(GA), FInst = isInstrumented(F);
543 addGlobalNamePrefix(GA);
549 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType());
550 GA->replaceAllUsesWith(NewF);
551 NewF->takeName(GA);
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1279 SDValue GA = N->getOperand(0); local
1282 TOCbase, GA);
1284 if (isa<JumpTableSDNode>(GA) || CModel == CodeModel::Large)
1285 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1288 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA)) {
1302 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1307 SDValue(Tmp, 0), GA);
1508 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
1509 SDLoc dl(GA);
1510 const GlobalValue *GV = GA
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp253 getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV, argument
257 SDLoc dl(GA);
260 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
261 UnderlyingGV = GA->resolveAliasedGlobal();
264 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA);
265 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA);
267 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA);
279 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); local
280 GA = getGlobalAddressWrapper(GA, G
[all...]
H A DXCoreISelLowering.h141 SDValue getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV,
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp423 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
424 return visitGlobalAlias(*GA);
543 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { argument
544 if (GA.mayBeOverridden())
546 return compute(GA.getAliasee());
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.h380 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
437 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
439 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp257 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
264 GA &&
265 !GA->getGlobal()->isDeclaration() &&
266 !GA->getGlobal()->isWeakForLinker())
1900 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, argument
1904 GA = GASD->getGlobal();
1912 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
1918 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
2019 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); local
2024 GA
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h200 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h86 virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;

Completed in 326 milliseconds

123