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

123

/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/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/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/IR/
H A DGlobals.cpp63 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
65 if (const GlobalObject *GO = GA->getBaseObject())
92 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
94 if (const GlobalObject *GO = GA->getBaseObject())
102 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
104 if (const GlobalObject *GO = GA->getBaseObject())
H A DValue.cpp408 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
409 if (StripKind == PSK_ZeroIndices || GA->mayBeOverridden())
411 V = GA->getAliasee();
459 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
460 V = GA->getAliasee();
H A DModule.cpp446 for (GlobalAlias &GA : aliases())
447 GA.dropAllReferences();
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...]
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...]
/external/llvm/lib/CodeGen/
H A DJumpInstrTables.cpp283 for (GlobalAlias &GA : M.aliases()) {
284 Constant *Aliasee = GA.getAliasee();
288 Aliases[&GA] = it->second;
/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/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp214 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) {
216 MarkUsedGlobalsAsNeeded(GA->getAliasee());
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');
/external/robolectric/
H A DAndroid.mk57 robolectric-javassist:lib/main/javassist-3.14.0-GA.jar \
/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/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...]
H A DXCoreISelLowering.h145 SDValue getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV,
/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/llvm/lib/Target/ARM/
H A DARMISelLowering.h373 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
452 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
454 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
/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...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkScalerContext_win_dw.cpp222 // G is the Givens Matrix for A (rotational matrix where GA[0][1] == 0).
226 // GA is the matrix A with rotation removed.
227 SkMatrix GA(G);
228 GA.preConcat(A);
233 SkScalar realTextSize = SkScalarAbs(GA.get(SkMatrix::kMScaleY));
320 SkMatrix GsA(GA);
/external/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h202 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h86 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
/external/skia/src/ports/
H A DSkScalerContext_win_dw.cpp222 // G is the Givens Matrix for A (rotational matrix where GA[0][1] == 0).
226 // GA is the matrix A with rotation removed.
227 SkMatrix GA(G);
228 GA.preConcat(A);
233 SkScalar realTextSize = SkScalarAbs(GA.get(SkMatrix::kMScaleY));
320 SkMatrix GsA(GA);
/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...]
/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...]

Completed in 6483 milliseconds

123