/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 218 /// specified GV address. 396 void startGVStub(const GlobalValue* GV, 400 virtual void *allocIndirectGV(const GlobalValue *GV, 467 void *getPointerToGlobal(GlobalValue *GV, void *Reference, 581 /// GV address. 582 void *JITResolver::getGlobalValueIndirectSym(GlobalValue *GV, void *GVAddress) { 586 void *&IndirectSym = state.getGlobalToIndirectSymMap(locked)[GV]; 590 IndirectSym = TheJIT->getJITInfo().emitGlobalValueIndirectSym(GV, GVAddress, 594 << "] for GV '" << GV->getName() << "'\n") [all...] |
JIT.h | 154 void *getOrEmitGlobalVariable(const GlobalVariable *GV); 220 virtual char* getMemoryForGV(const GlobalVariable* GV);
|
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 190 llvm::GlobalVariable *GV = 196 GV->setAlignment(getContext().getDeclAlign(&D).getQuantity()); 198 GV->setVisibility(CurFn->getVisibility()); 201 CGM.setTLSMode(GV, D); 203 return GV; 216 /// has a different type than GV does, this may free GV and return a different 217 /// one. Otherwise it just returns GV. 220 llvm::GlobalVariable *GV) { 231 GV->setConstant(false) [all...] |
CGVTT.cpp | 116 llvm::GlobalVariable *GV = 119 GV->setUnnamedAddr(true); 120 return GV;
|
CGObjCMac.cpp | [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 393 static unsigned getEncodedLinkage(const GlobalValue *GV) { 394 switch (GV->getLinkage()) { 415 static unsigned getEncodedVisibility(const GlobalValue *GV) { 416 switch (GV->getVisibility()) { 424 static unsigned getEncodedThreadLocalMode(const GlobalVariable *GV) { 425 switch (GV->getThreadLocalMode()) { 456 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 457 GV != E; ++GV) { 458 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()) [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 349 static unsigned getEncodedLinkage(const GlobalValue *GV) { 350 switch (GV->getLinkage()) { 371 static unsigned getEncodedVisibility(const GlobalValue *GV) { 372 switch (GV->getVisibility()) { 380 static unsigned getEncodedThreadLocalMode(const GlobalVariable *GV) { 381 switch (GV->getThreadLocalMode()) { 413 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 414 GV != E; ++GV) { 415 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()) [all...] |
/external/llvm/include/llvm/IR/ |
Module.h | 443 /// isMaterializable - True if the definition of GV has yet to be materialized 445 bool isMaterializable(const GlobalValue *GV) const; 446 /// isDematerializable - Returns true if this GV was loaded from this Module's 447 /// GVMaterializer and the GVMaterializer knows how to dematerialize the GV. 448 bool isDematerializable(const GlobalValue *GV) const; 453 bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 457 void Dematerialize(GlobalValue *GV);
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 219 virtual bool isMaterializable(const GlobalValue *GV) const; 220 virtual bool isDematerializable(const GlobalValue *GV) const; 221 virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 223 virtual void Dematerialize(GlobalValue *GV);
|
/external/llvm/lib/Target/ARM/ |
ARMAsmPrinter.h | 122 MCSymbol *GetARMGVSymbol(const GlobalValue *GV);
|
ARMJITInfo.h | 61 virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
|
ARMAsmPrinter.cpp | 312 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts()); 313 assert(GV && "C++ constructor pointer was not a GlobalValue!"); 315 const MCExpr *E = MCSymbolRefExpr::Create(Mang->getSymbol(GV), 369 const GlobalValue *GV = MO.getGlobal(); 376 O << *Mang->getSymbol(GV); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXTargetObjectFile.h | 95 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
|
/external/llvm/lib/Target/PowerPC/ |
PPCSubtarget.h | 149 bool hasLazyResolverStub(const GlobalValue *GV,
|
PPCAsmPrinter.cpp | 203 const GlobalValue *GV = MO.getGlobal(); 208 (GV->isDeclaration() || GV->isWeakForLinker())) { 209 if (!GV->hasHiddenVisibility()) { 210 SymToPrint = GetSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); 216 StubValueTy(Mang->getSymbol(GV), !GV->hasInternalLinkage()); 217 } else if (GV->isDeclaration() || GV->hasCommonLinkage() || 218 GV->hasAvailableExternallyLinkage()) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonAsmPrinter.cpp | 65 const GlobalValue *GV) const { 67 if (!GV) { 72 AsmPrinter::EmitAlignment(NumBits, GV);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARC.h | 366 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Pointer)) { 369 if (GV->isConstant()) 371 StringRef Name = GV->getName();
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 33 GV = new GlobalVariable(*M, Type::getFloatTy(getGlobalContext()), true, 45 GlobalVariable *GV; 126 F = Builder.CreateLoad(GV);
|
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 386 static unsigned getEncodedLinkage(const GlobalValue *GV) { 387 switch (GV->getLinkage()) { 408 static unsigned getEncodedVisibility(const GlobalValue *GV) { 409 switch (GV->getVisibility()) { 439 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 440 GV != E; ++GV) { 441 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 442 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 444 if (!GV->hasSection()) continue [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 340 static unsigned getEncodedLinkage(const GlobalValue *GV) { 341 switch (GV->getLinkage()) { 362 static unsigned getEncodedVisibility(const GlobalValue *GV) { 363 switch (GV->getVisibility()) { 393 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 394 GV != E; ++GV) { 395 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 396 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 398 if (!GV->hasSection()) continue [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineOperand.h | 172 const GlobalValue *GV; // For MO_GlobalAddress. 430 return Contents.OffsetedInfo.Val.GV; 618 static MachineOperand CreateGA(const GlobalValue *GV, int64_t Offset, 621 Op.Contents.OffsetedInfo.Val.GV = GV;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | 226 void TrackValueOfGlobalVariable(GlobalVariable *GV) { 228 if (GV->getType()->getElementType()->isSingleValueType()) { 229 LatticeVal &IV = TrackedGlobals[GV]; 230 if (!isa<UndefValue>(GV->getInitializer())) 231 IV.markConstant(GV->getInitializer()); [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 685 GlobalVariable *GV = M->getGlobalVariable("__llvm_gcov_global_state_pred"); 686 if (!GV) { 687 GV = new GlobalVariable(*M, Type::getInt32Ty(*Ctx), false, 692 GV->setUnnamedAddr(true); 694 return GV; 734 GlobalVariable *GV = CountersBySP[j].first; 736 cast<ArrayType>(GV->getType()->getElementType())->getNumElements(); 739 Builder.CreateConstGEP2_64(GV, 0, 0)); 827 GlobalVariable *GV = I->first; 828 Constant *Null = Constant::getNullValue(GV->getType()->getElementType()) [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 178 /// The address is either pre-computed, i.e. Ptr, or a GlobalAddress, i.e. GV. 450 (!AM.GV || !Subtarget->isPICStyleRIPRel()) && 485 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) { 491 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) 497 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) 509 AM.GV = GV; 512 unsigned char GVFlags = Subtarget->ClassifyGlobalReference(GV, TM); 545 StubAM.GV = GV; [all...] |