/external/llvm/include/llvm/IR/ |
GlobalVariable.h | 1 //===-- llvm/GlobalVariable.h - GlobalVariable class ------------*- C++ -*-===// 10 // This file contains the declaration of the GlobalVariable class, which 35 class GlobalVariable : public GlobalObject, public ilist_node<GlobalVariable> { 36 friend class SymbolTableListTraits<GlobalVariable, Module>; 38 void operator=(const GlobalVariable &) LLVM_DELETED_FUNCTION; 39 GlobalVariable(const GlobalVariable &) LLVM_DELETED_FUNCTION; 55 /// GlobalVariable ctor - If a parent module is specified, the global i [all...] |
AutoUpgrade.h | 25 class GlobalVariable; 47 bool UpgradeGlobalVariable(GlobalVariable *GV);
|
Module.h | 23 #include "llvm/IR/GlobalVariable.h" 56 template<> struct ilist_traits<GlobalVariable> 57 : public SymbolTableListTraits<GlobalVariable, Module> { 59 GlobalVariable *createSentinel() const { 60 return static_cast<GlobalVariable*>(&Sentinel); 62 static void destroySentinel(GlobalVariable*) {} 64 GlobalVariable *provideInitialHead() const { return createSentinel(); } 65 GlobalVariable *ensureHead(GlobalVariable*) const { return createSentinel(); } 66 static void noteHead(GlobalVariable*, GlobalVariable*) { [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
CtorUtils.h | 21 class GlobalVariable;
|
ModuleUtils.h | 22 class GlobalVariable; 36 GlobalVariable *collectUsedGlobalVariables(Module &M,
|
/external/clang/lib/CodeGen/ |
SanitizerBlacklist.h | 23 class GlobalVariable; 39 bool isIn(const llvm::GlobalVariable &G,
|
CGVTables.h | 23 #include "llvm/IR/GlobalVariable.h" 94 llvm::GlobalVariable * 97 llvm::GlobalVariable::LinkageTypes Linkage, 102 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD); 105 void EmitVTTDefinition(llvm::GlobalVariable *VTT, 106 llvm::GlobalVariable::LinkageTypes Linkage,
|
/external/llvm/unittests/IR/ |
ValueTest.cpp | 52 GlobalVariable *Dummy0 53 = new GlobalVariable(*M, 60 GlobalVariable::NotThreadLocal, 70 GlobalVariable *DummyCast0 71 = new GlobalVariable(*M, 78 GlobalVariable::NotThreadLocal,
|
/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 49 bool hasKnownAlignment(GlobalVariable *GV) const; 53 unsigned getAlignment(GlobalVariable *GV) const; 68 static void FindUsedValues(GlobalVariable *LLVMUsed, 81 static bool IsBetterCanonical(const GlobalVariable &A, 82 const GlobalVariable &B) { 92 bool ConstantMerge::hasKnownAlignment(GlobalVariable *GV) const { 96 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { 117 DenseMap<PointerIntPair<Constant*, 1, bool>, GlobalVariable*> CMap; 120 SmallVector<std::pair<GlobalVariable*, GlobalVariable*>, 32> Replacements [all...] |
/external/llvm/lib/IR/ |
IntrinsicInst.cpp | 26 #include "llvm/IR/GlobalVariable.h" 44 } else if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) { 49 return dyn_cast<GlobalVariable>(C);
|
Globals.cpp | 1 //===-- Globals.cpp - Implement the GlobalValue & GlobalVariable class ----===// 10 // This file implements the GlobalValue & GlobalVariable classes for the IR 20 #include "llvm/IR/GlobalVariable.h" 115 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(this)) 128 // GlobalVariable Implementation 131 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, 136 OperandTraits<GlobalVariable>::op_begin(this), 143 "Initializer should be the same type as the GlobalVariable!"); [all...] |
Module.cpp | 41 template class llvm::SymbolTableListTraits<GlobalVariable, Module>; 104 Function *New = Function::Create(Ty, GlobalVariable::ExternalLinkage, Name); 185 GlobalVariable *Module::getGlobalVariable(StringRef Name, bool AllowLocal) { 186 if (GlobalVariable *Result = 187 dyn_cast_or_null<GlobalVariable>(getNamedValue(Name))) 201 GlobalVariable *GV = dyn_cast_or_null<GlobalVariable>(getNamedValue(Name)); 204 GlobalVariable *New = 205 new GlobalVariable(*this, Ty, false, GlobalVariable::ExternalLinkage [all...] |
/external/llvm/lib/CodeGen/ |
GlobalMerge.cpp | 62 #include "llvm/IR/GlobalVariable.h" 97 bool doMerge(SmallVectorImpl<GlobalVariable*> &Globals, 103 bool isMustKeepGlobalVariable(const GlobalVariable *GV) const { 114 /// Keep track of the GlobalVariable that must not be merged away 115 SmallPtrSet<const GlobalVariable *, 16> MustKeepGlobalVariables; 143 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, 155 [DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { 180 GlobalVariable *TheFirstExternal = 0; 208 GlobalVariable *MergedGV = new GlobalVariable [all...] |
/external/llvm/unittests/ExecutionEngine/ |
ExecutionEngineTest.cpp | 12 #include "llvm/IR/GlobalVariable.h" 33 GlobalVariable *NewExtGlobal(Type *T, const Twine &Name) { 34 return new GlobalVariable(*M, T, false, // Not constant. 44 GlobalVariable *G1 = 57 GlobalVariable *G2 = 70 GlobalVariable *G1 = 81 GlobalVariable *G2 = 98 GlobalVariable *G1 = 109 GlobalVariable *G2 = 118 GlobalVariable *G1 [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCTargetObjectFile.cpp | 43 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV);
|
/external/llvm/lib/Target/X86/ |
X86TargetObjectFile.cpp | 85 const GlobalVariable *GVLHS = 86 dyn_cast<GlobalVariable>(SubLHS->getPointerOperand()); 87 const GlobalVariable *GVRHS = 88 dyn_cast<GlobalVariable>(SubRHS->getPointerOperand());
|
/external/llvm/lib/Transforms/Utils/ |
CtorUtils.cpp | 17 #include "llvm/IR/GlobalVariable.h" 29 void installGlobalCtors(GlobalVariable *GCL, 67 GlobalVariable *NGV = 68 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), 85 std::vector<Function*> parseGlobalCtors(GlobalVariable *GV) { 100 GlobalVariable *findGlobalCtors(Module &M) { 101 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); 139 GlobalVariable *GlobalCtors = findGlobalCtors(M);
|
ModuleUtils.cpp | 32 if (GlobalVariable *GVCtor = M.getNamedGlobal(Array)) { 68 (void)new GlobalVariable(M, NewInit->getType(), false, 80 GlobalVariable * 84 GlobalVariable *GV = M.getGlobalVariable(Name);
|
CloneModule.cpp | 47 GlobalVariable *GV = new GlobalVariable(*New, 51 (GlobalVariable*) nullptr, 84 GlobalVariable *GV = cast<GlobalVariable>(VMap[I]);
|
/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 25 class GlobalVariable; 61 GlobalVariable *ExtractTypeInfo(Value *V);
|
/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 19 #include "llvm/IR/GlobalVariable.h" 49 bool lowerGlobal(GlobalVariable *GV); 160 static bool rewriteNonInstructionUses(GlobalVariable *GV, Pass *P) { 179 bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { 196 GlobalVariable *NewGV = 197 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), 199 GlobalVariable::NotThreadLocal, 228 SmallVector<GlobalVariable *, 16> ThreadLocalGlobals; 231 GlobalVariable *GV = GVI;
|
/external/lldb/include/lldb/Expression/ |
IRForTarget.h | 30 class GlobalVariable; 329 RewriteObjCConstString (llvm::GlobalVariable *NSStr, 330 llvm::GlobalVariable *CStr); 442 MaterializeInternalVariable (llvm::GlobalVariable *global_variable); 657 llvm::GlobalVariable *m_reloc_placeholder; ///< A placeholder that will be replaced by a pointer to the final location of the static allocation.
|
/external/llvm/lib/Target/ |
TargetMachine.cpp | 19 #include "llvm/IR/GlobalVariable.h" 93 case GlobalVariable::NotThreadLocal: 96 case GlobalVariable::GeneralDynamicTLSModel: 98 case GlobalVariable::LocalDynamicTLSModel: 100 case GlobalVariable::InitialExecTLSModel: 102 case GlobalVariable::LocalExecTLSModel:
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXGenericToNVVM.cpp | 48 Value *getOrInsertCVTA(Module *M, Function *F, GlobalVariable *GV, 60 typedef ValueMap<GlobalVariable *, GlobalVariable *> GVMapTy; 84 GlobalVariable *GV = I++; 88 GlobalVariable *NewGV = new GlobalVariable( 141 GlobalVariable *GV = I->first; 142 GlobalVariable *NewGV = I->second; 162 GlobalVariable *GV, 214 if (isa<GlobalVariable>(C)) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
ARMException.cpp | 111 const std::vector<const GlobalVariable *> &TypeInfos = MMI->getTypeInfos(); 124 for (std::vector<const GlobalVariable *>::const_reverse_iterator 126 const GlobalVariable *GV = *I;
|