/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | 84 unsigned MaterializeGV(const GlobalValue *GV, MVT VT); 206 else if (const GlobalValue *GV = dyn_cast<GlobalValue>(C)) 207 return MaterializeGV(GV, VT); 342 unsigned MipsFastISel::MaterializeGV(const GlobalValue *GV, MVT VT) { 348 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); 354 GV, 0, MipsII::MO_GOT);
|
/external/llvm/lib/Target/R600/ |
AMDGPUPromoteAlloca.cpp | 81 GlobalVariable *GV = I; 82 PointerType *GVTy = GV->getType(); 85 for (Value::use_iterator U = GV->use_begin(), 86 UE = GV->use_end(); U != UE; ++U) { 280 GlobalVariable *GV = new GlobalVariable( 318 Value *Offset = Builder.CreateGEP(GV, Indices);
|
/external/llvm/lib/Target/ARM/ |
ARMAsmPrinter.cpp | 82 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts()); 83 assert(GV && "C++ constructor pointer was not a GlobalValue!"); 85 const MCExpr *E = MCSymbolRefExpr::Create(GetARMGVSymbol(GV, 161 const GlobalValue *GV = MO.getGlobal(); 168 O << *GetARMGVSymbol(GV, TF); 796 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV, 800 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); 803 return getSymbol(GV); 806 MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); 810 GV->hasHiddenVisibility() ? MMIMachO.getHiddenGVStubEntry(MCSym [all...] |
ARMAsmPrinter.h | 117 MCSymbol *GetARMGVSymbol(const GlobalValue *GV, unsigned char TargetFlags);
|
ARMJITInfo.h | 60 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,
|
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 349 static unsigned getEncodedLinkage(const GlobalValue *GV) { 350 switch (GV->getLinkage()) { 366 static unsigned getEncodedVisibility(const GlobalValue *GV) { 367 switch (GV->getVisibility()) { 375 static unsigned getEncodedThreadLocalMode(const GlobalVariable *GV) { 376 switch (GV->getThreadLocalMode()) { 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()) [all...] |
/external/llvm/lib/ExecutionEngine/JIT/ |
JIT.h | 154 void *getOrEmitGlobalVariable(const GlobalVariable *GV) override; 223 char* getMemoryForGV(const GlobalVariable* GV) override;
|
/external/llvm/include/llvm/LTO/ |
LTOCodeGenerator.h | 125 void applyRestriction(GlobalValue &GV, const ArrayRef<StringRef> &Libcalls,
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 243 bool isMaterializable(const GlobalValue *GV) const override; 244 bool isDematerializable(const GlobalValue *GV) const override; 245 std::error_code Materialize(GlobalValue *GV) override; 247 void Dematerialize(GlobalValue *GV) override;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.h | 112 void emitDebugInfoForFunction(const Function *GV);
|
DwarfUnit.cpp | [all...] |
AsmPrinterDwarf.cpp | 143 void AsmPrinter::EmitTTypeReference(const GlobalValue *GV, 145 if (GV) { 149 TLOF.getTTypeGlobalReference(GV, Encoding, *Mang, TM, MMI, OutStreamer);
|
/external/clang/lib/CodeGen/ |
CGVTT.cpp | 119 llvm::GlobalVariable *GV = 122 GV->setUnnamedAddr(true); 123 return GV;
|
/external/llvm/lib/Target/Sparc/ |
SparcCodeEmitter.cpp | 90 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc) const; 247 void SparcCodeEmitter::emitGlobalAddress(const GlobalValue *GV, 250 const_cast<GlobalValue *>(GV), 0,
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARC.h | 375 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Pointer)) { 378 if (GV->isConstant()) 380 StringRef Name = GV->getName();
|
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 390 static unsigned getEncodedLinkage(const GlobalValue *GV) { 391 switch (GV->getLinkage()) { 407 static unsigned getEncodedVisibility(const GlobalValue *GV) { 408 switch (GV->getVisibility()) { 438 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 439 GV != E; ++GV) { 440 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 441 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 443 if (!GV->hasSection()) continue [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 344 static unsigned getEncodedLinkage(const GlobalValue *GV) { 345 switch (GV->getLinkage()) { 361 static unsigned getEncodedVisibility(const GlobalValue *GV) { 362 switch (GV->getVisibility()) { 392 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end(); 393 GV != E; ++GV) { 394 MaxAlignment = std::max(MaxAlignment, GV->getAlignment()); 395 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); 397 if (!GV->hasSection()) continue [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineOperand.h | 175 const GlobalValue *GV; // For MO_GlobalAddress. 435 return Contents.OffsetedInfo.Val.GV; 636 static MachineOperand CreateGA(const GlobalValue *GV, int64_t Offset, 639 Op.Contents.OffsetedInfo.Val.GV = GV;
|
/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | 227 void TrackValueOfGlobalVariable(GlobalVariable *GV) { 229 if (GV->getType()->getElementType()->isSingleValueType()) { 230 LatticeVal &IV = TrackedGlobals[GV]; 231 if (!isa<UndefValue>(GV->getInitializer())) 232 IV.markConstant(GV->getInitializer()); [all...] |
/external/llvm/lib/IR/ |
DataLayout.cpp | 770 unsigned DataLayout::getPreferredAlignment(const GlobalVariable *GV) const { 771 Type *ElemType = GV->getType()->getElementType(); 773 unsigned GVAlignment = GV->getAlignment(); 780 if (GV->hasInitializer() && GVAlignment == 0) { 794 unsigned DataLayout::getPreferredAlignmentLog(const GlobalVariable *GV) const { 795 return Log2_32(getPreferredAlignment(GV));
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXReplaceImageHandles.cpp | 344 const GlobalValue *GV = TexHandleDef.getOperand(1).getGlobal(); 345 assert(GV->hasName() && "Global sampler must be named!"); 346 Op.ChangeToImmediate(MFI->getImageHandleSymbolIndex(GV->getName().data()));
|
NVPTXTargetObjectFile.h | 94 const MCSection *getExplicitSectionGlobal(const GlobalValue *GV,
|
/external/llvm/include/llvm/IR/ |
Module.h | 459 /// True if the definition of GV has yet to be materializedfrom the 461 bool isMaterializable(const GlobalValue *GV) const; 462 /// Returns true if this GV was loaded from this Module's GVMaterializer and 463 /// the GVMaterializer knows how to dematerialize the GV. 464 bool isDematerializable(const GlobalValue *GV) const; 469 bool Materialize(GlobalValue *GV, std::string *ErrInfo = nullptr); 473 void Dematerialize(GlobalValue *GV);
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 33 GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true, 46 GlobalVariable *GV; 135 F = Builder.CreateLoad(GV); 274 Value *F = Builder.CreateLoad(GV);
|