/external/llvm/lib/Target/CellSPU/ |
SPUSubtarget.h | 25 class GlobalValue;
|
/external/llvm/lib/Transforms/IPO/ |
GlobalDCE.cpp | 44 SmallPtrSet<GlobalValue*, 32> AliveGlobals; 48 void GlobalIsNeeded(GlobalValue *GV); 51 bool RemoveUnusedGlobalValue(GlobalValue &GV); 160 void GlobalDCE::GlobalIsNeeded(GlobalValue *G) { 183 if (GlobalValue *GV = dyn_cast<GlobalValue>(*U)) 191 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) 202 // GlobalValue, looking for the constant pointer ref that may be pointing to it. 207 bool GlobalDCE::RemoveUnusedGlobalValue(GlobalValue &GV) [all...] |
ConstantMerge.cpp | 67 SmallPtrSet<const GlobalValue*, 8> &UsedValues) { 73 if (GlobalValue *GV = 74 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts())) 104 SmallPtrSet<const GlobalValue*, 8> UsedGlobals;
|
Internalize.cpp | 138 I->setLinkage(GlobalValue::InternalLinkage); 170 I->setLinkage(GlobalValue::InternalLinkage); 183 I->setLinkage(GlobalValue::InternalLinkage);
|
/external/clang/lib/CodeGen/ |
TargetInfo.h | 23 class GlobalValue; 54 virtual void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
|
CodeGenModule.h | 37 class GlobalValue; 243 llvm::SmallPtrSet<llvm::GlobalValue*, 10> WeakRefReferences; 471 /// GlobalValue. 472 void setGlobalVisibility(llvm::GlobalValue *GV, const NamedDecl *D) const; 486 void setTypeVisibility(llvm::GlobalValue *GV, const CXXRecordDecl *D, 489 static llvm::GlobalValue::VisibilityTypes GetLLVMVisibility(Visibility V) { 491 case DefaultVisibility: return llvm::GlobalValue::DefaultVisibility; 492 case HiddenVisibility: return llvm::GlobalValue::HiddenVisibility; 493 case ProtectedVisibility: return llvm::GlobalValue::ProtectedVisibility; 517 llvm::GlobalValue::LinkageTypes Linkage) [all...] |
CodeGenModule.cpp | 234 void CodeGenModule::setGlobalVisibility(llvm::GlobalValue *GV, 238 GV->setVisibility(llvm::GlobalValue::DefaultVisibility); 250 void CodeGenModule::setTypeVisibility(llvm::GlobalValue *GV, 311 GV->setVisibility(llvm::GlobalValue::HiddenVisibility); 367 llvm::GlobalValue *CodeGenModule::GetGlobalValue(StringRef Name) { 407 llvm::GlobalValue::AppendingLinkage, 413 llvm::GlobalValue::LinkageTypes 467 llvm::GlobalValue *GV) { 549 llvm::GlobalValue *GV) { 553 GV->setVisibility(llvm::GlobalValue::DefaultVisibility) [all...] |
/external/llvm/include/llvm/ExecutionEngine/ |
JITMemoryManager.h | 19 class GlobalValue; 103 virtual uint8_t *allocateStub(const GlobalValue* F, unsigned StubSize,
|
/external/llvm/lib/Target/PowerPC/ |
PPCSubtarget.h | 48 class GlobalValue; 131 bool hasLazyResolverStub(const GlobalValue *GV,
|
/external/llvm/unittests/Bitcode/ |
BitReaderTest.cpp | 30 Function* Func = Function::Create(FuncTy,GlobalValue::ExternalLinkage, 41 GlobalValue::ExternalLinkage,
|
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 52 std::map<const GlobalValue*, unsigned> GlobalInfo; 57 unsigned getInfoForGlobal(const GlobalValue *GV) const { 59 std::map<const GlobalValue*, unsigned>::const_iterator I = 77 std::set<const GlobalValue*> NonAddressTakenGlobals; 81 std::set<const GlobalValue*> IndirectGlobals; 85 std::map<const Value*, const GlobalValue*> AllocsForIndirectGlobals; 183 GlobalValue *OkayStoreDest = 0); 184 bool AnalyzeIndirectGlobalMemory(GlobalValue *GV); 200 /// GlobalValue's in the program. If none of them have their "address taken" 248 GlobalValue *OkayStoreDest) [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 128 case GlobalValue::AppendingLinkage: 130 case GlobalValue::LinkOnceAnyLinkage: 131 case GlobalValue::LinkOnceODRLinkage: 132 case GlobalValue::WeakAnyLinkage: 133 case GlobalValue::WeakODRLinkage: 134 case GlobalValue::ExternalLinkage: 142 case GlobalValue::InternalLinkage: 143 case GlobalValue::PrivateLinkage: 145 case GlobalValue::DLLImportLinkage: 147 case GlobalValue::DLLExportLinkage [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | 395 bool getLinkageResult(GlobalValue *Dest, const GlobalValue *Src, 396 GlobalValue::LinkageTypes <, 397 GlobalValue::VisibilityTypes &Vis, 402 GlobalValue *getLinkedToGlobal(GlobalValue *SrcGV) { 409 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); 447 static void forceRenaming(GlobalValue *GV, StringRef Name) { 456 if (GlobalValue *ConflictGV = M->getNamedValue(Name)) { 466 /// a GlobalValue) from the SrcGV to the DestGV [all...] |
/external/llvm/include/llvm/ |
GlobalValue.h | 1 //===-- llvm/GlobalValue.h - Class to represent a global value --*- C++ -*-===// 28 class GlobalValue : public Constant { 29 GlobalValue(const GlobalValue &); // do not implement 60 GlobalValue(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps, 76 ~GlobalValue() { 229 /// create a GlobalValue) from the GlobalValue Src to this one. 230 virtual void copyAttributesFrom(const GlobalValue *Src); 248 /// Materialize - make sure this GlobalValue is fully read. If the module i [all...] |
GlobalVariable.h | 23 #include "llvm/GlobalValue.h" 35 class GlobalVariable : public GlobalValue, public ilist_node<GlobalVariable> { 143 void copyAttributesFrom(const GlobalValue *Src);
|
/external/llvm/tools/lto/ |
LTOCodeGenerator.cpp | 249 applyRestriction(GlobalValue &GV, 251 SmallPtrSet<GlobalValue*, 8> &asmUsed, 265 SmallPtrSet<GlobalValue*, 8> &UsedValues) { 272 if (GlobalValue *GV = 273 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts())) 289 SmallPtrSet<GlobalValue*, 8> asmUsed; 309 for (SmallPtrSet<GlobalValue*, 16>::const_iterator i = asmUsed.begin(), 311 GlobalValue *GV = *i; 319 llvm::GlobalValue::AppendingLinkage,
|
/external/llvm/include/llvm/CodeGen/ |
AsmPrinter.h | 28 class GlobalValue; 224 void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const; 297 MCSymbol *GetSymbolWithGlobalValueBase(const GlobalValue *GV, 383 void EmitReference(const GlobalValue *GV, unsigned Encoding) const;
|
MachineRelocation.h | 21 class GlobalValue; 32 /// 3. A symbol being referenced, either as a GlobalValue* or as a string. 59 GlobalValue *GV; // If this is a pointer to a GV or an indirect ref. 80 /// MachineRelocation::getGV - Return a relocation entry for a GlobalValue. 83 GlobalValue *GV, intptr_t cst = 0, 103 GlobalValue *GV, intptr_t cst = 0, 220 /// isGlobalValue - Return true if this relocation is a GlobalValue, as 264 /// the relocated GlobalValue reference. For example, the x86-64 call 280 GlobalValue *getGlobalValue() const {
|
/external/llvm/lib/Target/X86/ |
X86JITInfo.h | 43 virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
|
/external/llvm/tools/llvm-extract/ |
llvm-extract.cpp | 98 SetVector<GlobalValue *> GVs; 102 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); 136 GlobalValue *GV = M->getFunction(ExtractFuncs[i]); 171 GlobalValue *GV = GVs[i]; 182 SmallPtrSet<GlobalValue *, 8> GVSet(GVs.begin(), GVs.end()); 211 std::vector<GlobalValue*> Gvs(GVs.begin(), GVs.end());
|
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 127 std::vector<std::pair<ValID, GlobalValue*> > &Refs, 573 if (Linkage != GlobalValue::ExternalLinkage && 574 Linkage != GlobalValue::WeakAnyLinkage && 575 Linkage != GlobalValue::WeakODRLinkage && 576 Linkage != GlobalValue::InternalLinkage && 577 Linkage != GlobalValue::PrivateLinkage && 578 Linkage != GlobalValue::LinkerPrivateLinkage && 579 Linkage != GlobalValue::LinkerPrivateWeakLinkage && 580 Linkage != GlobalValue::LinkerPrivateWeakDefAutoLinkage) 602 (GlobalValue::LinkageTypes)Linkage, Name [all...] |
LLParser.h | 35 class GlobalValue; 118 std::map<std::string, std::pair<GlobalValue*, LocTy> > ForwardRefVals; 119 std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs; 120 std::vector<GlobalValue*> NumberedVals; 124 std::map<ValID, std::vector<std::pair<ValID, GlobalValue*> > > 147 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 148 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 377 std::vector<std::pair<ValID, GlobalValue*> > &Refs,
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 101 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, 117 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, 245 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, 259 TargetLoweringObjectFile::SelectSectionForGlobal(const GlobalValue *GV, 292 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.h | 25 class GlobalValue; 134 static ARMConstantPoolConstant *Create(const GlobalValue *GV, 145 const GlobalValue *getGV() const;
|
ARMSubtarget.h | 27 class GlobalValue; 272 bool GVIsIndirectSymbol(const GlobalValue *GV, Reloc::Model RelocM) const;
|