Searched refs:GlobalAlias (Results 1 - 25 of 51) sorted by relevance

123

/external/llvm/include/llvm/IR/
H A DGlobalAlias.h1 //===-------- llvm/GlobalAlias.h - GlobalAlias class ------------*- C++ -*-===//
10 // This file contains the declaration of the GlobalAlias class, which
29 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> { class in namespace:llvm
30 friend class SymbolTableListTraits<GlobalAlias, Module>;
31 void operator=(const GlobalAlias &) LLVM_DELETED_FUNCTION;
32 GlobalAlias(const GlobalAlias &) LLVM_DELETED_FUNCTION;
36 GlobalAlias(Typ
[all...]
H A DModule.h22 #include "llvm/IR/GlobalAlias.h"
71 template<> struct ilist_traits<GlobalAlias>
72 : public SymbolTableListTraits<GlobalAlias, Module> {
74 GlobalAlias *createSentinel() const {
75 return static_cast<GlobalAlias*>(&Sentinel);
77 static void destroySentinel(GlobalAlias*) {}
79 GlobalAlias *provideInitialHead() const { return createSentinel(); }
80 GlobalAlias *ensureHead(GlobalAlias*) const { return createSentinel(); }
81 static void noteHead(GlobalAlias*, GlobalAlia
[all...]
H A DValueSymbolTable.h41 friend class SymbolTableListTraits<GlobalAlias, Module>;
H A DValue.h33 class GlobalAlias;
311 GlobalAliasVal, // This is an instance of GlobalAlias
522 template <> struct isa_impl<GlobalAlias, Value> {
530 return isa<GlobalObject>(Val) || isa<GlobalAlias>(Val);
/external/llvm/lib/IR/
H A DGlobals.cpp19 #include "llvm/IR/GlobalAlias.h"
63 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
92 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
102 if (auto *GA = dyn_cast<GlobalAlias>(this)) {
123 assert(isa<GlobalAlias>(this));
237 // GlobalAlias Implementation
240 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, function in class:GlobalAlias
252 GlobalAlias *GlobalAlias
[all...]
H A DAsmWriter.h106 void printAlias(const GlobalAlias *GV);
H A DModule.cpp42 template class llvm::SymbolTableListTraits<GlobalAlias, Module>;
228 GlobalAlias *Module::getNamedAlias(StringRef Name) const {
229 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name));
446 for (GlobalAlias &GA : aliases())
H A DValue.cpp408 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
459 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
H A DVerifier.cpp258 void visitGlobalAlias(const GlobalAlias &GA);
259 void visitAliaseeSubExpr(const GlobalAlias &A, const Constant &C);
260 void visitAliaseeSubExpr(SmallPtrSet<const GlobalAlias *, 4> &Visited,
261 const GlobalAlias &A, const Constant &C);
454 isa<GlobalVariable>(V) || isa<Function>(V) || isa<GlobalAlias>(V),
497 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) {
498 SmallPtrSet<const GlobalAlias*, 4> Visited;
503 void Verifier::visitAliaseeSubExpr(SmallPtrSet<const GlobalAlias *, 4> &Visited,
504 const GlobalAlias &GA, const Constant &C) {
508 if (const auto *GA2 = dyn_cast<GlobalAlias>(G
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp72 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(),
109 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]);
/external/llvm/lib/CodeGen/
H A DJumpInstrTables.cpp114 // GlobalAlias doesn't support replaceUsesOfWithOnConstant. And the verifier
115 // requires alias to point to a defined function. So, GlobalAlias is handled
117 if (!isa<GlobalAlias>(C))
276 // GlobalAlias is a special case, because the target of an alias statement
282 DenseMap<GlobalAlias *, Function *> Aliases;
283 for (GlobalAlias &GA : M.aliases()) {
H A DGlobalMerge.cpp229 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(),
/external/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp157 std::vector<GlobalAlias*> DeadAliases;
214 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) {
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp500 else if (isa<GlobalAlias>(Arg) &&
501 !cast<GlobalAlias>(Arg)->mayBeOverridden())
502 Arg = cast<GlobalAlias>(Arg)->getAliasee();
/external/clang/lib/CodeGen/
H A DCGCXX.cpp123 if (!llvm::GlobalAlias::isValidLinkage(Linkage))
179 auto *Alias = llvm::GlobalAlias::create(AliasType->getElementType(), 0,
H A DCodeGenModule.cpp205 if (auto *Alias = dyn_cast<llvm::GlobalAlias>(Replacement)) {
227 static const llvm::GlobalObject *getAliasedGlobal(const llvm::GlobalAlias &GA) {
228 llvm::SmallPtrSet<const llvm::GlobalAlias*, 4> Visited;
235 auto *GA2 = dyn_cast<llvm::GlobalAlias>(C);
257 auto *Alias = cast<llvm::GlobalAlias>(Entry);
286 if (auto GA = dyn_cast<llvm::GlobalAlias>(AliaseeGV)) {
304 auto *Alias = cast<llvm::GlobalAlias>(Entry);
2367 auto *GA = llvm::GlobalAlias::create(
3270 addUsedGlobal(llvm::GlobalAlias::create(Name->getName(), Val));
/external/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h202 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp426 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
546 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) {
660 isa<GlobalAlias>(V) ||
H A DValueTracking.cpp24 #include "llvm/IR/GlobalAlias.h"
298 // A weak GlobalAlias is totally unknown. A non-weak GlobalAlias has
300 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
1736 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(Ptr)) {
1905 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
H A DAliasAnalysis.cpp572 if (isa<GlobalValue>(V) && !isa<GlobalAlias>(V))
/external/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp117 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]);
/external/llvm/lib/Linker/
H A DLinkModules.cpp475 bool linkAliasProto(GlobalAlias *SrcA);
553 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) {
1058 bool ModuleLinker::linkAliasProto(GlobalAlias *SGA) {
1110 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(),
1214 GlobalAlias *DA = cast<GlobalAlias>(ValueMap[I]);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.h144 std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits;
/external/llvm/lib/Object/
H A DIRObjectFile.cpp175 Module::const_alias_iterator Iter(static_cast<const GlobalAlias*>(GV));
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp151 bool isIn(const GlobalAlias &GA, const StringRef Category) const {
245 bool isInstrumented(const GlobalAlias *GA);
446 bool DataFlowSanitizer::isInstrumented(const GlobalAlias *GA) {
601 GlobalAlias *GA = &*i;

Completed in 576 milliseconds

123