Home
last modified time | relevance | path

Searched refs:GlobalAlias (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/include/llvm/
DGlobalAlias.h29 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> {
30 friend class SymbolTableListTraits<GlobalAlias, Module>;
31 void operator=(const GlobalAlias &); // Do not implement
32 GlobalAlias(const GlobalAlias &); // Do not implement
43 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
79 static inline bool classof(const GlobalAlias *) { return true; } in classof() argument
86 struct OperandTraits<GlobalAlias> :
87 public FixedNumOperandTraits<GlobalAlias, 1> {
90 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)
DModule.h68 template<> struct ilist_traits<GlobalAlias>
69 : public SymbolTableListTraits<GlobalAlias, Module> {
71 GlobalAlias *createSentinel() const {
72 return static_cast<GlobalAlias*>(&Sentinel);
74 static void destroySentinel(GlobalAlias*) {}
76 GlobalAlias *provideInitialHead() const { return createSentinel(); }
77 GlobalAlias *ensureHead(GlobalAlias*) const { return createSentinel(); }
78 static void noteHead(GlobalAlias*, GlobalAlias*) {}
80 mutable ilist_node<GlobalAlias> Sentinel;
121 typedef iplist<GlobalAlias> AliasListType;
[all …]
DValue.h29 class GlobalAlias; variable
382 template <> struct isa_impl<GlobalAlias, Value> {
391 isa<GlobalAlias>(Val);
DValueSymbolTable.h41 friend class SymbolTableListTraits<GlobalAlias, Module>;
/external/llvm/lib/VMCore/
DGlobals.cpp75 assert(isa<GlobalAlias>(this)); in isDeclaration()
189 GlobalAlias::GlobalAlias(Type *Ty, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
203 void GlobalAlias::setParent(Module *parent) { in setParent()
211 void GlobalAlias::removeFromParent() { in removeFromParent()
215 void GlobalAlias::eraseFromParent() { in eraseFromParent()
219 void GlobalAlias::setAliasee(Constant *Aliasee) { in setAliasee()
226 const GlobalValue *GlobalAlias::getAliasedGlobal() const { in getAliasedGlobal()
241 const GlobalValue *GlobalAlias::resolveAliasedGlobal(bool stopOnWeak) const { in resolveAliasedGlobal()
252 while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) { in resolveAliasedGlobal()
DModule.cpp39 template class llvm::SymbolTableListTraits<GlobalAlias, Module>;
297 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
298 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias()
DValue.cpp362 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCastsAndOffsets()
DAsmWriter.cpp398 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in createSlotTracker()
582 (isa<GlobalAlias>(V) ? 'A' : 'o'))) << "]\n"); in CreateModuleSlot()
1156 void printAlias(const GlobalAlias *GV);
1409 void AssemblyWriter::printAlias(const GlobalAlias *GA) { in printAlias()
2099 W.printAlias(cast<GlobalAlias>(GV)); in print()
DConstantFold.cpp1382 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2)) in evaluateICmpRelation()
1391 if (!GV->hasExternalWeakLinkage() && !isa<GlobalAlias>(GV)) in evaluateICmpRelation()
1605 if (!isa<GlobalAlias>(GV) && !GV->hasExternalWeakLinkage()) { in ConstantFoldCompareInstruction()
1615 if (!isa<GlobalAlias>(GV) && !GV->hasExternalWeakLinkage()) { in ConstantFoldCompareInstruction()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp74 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), in CloneModule()
111 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneModule()
/external/llvm/unittests/VMCore/
DVerifierTest.cpp55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), in TEST()
/external/llvm/lib/Analysis/
DLoads.cpp71 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in getUnderlyingObjectWithOffset()
103 if (!isa<GlobalAlias>(GV) && !GV->mayBeOverridden()) { in isSafeToLoadUnconditionally()
DAliasAnalysis.cpp435 if (isa<GlobalValue>(V) && !isa<GlobalAlias>(V)) in isIdentifiedObject()
DInlineCost.cpp786 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripAndComputeInBoundsConstantOffsets()
DValueTracking.cpp301 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in ComputeMaskedBits()
1779 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in GetUnderlyingObject()
DBasicAliasAnalysis.cpp272 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in DecomposeGEPExpression()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp114 std::vector<GlobalAlias*> DeadAliases; in runOnModule()
170 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded()
DMergeFunctions.cpp761 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", in writeAlias()
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll34 %struct.iplist.12 = type { %struct.ilist_traits.11, %struct.GlobalAlias* }
36 %struct.ilist_node.10 = type { %struct.ilist_half_node.9, %struct.GlobalAlias* }
37 %struct.ilist_half_node.9 = type { %struct.GlobalAlias* }
38 %struct.GlobalAlias = type { %struct.GlobalValue, %struct.ilist_node.10 }
/external/llvm/lib/Linker/
DLinkModules.cpp433 bool linkAliasProto(GlobalAlias *SrcA);
835 bool ModuleLinker::linkAliasProto(GlobalAlias *SGA) { in linkAliasProto()
864 GlobalAlias *NewDA = new GlobalAlias(TypeMap.get(SGA->getType()), in linkAliasProto()
966 GlobalAlias *DA = cast<GlobalAlias>(ValueMap[I]); in linkAliasBodies()
/external/clang/lib/CodeGen/
DCGCXX.cpp153 llvm::GlobalAlias *Alias = in TryEmitDefinitionAsAlias()
154 new llvm::GlobalAlias(AliasType, Linkage, "", Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
DCGObjCGNU.cpp245 llvm::GlobalAlias *ClassPtrAlias;
250 llvm::GlobalAlias *MetaClassPtrAlias;
269 typedef std::pair<std::string, llvm::GlobalAlias*> TypedSelector;
846 llvm::GlobalAlias *SelValue = 0; in GetSelector()
857 SelValue = new llvm::GlobalAlias(SelectorTy, in GetSelector()
1061 MetaClassPtrAlias = new llvm::GlobalAlias(IdTy, in GenerateMessageSendSuper()
1068 ClassPtrAlias = new llvm::GlobalAlias(IdTy, in GenerateMessageSendSuper()
2229 std::vector<llvm::GlobalAlias*> SelectorAliases; in ModuleInitFunction()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp246 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(&GV)) { in TypeCharForSymbol()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h144 std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits;
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp234 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in getGlobalAddressWrapper()
273 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in LowerGlobalTLSAddress()

12