Searched defs:GVar (Results 1 - 11 of 11) sorted by relevance

/external/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp43 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); local
45 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation())
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h131 void addSymbol(const Value *GVar, const Value *GVarBeforeStripping) { argument
133 Symbols.push_back(GVar);
159 if (const GlobalValue *GVar = dyn_cast<GlobalValue>(v)) {
160 MCSymbol *Name = AP.getSymbol(GVar);
219 void printModuleLevelGV(const GlobalVariable *GVar, raw_ostream &O,
276 void emitPTXGlobalVariable(const GlobalVariable *GVar, raw_ostream &O);
H A DNVPTXAsmPrinter.cpp988 const GlobalVariable *GVar = cast<GlobalVariable>(V); local
989 if (GVar) {
990 if (GVar->hasInitializer())
1014 void NVPTXAsmPrinter::printModuleLevelGV(const GlobalVariable *GVar, argument
1019 if (GVar->hasSection()) {
1020 if (GVar->getSection() == StringRef("llvm.metadata"))
1025 if (GVar->getName().startswith("llvm.") ||
1026 GVar->getName().startswith("nvvm."))
1032 PointerType *PTy = GVar->getType();
1035 if (GVar
1338 emitPTXGlobalVariable(const GlobalVariable *GVar, raw_ostream &O) argument
[all...]
/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp140 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); local
141 if (!GVar)
145 if (GVar->isThreadLocal()) {
146 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS))
152 if (GVar->hasCommonLinkage())
156 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS)) {
157 if (GVar->hasLocalLinkage())
159 else if (GVar->hasExternalLinkage())
164 const Constant *C = GVar->getInitializer();
168 if (GVar
[all...]
/external/llvm/lib/Linker/
H A DLinkModules.cpp81 const GlobalVariable *&GVar);
213 auto *GVar = dyn_cast<GlobalVariable>(SGV);
214 if (GVar && GVar->isConstant() && GVar->hasUnnamedAddr())
346 const GlobalVariable *&GVar) {
356 GVar = dyn_cast_or_null<GlobalVariable>(GVal);
357 if (!GVar)
345 getComdatLeader(Module &M, StringRef ComdatName, const GlobalVariable *&GVar) argument
H A DIRMover.cpp1179 if (auto *GVar = dyn_cast<GlobalVariable>(&Src)) {
1180 linkGlobalInit(cast<GlobalVariable>(Dst), *GVar); local
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp356 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); local
357 bool IsThreadLocal = GVar && GVar->isThreadLocal();
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp263 const auto *GVar = dyn_cast<GlobalVariable>(GV); local
265 (GVar && GVar->isConstant() && GV->hasLocalLinkage()))
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp590 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); local
591 bool IsThreadLocal = GVar && GVar->isThreadLocal();
/external/llvm/lib/IR/
H A DVerifier.cpp463 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(&GV); local
464 Assert(GVar && GVar->getValueType()->isArrayTy(),
465 "Only global arrays can have appending linkage!", GVar);
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp765 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); local
766 if (!GVar || !GVar->hasInitializer())
769 if (isa<UndefValue>(GVar->getInitializer()))

Completed in 255 milliseconds