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

123

/external/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));
/external/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);
/external/llvm/unittests/IR/
H A DVerifierTest.cpp55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), local
58 GA->setUnnamedAddr(true);
/external/llvm/lib/Target/
H A DTargetMachine.cpp126 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
127 GV = GA->resolveAliasedGlobal(false);
/external/llvm/lib/IR/
H A DGlobals.cpp258 while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
259 if (stopOnWeak && GA->mayBeOverridden())
262 GV = GA->getAliasedGlobal();
H A DVerifier.cpp258 void visitGlobalAlias(GlobalAlias &GA);
527 void Verifier::visitGlobalAlias(GlobalAlias &GA) { argument
528 Assert1(!GA.getName().empty(),
529 "Alias name cannot be empty!", &GA);
530 Assert1(GA.hasExternalLinkage() || GA.hasLocalLinkage() ||
531 GA.hasWeakLinkage(),
532 "Alias should have external or external weak linkage!", &GA);
533 Assert1(GA.getAliasee(),
534 "Aliasee cannot be NULL!", &GA);
[all...]
H A DValue.cpp370 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
371 if (StripKind == PSK_ZeroIndices || GA->mayBeOverridden())
373 V = GA->getAliasee();
H A DAsmWriter.cpp412 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
413 return new SlotTracker(GA->getParent());
1480 void AssemblyWriter::printAlias(const GlobalAlias *GA) { argument
1481 if (GA->isMaterializable())
1484 // Don't crash when dumping partially built GA
1485 if (!GA->hasName())
1488 PrintLLVMName(Out, GA);
1491 PrintVisibility(GA->getVisibility(), Out);
1495 PrintLinkage(GA->getLinkage(), Out);
1497 const Constant *Aliasee = GA
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp172 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) {
174 MarkUsedGlobalsAsNeeded(GA->getAliasee());
H A DMergeFunctions.cpp773 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", local
776 GA->takeName(G);
777 GA->setVisibility(G->getVisibility());
779 G->replaceAllUsesWith(GA);
782 DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
H A DGlobalOpt.cpp3119 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { argument
3120 if (GA.use_empty()) // No use at all.
3123 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) &&
3126 if (!GA.hasOneUse())
3132 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA);
3146 static bool mayHaveOtherReferences(GlobalAlias &GA, const LLVMUsed &U) { argument
3147 if (!GA.hasLocalLinkage())
3150 return U.usedCount(&GA) ||
3153 hasUsesToReplace(GlobalAlias &GA, LLVMUsed &U, bool &RenameTarget) argument
[all...]
/external/robolectric/
H A DAndroid.mk53 robolectric-javassist:lib/main/javassist-3.14.0-GA.jar \
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h73 virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
/external/tcpdump/
H A Dtelnet.h52 #define GA 249 /* you may reverse the line */ macro
73 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0,
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1277 SDValue GA = N->getOperand(0); local
1280 TOCbase, GA);
1282 if (isa<JumpTableSDNode>(GA) || CModel == CodeModel::Large)
1283 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1286 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA)) {
1300 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1305 SDValue(Tmp, 0), GA);
1506 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
1507 SDLoc dl(GA);
1508 const GlobalValue *GV = GA
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp226 getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV, argument
230 SDLoc dl(GA);
233 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
234 UnderlyingGV = GA->resolveAliasedGlobal();
237 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA);
238 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA);
240 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA);
252 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); local
253 GA = getGlobalAddressWrapper(GA, G
[all...]
H A DXCoreISelLowering.h134 SDValue getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV,
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp415 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
416 return visitGlobalAlias(*GA);
535 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { argument
536 if (GA.mayBeOverridden())
538 return compute(GA.getAliasee());
H A DValueTracking.cpp301 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
302 if (GA->mayBeOverridden()) {
305 ComputeMaskedBits(GA->getAliasee(), KnownZero, KnownOne, TD, Depth+1);
1724 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(Ptr)) {
1725 if (GA->mayBeOverridden())
1727 Ptr = GA->getAliasee();
1893 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
1894 if (GA->mayBeOverridden())
1896 V = GA->getAliasee();
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h386 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
443 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
445 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp241 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
248 GA &&
249 !GA->getGlobal()->isDeclaration() &&
250 !GA->getGlobal()->isWeakForLinker())
1832 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, argument
1836 GA = GASD->getGlobal();
1844 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
1850 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
1951 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); local
1956 GA
[all...]
/external/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h196 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1629 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
1631 GlobalAddressUseCountMap.find(GA->getGlobal());
1664 GlobalAddressSDNode *GA = local
1667 if (Const && GA &&
1668 (GA->getOpcode() == ISD::TargetGlobalAddress)) {
1670 !hasNumUsesBelowThresGA(GA))
1672 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(),
1675 GA->getOffset() +
/external/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp267 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(&GV)) {
268 const GlobalValue *AliasedGV = GA->getAliasedGlobal();
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp878 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
879 if (GA->mayBeOverridden())
881 V = GA->getAliasee();

Completed in 782 milliseconds

123