/external/llvm/include/llvm/ |
Module.h | 446 /// isMaterializable - True if the definition of GV has yet to be materialized 448 bool isMaterializable(const GlobalValue *GV) const; 449 /// isDematerializable - Returns true if this GV was loaded from this Module's 450 /// GVMaterializer and the GVMaterializer knows how to dematerialize the GV. 451 bool isDematerializable(const GlobalValue *GV) const; 456 bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 460 void Dematerialize(GlobalValue *GV);
|
/external/llvm/lib/Target/ARM/ |
ARMAsmPrinter.h | 120 MCSymbol *GetARMGVSymbol(const GlobalValue *GV);
|
ARMJITInfo.h | 61 virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
|
ARMConstantPoolValue.cpp | 81 // Two PC relative constpool entries containing the same GV address or 133 ARMConstantPoolConstant::Create(const GlobalValue *GV, 135 return new ARMConstantPoolConstant((Type*)Type::getInt32Ty(GV->getContext()), 136 GV, 0, ARMCP::CPValue, 0,
|
ARMSubtarget.h | 270 /// GVIsIndirectSymbol - true if the GV will be accessed via an indirect 272 bool GVIsIndirectSymbol(const GlobalValue *GV, Reloc::Model RelocM) const;
|
ARMAsmPrinter.cpp | 301 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts()); 302 assert(GV && "C++ constructor pointer was not a GlobalValue!"); 304 const MCExpr *E = MCSymbolRefExpr::Create(Mang->getSymbol(GV), 353 const GlobalValue *GV = MO.getGlobal(); 360 O << *Mang->getSymbol(GV); 849 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV) { 851 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); 853 return Mang->getSymbol(GV); 856 MCSymbol *MCSym = GetSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); 860 GV->hasHiddenVisibility() ? MMIMachO.getHiddenGVStubEntry(MCSym) [all...] |
ARMJITInfo.cpp | 142 void *ARMJITInfo::emitGlobalValueIndirectSym(const GlobalValue *GV, void *Ptr, 148 GV, Buffer, sizeof(Buffer), /*Alignment=*/4); 175 << "] for GV '" << F->getName() << "'\n";
|
/external/clang/lib/CodeGen/ |
CGVTT.cpp | 116 llvm::GlobalVariable *GV = 119 GV->setUnnamedAddr(true); 120 return GV;
|
CGObjCMac.cpp | [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 359 static unsigned getEncodedLinkage(const GlobalValue *GV) { 360 switch (GV->getLinkage()) { 381 static unsigned getEncodedVisibility(const GlobalValue *GV) { 382 switch (GV->getVisibility()) { 415 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 416 GV != E; ++GV) { 417 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 418 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 419 if (GV->hasSection()) [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 399 static unsigned getEncodedLinkage(const GlobalValue *GV) { 400 switch (GV->getLinkage()) { 421 static unsigned getEncodedVisibility(const GlobalValue *GV) { 422 switch (GV->getVisibility()) { 455 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 456 GV != E; ++GV) { 457 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 458 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 460 if (!GV->hasSection()) continue [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 352 static unsigned getEncodedLinkage(const GlobalValue *GV) { 353 switch (GV->getLinkage()) { 374 static unsigned getEncodedVisibility(const GlobalValue *GV) { 375 switch (GV->getVisibility()) { 408 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 409 GV != E; ++GV) { 410 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 411 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 412 if (GV->hasSection()) [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineOperand.h | 161 const GlobalValue *GV; // For MO_GlobalAddress. 417 return Contents.OffsetedInfo.Val.GV; 588 static MachineOperand CreateGA(const GlobalValue *GV, int64_t Offset, 591 Op.Contents.OffsetedInfo.Val.GV = GV;
|
/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/Target/X86/ |
X86FastISel.cpp | 174 /// The address is either pre-computed, i.e. Ptr, or a GlobalAddress, i.e. GV. 447 (!AM.GV || !Subtarget->isPICStyleRIPRel()) && 482 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) { 488 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) 494 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) 506 AM.GV = GV; 509 unsigned char GVFlags = Subtarget->ClassifyGlobalReference(GV, TM); 542 StubAM.GV = GV; [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | [all...] |
/external/llvm/lib/Target/ |
TargetData.cpp | 637 unsigned TargetData::getPreferredAlignment(const GlobalVariable *GV) const { 638 Type *ElemType = GV->getType()->getElementType(); 640 unsigned GVAlignment = GV->getAlignment(); 647 if (GV->hasInitializer() && GVAlignment == 0) { 661 unsigned TargetData::getPreferredAlignmentLog(const GlobalVariable *GV) const { 662 return Log2_32(getPreferredAlignment(GV));
|
/external/llvm/lib/VMCore/ |
Value.cpp | 149 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { 150 if (Module *P = GV->getParent()) 403 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) 404 return !GV->hasExternalWeakLinkage();
|
ConstantFold.cpp | [all...] |
Core.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 733 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { 736 if (GV->isDeclaration()) return Align; 740 if (GV->isWeakForLinker()) return Align; 742 if (GV->getAlignment() >= PrefAlign) 743 return GV->getAlignment(); 748 if (!GV->hasSection() || GV->getAlignment() == 0) 749 GV->setAlignment(PrefAlign); 750 return GV->getAlignment(); [all...] |
/external/llvm/lib/Analysis/ |
DbgInfoPrinter.cpp | 64 NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.gv"); 125 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(const_cast<Value*>(V))) { 126 Value *DIGV = findDbgGlobalDeclare(GV);
|
/external/llvm/lib/Target/PowerPC/ |
PPCMCInstLower.cpp | 40 const GlobalValue *GV = MO.getGlobal(); 46 AP.Mang->getNameWithPrefix(Name, GV, isImplicitlyPrivate);
|
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 612 GlobalVariable *GV = M->getGlobalVariable("__llvm_gcov_global_state_pred"); 613 if (!GV) { 614 GV = new GlobalVariable(*M, Type::getInt32Ty(*Ctx), false, 619 GV->setUnnamedAddr(true); 621 return GV; 656 GlobalVariable *GV = I->first; 658 cast<ArrayType>(GV->getType()->getElementType())->getNumElements(); 661 Builder.CreateConstGEP2_64(GV, 0, 0));
|
/external/llvm/lib/Target/PTX/ |
PTXISelLowering.cpp | 189 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal(); 193 SDValue targetGlobal = DAG.getTargetGlobalAddress(GV, dl, PtrVT); 402 const GlobalValue *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal(); 403 const Function *function = cast<Function>(GV); 420 Callee = DAG.getTargetGlobalAddress(GV, dl, getPointerTy());
|