/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 99 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() 105 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() 124 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() 165 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed() local 189 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName() 204 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() 242 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping() 293 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() 319 if (GlobalValue *GV = Modules[i]->getNamedValue(Name)) in getGlobalValueAtAddress() local 370 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 89 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() 95 static char *Create(const GlobalVariable *GV, const TargetData& TD) { in Create() 116 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() 160 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() 195 void *ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, void *Addr) { in updateGlobalMapping() 222 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() 301 GlobalVariable *GV = module->getNamedGlobal(Name); in runStaticConstructorsDestructors() local 503 void *ExecutionEngine::getPointerToGlobal(const GlobalValue *GV) { in getPointerToGlobal() 557 GenericValue GV = getConstantValue(Op0); in getConstantValue() local 563 GenericValue GV = getConstantValue(Op0); in getConstantValue() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 51 static bool isSuitableForBSS(const GlobalVariable *GV) { in isSuitableForBSS() 106 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() 122 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal() 251 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, in SectionForGlobal() 265 TargetLoweringObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal() 298 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 47 TargetLoweringObjectFileELF::getCFIPersonalitySymbol(const GlobalValue *GV, in getCFIPersonalitySymbol() 175 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, in getExplicitSectionGlobal() 207 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() 317 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() 350 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, in getExplicitSectionGlobal() 391 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() 474 shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *Mang) const { in shouldEmitUsedDirectiveFor() argument 493 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() 526 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() 585 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, in getExplicitSectionGlobal() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiTargetObjectFile.cpp | 52 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSection() argument 64 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalValue *GV, in isGlobalInSmallSection() 75 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl() argument 94 LanaiTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeTargetObjectFile.cpp | 46 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument 56 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() 77 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 53 static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) { in isSuitableForBSS() 104 const GlobalValue *GV, StringRef Suffix, Mangler &Mang, in getSymbolWithGlobalValueBase() 116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() 132 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal() 233 TargetLoweringObjectFile::SectionForGlobal(const GlobalValue *GV, in SectionForGlobal() 286 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() 322 SmallVectorImpl<char> &OutName, const GlobalValue *GV, Mangler &Mang, in getNameWithPrefix()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 49 bool MipsTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, in IsGlobalInSmallSection() 60 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() 89 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 65 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument 78 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() 88 IsGlobalInSmallSectionImpl(const GlobalValue *GV, in IsGlobalInSmallSectionImpl() 117 MipsTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal()
|
/external/llvm/lib/Transforms/IPO/ |
D | Internalize.cpp | 66 bool operator()(const GlobalValue &GV) { in operator ()() 92 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV() 117 GlobalValue &GV, const std::set<const Comdat *> &ExternalComdats) { in maybeInternalize() 144 GlobalValue &GV, std::set<const Comdat *> &ExternalComdats) { in checkComdatVisibility() 218 for (auto &GV : M.globals()) { in internalizeModule() local
|
D | GlobalDCE.cpp | 227 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(G)) { in GlobalIsNeeded() local 248 if (GlobalValue *GV = dyn_cast<GlobalValue>(U)) in GlobalIsNeeded() local 256 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) in MarkUsedGlobalsAsNeeded() local 275 bool GlobalDCEPass::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue()
|
D | ConstantMerge.cpp | 46 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local 63 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() 93 GlobalVariable *GV = &*GVI++; in mergeConstants() local 134 GlobalVariable *GV = &*GVI++; in mergeConstants() local
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 36 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule() 55 GlobalVariable *GV = new GlobalVariable(*New, in CloneModule() local 82 GlobalValue *GV; in CloneModule() local 114 GlobalVariable *GV = cast<GlobalVariable>(VMap[&*I]); in CloneModule() local
|
D | SplitModule.cpp | 44 const GlobalValue *GV, const User *U) { in addNonConstUser() 60 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() 89 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() 194 static void externalize(GlobalValue *GV) { in externalize() 207 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition() 253 CloneModule(M.get(), VMap, [&](const GlobalValue *GV) { in SplitModule()
|
D | Evaluator.cpp | 51 if (auto *GV = dyn_cast<GlobalValue>(C)) in isSimpleEnoughValueToCommitHelper() local 122 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) in isSimpleEnoughPointerToCommit() local 131 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0)); in isSimpleEnoughPointerToCommit() local 171 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(P)) { in ComputeLoadResult() local 181 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0)); in ComputeLoadResult() local 402 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in EvaluateBlock() local
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 60 virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, in shouldEmitUsedDirectiveFor() 84 const MCSection *SectionForGlobal(const GlobalValue *GV, in SectionForGlobal() 102 getSpecialCasedSectionGlobals(const GlobalValue *GV, Mangler *Mang, in getSpecialCasedSectionGlobals()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 375 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() 393 for (auto &GV : TheModule) in preserveDiscardableGVs() local 395 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local 397 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local 418 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() 443 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() 450 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local 452 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local 476 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 53 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() 87 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() 195 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat() 208 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 246 selectELFSectionForGlobal(MCContext &Ctx, const GlobalValue *GV, in selectELFSectionForGlobal() 313 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() 535 static void checkMachOComdat(const GlobalValue *GV) { in checkMachOComdat() 545 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 587 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() 673 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 23 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() 42 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol()
|
/external/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 24 void SanitizerMetadata::reportGlobalToASan(llvm::GlobalVariable *GV, in reportGlobalToASan() 58 void SanitizerMetadata::reportGlobalToASan(llvm::GlobalVariable *GV, in reportGlobalToASan() 69 void SanitizerMetadata::disableSanitizerForGlobal(llvm::GlobalVariable *GV) { in disableSanitizerForGlobal()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.cpp | 105 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() 139 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 175 bool HexagonTargetObjectFile::isGlobalInSmallSection(const GlobalValue *GV, in isGlobalInSmallSection() 256 const GlobalValue *GV, const TargetMachine &TM) const { in getSmallestAddressableSize() argument 307 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in selectSmallSectionForGlobal()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 303 GenericValue GV; in lle_X_atexit() local 332 GenericValue GV; in lle_X_sprintf() local 412 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local 426 GenericValue GV; in lle_X_sscanf() local 440 GenericValue GV; in lle_X_scanf() local 455 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local 468 GenericValue GV; in lle_X_memset() local 480 GenericValue GV; in lle_X_memcpy() local
|
/external/llvm/lib/Object/ |
D | IRObjectFile.cpp | 138 const GlobalValue *GV = &*I; in skipEmpty() local 145 const GlobalValue *GV = &*I; in skipEmpty() local 152 const GlobalValue *GV = &*I; in skipEmpty() local 164 const GlobalValue *GV = getGV(Symb); in moveSymbolNext() local 202 const GlobalValue *GV = getGV(Symb); in printSymbolName() local 222 const GlobalValue *GV = getGV(Symb); in getSymbolFlags() local
|
/external/swiftshader/third_party/LLVM/tools/llvm-extract/ |
D | llvm-extract.cpp | 102 GlobalValue *GV = M.get()->getNamedGlobal(ExtractGlobals[i]); in main() local 120 for (Module::global_iterator GV = M.get()->global_begin(), in main() local 136 GlobalValue *GV = M.get()->getFunction(ExtractFuncs[i]); in main() local 171 GlobalValue *GV = GVs[i]; in main() local
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 165 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(G)) { in GlobalIsNeeded() local 183 if (GlobalValue *GV = dyn_cast<GlobalValue>(*U)) in GlobalIsNeeded() local 191 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) in MarkUsedGlobalsAsNeeded() local 207 bool GlobalDCE::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue()
|