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

/external/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp71 auto *GA = local
74 GA->copyAttributesFrom(I);
75 VMap[I] = GA;
109 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); local
111 GA->setAliasee(cast<GlobalObject>(MapValue(C, VMap)));
/external/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp117 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); local
118 if (!GA) {
123 GVs.insert(GA);
135 for (Module::alias_iterator GA = M->alias_begin(), E = M->alias_end();
136 GA != E; GA++) {
137 if (RegEx.match(GA->getName())) {
138 GVs.insert(&*GA);
/external/clang/test/Layout/
H A Dms-x86-vtordisp.cpp341 struct GA { struct
344 struct GB: public GA {};
345 struct GC: public virtual GA {
357 // CHECK-NEXT: 4 | (vtordisp for vbase GA)
358 // CHECK-NEXT: 8 | struct GA (virtual base)
359 // CHECK-NEXT: 8 | (GA vftable pointer)
363 // CHECK-NEXT: 16 | struct GA (primary base)
364 // CHECK-NEXT: 16 | (GA vftable pointer)
373 // CHECK-X64-NEXT: 12 | (vtordisp for vbase GA)
374 // CHECK-X64-NEXT: 16 | struct GA (virtua
[all...]
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp426 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
427 return visitGlobalAlias(*GA);
546 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { argument
547 if (GA.mayBeOverridden())
549 return compute(GA.getAliasee());
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Drfc2217.py101 GA = to_bytes([249]) # Go Ahead variable
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1324 void *GA = getPointerToGlobalIfAvailable(GV); local
1326 if (!GA) {
1328 GA = getMemoryForGV(GV);
1331 if (!GA) return;
1333 addGlobalMapping(GV, GA);
1338 InitializeMemory(GV->getInitializer(), GA);
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp1362 auto *GA = GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), local
1365 GA->takeName(G);
1366 GA->setVisibility(G->getVisibility());
1368 G->replaceAllUsesWith(GA);
1371 DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
H A DGlobalOpt.cpp2783 static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { argument
2784 if (GA.use_empty()) // No use at all.
2787 assert((!U.usedCount(&GA) || !U.compilerUsedCount(&GA)) &&
2790 if (!GA.hasOneUse())
2796 return !U.usedCount(&GA) && !U.compilerUsedCount(&GA);
2810 static bool mayHaveOtherReferences(GlobalAlias &GA, const LLVMUsed &U) { argument
2811 if (!GA.hasLocalLinkage())
2814 return U.usedCount(&GA) ||
2817 hasUsesToReplace(GlobalAlias &GA, LLVMUsed &U, bool &RenameTarget) argument
[all...]
/external/llvm/lib/IR/
H A DAsmWriter.cpp415 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
416 return new SlotTracker(GA->getParent());
1501 void AssemblyWriter::printAlias(const GlobalAlias *GA) { argument
1502 if (GA->isMaterializable())
1505 // Don't crash when dumping partially built GA
1506 if (!GA->hasName())
1509 PrintLLVMName(Out, GA);
1512 PrintVisibility(GA->getVisibility(), Out);
1513 PrintDLLStorageClass(GA->getDLLStorageClass(), Out);
1514 PrintThreadLocalModel(GA
[all...]
H A DVerifier.cpp258 void visitGlobalAlias(const GlobalAlias &GA);
497 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { argument
499 Visited.insert(&GA);
500 visitAliaseeSubExpr(Visited, GA, C);
504 const GlobalAlias &GA, const Constant &C) {
506 Assert1(!GV->isDeclaration(), "Alias must point to a definition", &GA);
509 Assert1(Visited.insert(GA2), "Aliases cannot form a cycle", &GA);
512 &GA);
526 visitAliaseeSubExpr(Visited, GA, *GA2->getAliasee());
528 visitAliaseeSubExpr(Visited, GA, *C
503 visitAliaseeSubExpr(SmallPtrSet<const GlobalAlias *, 4> &Visited, const GlobalAlias &GA, const Constant &C) argument
532 visitGlobalAlias(const GlobalAlias &GA) argument
538 &GA); local
545 "Aliasee should be either GlobalValue or ConstantExpr", &GA); local
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1632 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
1634 GlobalAddressUseCountMap.find(GA->getGlobal());
1667 GlobalAddressSDNode *GA = local
1670 if (Const && GA &&
1671 (GA->getOpcode() == ISD::TargetGlobalAddress)) {
1673 !hasNumUsesBelowThresGA(GA))
1675 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(),
1678 GA->getOffset() +
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1464 SDValue GA = N->getOperand(0); local
1467 TOCbase, GA);
1469 if (isa<JumpTableSDNode>(GA) || CModel == CodeModel::Large)
1470 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1473 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA)) {
1479 return CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
1484 SDValue(Tmp, 0), GA);
2157 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
2158 SDLoc dl(GA);
2159 const GlobalValue *GV = GA
[all...]
H A DPPCISelLowering.cpp1546 SDValue GA = DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment(), 0); local
1547 return DAG.getNode(PPCISD::TOC_ENTRY, SDLoc(CP), MVT::i64, GA,
1567 SDValue GA = DAG.getTargetJumpTable(JT->getIndex(), PtrVT); local
1568 return DAG.getNode(PPCISD::TOC_ENTRY, SDLoc(JT), MVT::i64, GA,
1599 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
1600 SDLoc dl(GA);
1601 const GlobalValue *GV = GA->getGlobal();
1695 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, PtrVT, GSDN->getOffset()); local
1696 return DAG.getNode(PPCISD::TOC_ENTRY, DL, MVT::i64, GA,
8870 PPCTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) cons
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp256 SDValue XCoreTargetLowering::getGlobalAddressWrapper(SDValue GA, argument
260 SDLoc dl(GA);
263 return DAG.getNode(XCoreISD::PCRelativeWrapper, dl, MVT::i32, GA);
268 return DAG.getNode(XCoreISD::CPRelativeWrapper, dl, MVT::i32, GA);
270 return DAG.getNode(XCoreISD::DPRelativeWrapper, dl, MVT::i32, GA);
295 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, FoldedOffset); local
296 GA = getGlobalAddressWrapper(GA, GV, DAG);
300 GA = DAG.getNode(ISD::ADD, DL, MVT::i32, GA, Remainin
306 Constant *GA = ConstantExpr::getBitCast(const_cast<GlobalValue*>(GV), Ty); local
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp149 /// If GA aliases a function, the alias's name is matched as a function name
151 bool isIn(const GlobalAlias &GA, const StringRef Category) const { argument
152 if (isIn(*GA.getParent(), Category))
155 if (isa<FunctionType>(GA.getType()->getElementType()))
156 return SCL->inSection("fun", GA.getName(), Category);
158 return SCL->inSection("global", GA.getName(), Category) ||
159 SCL->inSection("type", GetGlobalTypeString(GA), Category);
245 bool isInstrumented(const GlobalAlias *GA);
446 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) { argument
447 return !ABIList.isIn(*GA, "uninstrumente
601 GlobalAlias *GA = &*i; local
[all...]
/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/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DRegionDataConstants.java392 GA(new String[]{ enum constant in enum:RegionDataConstants.RegionDataEnum
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp258 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
265 GA &&
266 !GA->getGlobal()->isDeclaration() &&
267 !GA->getGlobal()->isWeakForLinker())
2005 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, argument
2009 GA = GASD->getGlobal();
2017 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
2023 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
2124 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); local
2129 GA
[all...]
H A DSelectionDAG.cpp431 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N); local
432 ID.AddPointer(GA->getGlobal());
433 ID.AddInteger(GA->getOffset());
434 ID.AddInteger(GA->getTargetFlags());
435 ID.AddInteger(GA->getAddressSpace());
6200 DebugLoc DL, const GlobalValue *GA,
6203 TheGlobal = GA;
6199 GlobalAddressSDNode(unsigned Opc, unsigned Order, DebugLoc DL, const GlobalValue *GA, EVT VT, int64_t o, unsigned char TF) argument
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1761 if (const GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op))
1762 return DAG.getTargetGlobalAddress(GA->getGlobal(),
1763 SDLoc(GA),
1764 GA->getValueType(0),
1765 GA->getOffset(), TF);
1866 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
1867 SDLoc DL(GA);
1868 const GlobalValue *GV = GA->getGlobal();
3166 SparcTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp1497 // FIXME: We are artificially lowering the criteria to turn ADD %reg, $GA
1527 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N); local
1530 AM.GV = GA->getGlobal();
1531 AM.Disp += GA->getOffset();
1533 AM.SymbolFlags = GA->getTargetFlags();
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp227 static const llvm::GlobalObject *getAliasedGlobal(const llvm::GlobalAlias &GA) { argument
229 const llvm::Constant *C = &GA;
286 if (auto GA = dyn_cast<llvm::GlobalAlias>(AliaseeGV)) {
287 if (GA->mayBeOverridden()) {
289 << GV->getName() << GA->getName();
291 GA->getAliasee(), Alias->getType());
2367 auto *GA = llvm::GlobalAlias::create( local
2372 if (GA->getAliasee() == Entry) {
2386 GA->takeName(Entry);
2388 Entry->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GA,
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1585 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i32, 0, local
1588 DAG.getVTList(MVT::i32), GA);
1633 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
1634 SDLoc DL(GA);
1635 const GlobalValue *GV = GA->getGlobal();
3238 MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2716 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
2718 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal());
2723 const GlobalValue *GV = GA->getGlobal();
3783 const GlobalAddressSDNode *GA) const {
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp2318 ARMTargetLowering::LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, argument
2320 SDLoc dl(GA);
2327 ARMConstantPoolConstant::Create(GA->getGlobal(), ARMPCLabelIndex,
2360 ARMTargetLowering::LowerToTLSExecModels(GlobalAddressSDNode *GA, argument
2363 const GlobalValue *GV = GA->getGlobal();
2364 SDLoc dl(GA);
2378 ARMConstantPoolConstant::Create(GA->getGlobal(), ARMPCLabelIndex,
2416 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); local
2418 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal());
2423 return LowerToTLSGeneralDynamicModel(GA, DA
[all...]

Completed in 891 milliseconds