Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/
DGlobalAlias.h30 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> {
31 friend class SymbolTableListTraits<GlobalAlias, Module>;
32 void operator=(const GlobalAlias &); // Do not implement
33 GlobalAlias(const GlobalAlias &); // Do not implement
44 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
80 static inline bool classof(const GlobalAlias *) { return true; } in classof() argument
87 struct OperandTraits<GlobalAlias> :
88 public FixedNumOperandTraits<GlobalAlias, 1> {
91 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Value)
DModule.h59 template<> struct ilist_traits<GlobalAlias>
60 : public SymbolTableListTraits<GlobalAlias, Module> {
62 static GlobalAlias *createSentinel();
63 static void destroySentinel(GlobalAlias *GA) { delete GA; }
104 typedef iplist<GlobalAlias> AliasListType;
337 GlobalAlias *getNamedAlias(StringRef Name) const;
423 static iplist<GlobalAlias> Module::*getSublistAccess(GlobalAlias*) {
DValue.h31 class GlobalAlias; variable
375 template <> struct isa_impl<GlobalAlias, Value> {
384 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.cpp42 GlobalAlias *ilist_traits<GlobalAlias>::createSentinel() { in createSentinel()
43 GlobalAlias *Ret = new GlobalAlias(Type::getInt32Ty(getGlobalContext()), in createSentinel()
54 template class llvm::SymbolTableListTraits<GlobalAlias, Module>;
309 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
310 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias()
DAsmWriter.cpp397 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in createSlotTracker()
581 (isa<GlobalAlias>(V) ? 'A' : 'o'))) << "]\n"); in CreateModuleSlot()
1106 void printAlias(const GlobalAlias *GV);
1338 void AssemblyWriter::printAlias(const GlobalAlias *GA) { in printAlias()
1369 } else if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(Aliasee)) { in printAlias()
2005 W.printAlias(cast<GlobalAlias>(GV)); in print()
DValue.cpp328 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCasts()
DConstantFold.cpp1647 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2)) in evaluateICmpRelation()
1656 if (!GV->hasExternalWeakLinkage() && !isa<GlobalAlias>(GV)) in evaluateICmpRelation()
1870 if (!isa<GlobalAlias>(GV) && !GV->hasExternalWeakLinkage()) { in ConstantFoldCompareInstruction()
1880 if (!isa<GlobalAlias>(GV) && !GV->hasExternalWeakLinkage()) { in ConstantFoldCompareInstruction()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp72 VMap[I] = new GlobalAlias(I->getType(), GlobalAlias::ExternalLinkage, 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.cpp70 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in getUnderlyingObjectWithOffset()
102 if (!isa<GlobalAlias>(GV) && !GV->mayBeOverridden()) { in isSafeToLoadUnconditionally()
DAliasAnalysis.cpp395 if (isa<GlobalValue>(V) && !isa<GlobalAlias>(V)) in isIdentifiedObject()
DValueTracking.cpp125 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in ComputeMaskedBits()
1761 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in GetUnderlyingObject()
DBasicAliasAnalysis.cpp270 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.cpp757 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", in writeAlias()
/external/llvm/lib/Linker/
DLinkModules.cpp382 bool linkAliasProto(GlobalAlias *SrcA);
709 bool ModuleLinker::linkAliasProto(GlobalAlias *SGA) { in linkAliasProto()
733 GlobalAlias *NewDA = new GlobalAlias(TypeMap.get(SGA->getType()), in linkAliasProto()
830 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.cpp243 llvm::GlobalAlias *ClassPtrAlias;
248 llvm::GlobalAlias *MetaClassPtrAlias;
267 typedef std::pair<std::string, llvm::GlobalAlias*> TypedSelector;
817 llvm::GlobalAlias *SelValue = 0; in GetSelector()
828 SelValue = new llvm::GlobalAlias(SelectorTy, in GetSelector()
1020 MetaClassPtrAlias = new llvm::GlobalAlias(IdTy, in GenerateMessageSendSuper()
1027 ClassPtrAlias = new llvm::GlobalAlias(IdTy, in GenerateMessageSendSuper()
2084 std::vector<llvm::GlobalAlias*> SelectorAliases; in ModuleInitFunction()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp232 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(&GV)) { in TypeCharForSymbol()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h140 std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits;
/external/llvm/tools/lto/
DLTOModule.cpp438 if (isa<GlobalAlias>(decl)) in addPotentialUndefinedSymbol()
661 static bool isAliasToDeclaration(const GlobalAlias &V) { in isAliasToDeclaration()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp232 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in getGlobalAddressWrapper()
271 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) in LowerGlobalTLSAddress()
/external/llvm/lib/ExecutionEngine/JIT/
DJITEmitter.cpp705 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in getPointerToGlobal()

12