Home
last modified time | relevance | path

Searched defs:GV (Results 1 – 25 of 182) sorted by relevance

12345678

/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp90 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock()
96 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create()
117 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV()
174 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName()
182 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping()
223 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping()
274 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable()
300 if (GlobalValue *GV = Modules[i]->getNamedValue(Name)) in getGlobalValueAtAddress() local
351 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local
554 void *ExecutionEngine::getPointerToGlobal(const GlobalValue *GV) { in getPointerToGlobal()
[all …]
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp54 static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) { in isSuitableForBSS()
105 const GlobalValue *GV, StringRef Suffix, Mangler &Mang, in getSymbolWithGlobalValueBase()
117 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol()
133 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal()
262 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SectionForGlobal()
312 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference()
348 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
DTargetMachine.cpp92 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
171 const GlobalValue *GV, Mangler &Mang, in getNameWithPrefix()
186 MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV, Mangler &Mang) const { in getSymbol() argument
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp63 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument
76 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection()
86 IsGlobalInSmallSectionImpl(const GlobalValue *GV, in IsGlobalInSmallSectionImpl()
114 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp53 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, in IsGlobalInSmallSection()
69 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection()
85 HexagonTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp306 GenericValue GV; in lle_X_atexit() local
340 GenericValue GV; in lle_X_sprintf() local
421 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local
436 GenericValue GV; in lle_X_sscanf() local
452 GenericValue GV; in lle_X_scanf() local
468 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local
481 GenericValue GV; in lle_X_memset() local
493 GenericValue GV; in lle_X_memcpy() local
/external/llvm/lib/Object/
DIRObjectFile.cpp128 const GlobalValue *GV = &*I; in skipEmpty() local
135 const GlobalValue *GV = &*I; in skipEmpty() local
142 const GlobalValue *GV = &*I; in skipEmpty() local
154 const GlobalValue *GV = getGV(Symb); in moveSymbolNext() local
192 const GlobalValue *GV = getGV(Symb); in printSymbolName() local
209 const GlobalValue *GV = getGV(Symb); in getSymbolFlags() local
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp50 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol()
88 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference()
192 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat()
205 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal()
249 selectELFSectionForGlobal(MCContext &Ctx, const GlobalValue *GV, in selectELFSectionForGlobal()
312 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
534 static void checkMachOComdat(const GlobalValue *GV) { in checkMachOComdat()
544 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal()
586 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal()
670 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference()
[all …]
/external/clang/lib/CodeGen/
DSanitizerMetadata.cpp24 void SanitizerMetadata::reportGlobalToASan(llvm::GlobalVariable *GV, in reportGlobalToASan()
57 void SanitizerMetadata::reportGlobalToASan(llvm::GlobalVariable *GV, in reportGlobalToASan()
67 void SanitizerMetadata::disableSanitizerForGlobal(llvm::GlobalVariable *GV) { in disableSanitizerForGlobal()
DCodeGenModule.cpp272 const llvm::GlobalValue *GV = getAliasedGlobal(*Alias); in checkAliases() local
504 void CodeGenModule::setGlobalVisibility(llvm::GlobalValue *GV, in setGlobalVisibility()
541 void CodeGenModule::setTLSMode(llvm::GlobalValue *GV, const VarDecl &D) const { in setTLSMode()
803 llvm::GlobalValue *GV) { in SetCommonAttributes()
814 llvm::GlobalValue *GV) { in setAliasAttributes()
844 static void setLinkageAndVisibilityForGV(llvm::GlobalValue *GV, in setLinkageAndVisibilityForGV()
920 void CodeGenModule::addUsedGlobal(llvm::GlobalValue *GV) { in addUsedGlobal()
926 void CodeGenModule::addCompilerUsedGlobal(llvm::GlobalValue *GV) { in addCompilerUsedGlobal()
951 auto *GV = new llvm::GlobalVariable( in emitUsed() local
1112 llvm::GlobalValue *GV = G.GV; in EmitDeferred() local
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h48 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find() local
136 auto GV = VI->second; in searchGVs() local
162 const GlobalValue &GV, in addGlobalValue()
199 if (auto GV = addGlobalValue(*Symbols, V, Mang, SearchName, in buildMangledSymbols() local
204 if (auto GV = addGlobalValue(*Symbols, F, Mang, SearchName, in buildMangledSymbols() local
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp105 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot()
183 static bool CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers()
391 static bool IsUserOfGlobalSafeForSRA(User *U, GlobalValue *GV) { in IsUserOfGlobalSafeForSRA()
458 static bool GlobalUsersSafeToSRA(GlobalValue *GV) { in GlobalUsersSafeToSRA()
472 static GlobalVariable *SRAGlobal(GlobalVariable *GV, const DataLayout &DL) { in SRAGlobal()
661 static bool AllUsesOfLoadedValueWillTrapIfNull(const GlobalVariable *GV) { in AllUsesOfLoadedValueWillTrapIfNull()
744 static bool OptimizeAwayTrappingUsesOfLoads(GlobalVariable *GV, Constant *LV, in OptimizeAwayTrappingUsesOfLoads()
829 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, in OptimizeGlobalAddressOfMalloc()
961 const GlobalVariable *GV, in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
1009 GlobalVariable *GV) { in ReplaceUsesOfMallocWithGlobal()
[all …]
DConstantMerge.cpp74 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local
122 GlobalVariable *GV = GVI++; in runOnModule() local
163 GlobalVariable *GV = GVI++; in runOnModule() local
DGlobalDCE.cpp210 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(G)) { in GlobalIsNeeded() local
234 if (GlobalValue *GV = dyn_cast<GlobalValue>(*U)) in GlobalIsNeeded() local
242 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) in MarkUsedGlobalsAsNeeded() local
261 bool GlobalDCE::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue()
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp160 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); in main() local
178 for (auto &GV : M->globals()) { in main() local
193 GlobalValue *GV = M->getFunction(ExtractFuncs[i]); in main() local
228 GlobalValue *GV = GVs[i]; in main() local
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp48 static bool bindsLocally(const GlobalValue *GV, Reloc::Model RM) { in bindsLocally()
56 bool SystemZSubtarget::isPC32DBLSymbol(const GlobalValue *GV, in isPC32DBLSymbol()
/external/llvm/tools/gold/
Dgold-plugin.cpp267 static const GlobalObject *getBaseObject(const GlobalValue &GV) { in getBaseObject()
382 const GlobalValue *GV = Obj->getSymbolGV(Sym.getRawDataRefImpl()); in claim_file_hook() local
441 static void keepGlobalValue(GlobalValue &GV, in keepGlobalValue()
462 static void internalize(GlobalValue &GV) { in internalize()
469 static void drop(GlobalValue &GV) { in drop()
628 GlobalValue *GV = Obj.getSymbolGV(ObjSym.getRawDataRefImpl()); in getModuleForFile() local
712 for (auto *GV : Drop) in getModuleForFile() local
859 GlobalValue *GV = Combined->getNamedValue(Name.first()); in allSymbolsReadHook() local
865 GlobalValue *GV = Combined->getNamedValue(Name.first()); in allSymbolsReadHook() local
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp99 XCoreTargetObjectFile::getExplicitSectionGlobal(const GlobalValue *GV, in getExplicitSectionGlobal()
112 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
DXCoreLowerThreadLocal.cpp161 static bool rewriteNonInstructionUses(GlobalVariable *GV, Pass *P) { in rewriteNonInstructionUses()
180 bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { in lowerGlobal()
233 GlobalVariable *GV = GVI; in runOnModule() local
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp33 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference()
55 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol()
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp300 bool GlobalsModRef::AnalyzeIndirectGlobalMemory(GlobalValue *GV) { in AnalyzeIndirectGlobalMemory()
512 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
516 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
545 if (const GlobalValue *GV = in getModRefInfo() local
563 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleteValue() local
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp48 GlobalVariable *GV = new GlobalVariable(*New, in CloneModule() local
85 GlobalVariable *GV = cast<GlobalVariable>(VMap[I]); in CloneModule() local
DCtorUtils.cpp68 std::vector<Function *> parseGlobalCtors(GlobalVariable *GV) { in parseGlobalCtors()
84 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors() local
/external/llvm/lib/CodeGen/AsmPrinter/
DWinCodeViewLineTables.cpp181 void WinCodeViewLineTables::emitDebugInfoForFunction(const Function *GV) { in emitDebugInfoForFunction()
321 const Function *GV = MF->getFunction(); in beginFunction() local
359 const Function *GV = MF->getFunction(); in endFunction() local
/external/llvm/lib/IR/
DMangler.cpp93 void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV, in getNameWithPrefix()
154 const GlobalValue *GV, in getNameWithPrefix()

12345678