/external/llvm/include/llvm/Target/ |
TargetMachine.h | 201 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
|
/external/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 323 const GlobalVariable *GV = M.getGlobalVariable("llvm.used"); 324 if (!GV || !GV->hasInitializer()) return; 327 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
|
ShadowStackGC.cpp | 247 Constant *GV = new GlobalVariable(*F.getParent(), FrameMap->getType(), true, 255 return ConstantExpr::getGetElementPtr(GV, GEPIndices);
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITDwarfEmitter.cpp | 454 const GlobalVariable *GV = TypeInfos[M - 1]; 456 if (GV) { 458 JCE->emitInt32((intptr_t)Jit.getOrEmitGlobalVariable(GV)); 460 JCE->emitInt64((intptr_t)Jit.getOrEmitGlobalVariable(GV));
|
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.h | 50 /// instruction and the constant being loaded, i.e. (&GV-(LPIC+8)). 56 ARMCP::ARMCPModifier Modifier; // GV modifier i.e. (&GV(modifier)-(LPIC+8)) 134 static ARMConstantPoolConstant *Create(const GlobalValue *GV,
|
ARMCodeEmitter.cpp | 362 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, 485 void ARMCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, 490 const_cast<GlobalValue *>(GV), 493 const_cast<GlobalValue *>(GV), ACPV, 713 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); 714 if (GV) { 716 emitGlobalAddress(GV, ARM::reloc_arm_machine_cp_entry, 717 isa<Function>(GV), 718 Subtarget->GVIsIndirectSymbol(GV, RelocM), [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonAsmPrinter.h | 41 const GlobalValue *GV = 0) const;
|
/external/llvm/lib/Target/X86/ |
X86Subtarget.h | 280 unsigned char ClassifyGlobalReference(const GlobalValue *GV,
|
X86JITInfo.cpp | 448 void *X86JITInfo::emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr, 462 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
|
/external/llvm/lib/Transforms/Scalar/ |
LoopIdiomRecognize.cpp | 526 GlobalVariable *GV = new GlobalVariable(*M, PatternValue->getType(), true, 529 GV->setUnnamedAddr(true); // Ok to merge these. 530 GV->setAlignment(16); 531 Value *PatternPtr = ConstantExpr::getBitCast(GV, Builder.getInt8PtrTy());
|
DeadStoreElimination.cpp | 300 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) { 301 if (!GV->mayBeOverridden()) 302 return TD->getTypeAllocSize(GV->getType()->getElementType());
|
/external/llvm/lib/VMCore/ |
AutoUpgrade.cpp | 87 bool llvm::UpgradeGlobalVariable(GlobalVariable *GV) {
|
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 219 void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *Decl); 222 void EmitGlobalVariable(llvm::GlobalVariable *GV, ObjCInterfaceDecl *Decl);
|
TargetInfo.cpp | 465 void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV, 797 llvm::GlobalValue *GV, 802 llvm::Function *Fn = cast<llvm::Function>(GV); [all...] |
CGCXXABI.cpp | 175 llvm::GlobalVariable *GV,
|
/external/llvm/include/llvm/CodeGen/ |
MachineInstrBuilder.h | 115 const MachineInstrBuilder &addGlobalAddress(const GlobalValue *GV, 118 MI->addOperand(MachineOperand::CreateGA(GV, Offset, TargetFlags));
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 173 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Addr)) { 174 if (GV->isConstant()) {
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 91 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) { 92 if (!GV->hasDefinitiveInitializer()) 94 AccessTy = GV->getType()->getElementType(); 95 Align = GV->getAlignment(); 591 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) { 592 // Note: this doesn't require GV to be "ODR" because it isn't legal for a 594 // others. GV may even be a declaration, not a definition. 595 if (!GV->isConstant()) { [all...] |
ValueTracking.cpp | 275 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { 276 unsigned Align = GV->getAlignment(); 278 if (GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) { [all...] |
AliasAnalysis.cpp | 455 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) 456 return !GV->hasExternalWeakLinkage();
|
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 223 getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV, 228 if (isa<Function>(GV)) { 231 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); 233 // If GV is an alias then use the aliasee to determine constness 234 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) 247 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal(); 248 SDValue GA = DAG.getTargetGlobalAddress(GV, Op.getDebugLoc(), MVT::i32); 249 return getGlobalAddressWrapper(GA, GV, DAG); 268 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal(); 269 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, MVT::i32) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfException.cpp | 684 const GlobalVariable *GV = *I; 687 if (GV) 688 Asm->EmitReference(GV, TTypeEncoding);
|
/external/llvm/lib/Linker/ |
LinkModules.cpp | 310 // @GV = global %T* null 320 // @GV = global %B* null 447 static void forceRenaming(GlobalValue *GV, StringRef Name) { 450 if (GV->hasLocalLinkage() || GV->getName() == Name) 453 Module *M = GV->getParent(); 457 GV->takeName(ConflictGV); 461 GV->setName(Name); // Force the name back [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 34 << "GV:"; 317 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(Addr)) { 320 AddrMode.BaseGV = GV;
|