/external/llvm/lib/Target/MSP430/ |
MSP430ISelDAGToDAG.cpp | 47 const GlobalValue *GV; 55 : BaseType(RegBase), Disp(0), GV(0), CP(0), BlockAddr(0), 60 return GV != 0 || CP != 0 || ES != 0 || JT != -1; 72 if (GV) { 73 errs() << "GV "; 74 GV->dump(); 148 AM.GV = G->getGlobal(); 230 // Address could not have picked a GV address for the displacement. 231 AM.GV == NULL && 265 if (AM.GV) [all...] |
/external/llvm/lib/Analysis/ |
Loads.cpp | 100 } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(Base)) { 103 if (!isa<GlobalAlias>(GV) && !GV->mayBeOverridden()) { 104 BaseType = GV->getType()->getElementType(); 105 BaseAlign = GV->getAlignment();
|
ConstantFolding.cpp | 220 static bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, 223 if ((GV = dyn_cast<GlobalValue>(C))) { 235 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD); 246 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD)) 424 GlobalVariable *GV = dyn_cast<GlobalVariable>(GVal); 425 if (!GV || !GV->isConstant() || !GV->hasDefinitiveInitializer() || 426 !GV->getInitializer()->getType()->isSized()) 434 if (uint64_t(Offset) >= TD.getTypeAllocSize(GV->getInitializer()->getType()) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 73 static unsigned getGVAlignmentLog2(const GlobalValue *GV, const TargetData &TD, 76 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) 83 // If the GV has a specified alignment, take it into account. 84 if (GV->getAlignment() == 0) 87 unsigned GVAlign = Log2_32(GV->getAlignment()); 90 // NumBits because the GV has an assigned section, obey it. 91 if (GVAlign > NumBits || GV->hasSection()) 266 void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { 267 if (GV->hasInitializer()) { 269 if (EmitSpecialLLVMGlobal(GV)) [all...] |
AsmPrinterDwarf.cpp | 130 void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{ 134 TLOF.getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, OutStreamer);
|
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 150 void printVariableUses(const GlobalVariable *GV); 151 void printVariableHead(const GlobalVariable *GV); 152 void printVariableBody(const GlobalVariable *GV); 407 if (const GlobalVariable* GV = dyn_cast<GlobalVariable>(val)) { 409 getTypePrefix(GV->getType()->getElementType()); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonAsmPrinter.cpp | 65 const GlobalValue *GV) const { 67 if (!GV) { 72 AsmPrinter::EmitAlignment(NumBits, GV);
|
/external/llvm/lib/VMCore/ |
Verifier.cpp | 238 void visitGlobalValue(GlobalValue &GV); 239 void visitGlobalVariable(GlobalVariable &GV); 378 void Verifier::visitGlobalValue(GlobalValue &GV) { 379 Assert1(!GV.isDeclaration() || 380 GV.isMaterializable() || 381 GV.hasExternalLinkage() || 382 GV.hasDLLImportLinkage() || 383 GV.hasExternalWeakLinkage() || 384 (isa<GlobalAlias>(GV) && 385 (GV.hasLocalLinkage() || GV.hasWeakLinkage())) [all...] |
IRBuilder.cpp | 29 GlobalVariable *GV = new GlobalVariable(M, StrConstant->getType(), 32 GV->setName(Name); 33 GV->setUnnamedAddr(true); 34 return GV;
|
AsmWriter.cpp | 62 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) 63 return GV->getParent(); 395 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) 396 return new SlotTracker(GV->getParent()); [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUAsmPrinter.cpp | 276 const GlobalValue *GV = MO.getGlobal(); 277 if (((GV->isDeclaration() || GV->hasWeakLinkage() || 278 GV->hasLinkOnceLinkage() || GV->hasCommonLinkage()))) { 279 O << *GetSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 131 GenericValue GV = EE->runFunction(FibF, Args); 134 outs() << "Result: " << GV.IntVal << "\n";
|
/external/clang/lib/CodeGen/ |
CGRTTI.cpp | 128 llvm::GlobalVariable *GV = 131 GV->setInitializer(Init); 133 return GV; 145 llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name); 147 if (!GV) { 149 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, 154 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); 517 maybeUpdateRTTILinkage(CodeGenModule &CGM, llvm::GlobalVariable *GV, 520 if (!GV->hasAvailableExternallyLinkage()) 532 GV->setLinkage(Linkage) [all...] |
TargetInfo.h | 54 virtual void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
|
CodeGenModule.h | 472 void setGlobalVisibility(llvm::GlobalValue *GV, const NamedDecl *D) const; 486 void setTypeVisibility(llvm::GlobalValue *GV, const CXXRecordDecl *D, 678 void AddUsedGlobal(llvm::GlobalValue *GV); 831 llvm::GlobalVariable *GV); 854 llvm::Constant *EmitAnnotateAttr(llvm::GlobalValue *GV, 858 /// Add global annotations that are set on D, for the global GV. Those 860 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); [all...] |
CGDecl.cpp | 187 llvm::GlobalVariable *GV = 193 GV->setAlignment(getContext().getDeclAlign(&D).getQuantity()); 195 GV->setVisibility(CurFn->getVisibility()); 196 return GV; 209 /// has a different type than GV does, this may free GV and return a different 210 /// one. Otherwise it just returns GV. 213 llvm::GlobalVariable *GV) { 224 GV->setConstant(false); 226 EmitCXXGuardedInit(D, GV, /*PerformInit*/true) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 207 virtual bool isMaterializable(const GlobalValue *GV) const; 208 virtual bool isDematerializable(const GlobalValue *GV) const; 209 virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 211 virtual void Dematerialize(GlobalValue *GV);
|
/external/llvm/lib/Target/PowerPC/ |
PPCSubtarget.h | 131 bool hasLazyResolverStub(const GlobalValue *GV,
|
/external/llvm/tools/lto/ |
LTOCodeGenerator.h | 60 void applyRestriction(llvm::GlobalValue &GV,
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 205 virtual bool isMaterializable(const GlobalValue *GV) const; 206 virtual bool isDematerializable(const GlobalValue *GV) const; 207 virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 209 virtual void Dematerialize(GlobalValue *GV);
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.h | 198 virtual bool isMaterializable(const GlobalValue *GV) const; 199 virtual bool isDematerializable(const GlobalValue *GV) const; 200 virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0); 202 virtual void Dematerialize(GlobalValue *GV);
|
/external/llvm/lib/Target/Mips/ |
MipsCodeEmitter.cpp | 93 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, 122 void emitGlobalAddressUnaligned(const GlobalValue *GV, unsigned Reloc, 243 void MipsCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, 246 const_cast<GlobalValue *>(GV), 0, 250 void MipsCodeEmitter::emitGlobalAddressUnaligned(const GlobalValue *GV, 253 const_cast<GlobalValue *>(GV), 0, false)); 255 Reloc, const_cast<GlobalValue *>(GV), 0, false));
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 213 /// 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/llvm/include/llvm/Target/ |
TargetData.h | 300 unsigned getPreferredAlignment(const GlobalVariable *GV) const; 305 unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
|