reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  454     for (auto &GV : SrcM.globals())
  500     for (auto &GV : SrcM.globals())
include/llvm/IR/Module.h
  664     return concat<GlobalObject>(functions(), globals());
  690     return concat<GlobalValue>(functions(), globals(), aliases(), ifuncs());
lib/Analysis/GlobalsModRef.cpp
  300   for (GlobalVariable &GV : M.globals())
lib/Analysis/LazyCallGraph.cpp
  192   for (GlobalVariable &GV : M.globals())
lib/Bitcode/Reader/BitcodeReader.cpp
 2982   for (GlobalVariable &GV : TheModule->globals())
lib/Bitcode/Reader/MetadataLoader.cpp
  513     for (auto &GV : TheModule.globals()) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1271   for (const auto &G : M.globals()) {
 1396   for (const auto &G : M.globals())
lib/CodeGen/GlobalMerge.cpp
  610   for (auto &GV : M.globals()) {
lib/CodeGen/LowerEmuTLS.cpp
   75   for (const auto &G : M.globals()) {
lib/ExecutionEngine/ExecutionEngine.cpp
 1198       for (const auto &GV : M.globals()) {
 1228     for (const auto &GV : M.globals()) {
 1271     for (const auto &GV : M.globals()) {
lib/IR/AutoUpgrade.cpp
 4061   for (auto &GV : M.globals()) {
lib/IR/DebugInfo.cpp
  370   for (auto &GV : M.globals()) {
  615   for (auto &GV : M.globals())
lib/IR/Module.cpp
  443   for (GlobalVariable &GV : globals())
lib/LTO/LTO.cpp
  681   for (GlobalVariable &GV : M.globals())
lib/LTO/LTOCodeGenerator.cpp
  404   for (auto &GV : TheModule.globals())
  454     for (auto &GV : MergedModule->globals())
  494   llvm::for_each(MergedModule->globals(), externalize);
lib/LTO/UpdateCompilerUsed.cpp
   37     for (GlobalVariable &GV : TheModule.globals())
lib/Linker/IRMover.cpp
  744   for (GlobalValue &SGV : SrcM->globals()) {
lib/Linker/LinkModules.cpp
  501   for (GlobalVariable &GV : SrcM->globals())
  518   for (GlobalVariable &GV : SrcM->globals())
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  119   for (GlobalVariable &GV : M.globals()) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  650   for (GlobalVariable &GV : Mod->globals()) {
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
   53   for (GlobalVariable &GV : M.globals()) {
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  135   for (const auto &G : M.globals()) {
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  265     for (auto &GV : M.globals()) {
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  226   for (GlobalVariable &GV : M.globals())
lib/Transforms/IPO/ElimAvailExtern.cpp
   36   for (GlobalVariable &GV : M.globals()) {
lib/Transforms/IPO/FunctionImport.cpp
 1002   for (auto &GV : TheModule.globals())
 1065   for (auto &GV : M.globals())
 1129     for (GlobalVariable &GV : SrcModule->globals()) {
lib/Transforms/IPO/GlobalDCE.cpp
  168   for (GlobalVariable &GV : M.globals()) {
  296   for (GlobalVariable &GV : M.globals())
  356   for (GlobalVariable &GV : M.globals())
lib/Transforms/IPO/GlobalOpt.cpp
 2924     for (const GlobalVariable &GV : M.globals())
lib/Transforms/IPO/Internalize.cpp
  161     for (GlobalVariable &GV : M.globals())
  214   for (auto &GV : M.globals()) {
lib/Transforms/IPO/StripSymbols.cpp
  318   for (GlobalVariable &GV : M.globals()) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  253   for (GlobalVariable &GV : M.globals())
lib/Transforms/IPO/WholeProgramDevirt.cpp
  784   for (GlobalVariable &GV : M.globals()) {
 1924   for (GlobalVariable &GV : M.globals())
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2219   for (auto &G : M.globals()) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1403   for (GlobalVariable &GV : M.globals()) {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1453   for (GlobalVariable &GV : M.globals())
lib/Transforms/Scalar/SCCP.cpp
 2041   for (GlobalVariable &G : M.globals()) {
lib/Transforms/Utils/FunctionImportUtils.cpp
  292   for (GlobalVariable &GV : M.globals())
lib/Transforms/Utils/ModuleUtils.cpp
  225     for (GlobalVariable &GV : M.globals())
  266   for (auto &GV : M->globals())
lib/Transforms/Utils/NameAnonGlobals.cpp
   46     for (auto &GV : TheModule.globals()) {
lib/Transforms/Utils/SplitModule.cpp
  148   llvm::for_each(M->globals(), recordGVSet);
  256     for (GlobalVariable &GV : M->globals())
lib/Transforms/Utils/SymbolRewriter.cpp
  176 bool PatternRewriteDescriptor<DT, ValueType, Get, Iterator>::
  179   for (auto &C : (M.*Iterator)()) {
  239                              &Module::globals>;
tools/bugpoint/CrashDebugger.cpp
  165   for (GlobalVariable &I : M->globals())
  959   for (GlobalVariable &GV : M->globals()) {
  984   for (GlobalVariable &GV : OrigM.globals())
tools/bugpoint/ExtractFunction.cpp
  339   for (GlobalVariable &I : M->globals()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1436   for (GlobalVariable &global_var : m_module->globals()) {
tools/llvm-extract/llvm-extract.cpp
  207     for (auto &GV : M->globals()) {
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
   25   for (auto &GV : Program->globals())
   36   for (auto &GV : Program->globals())
   63   for (auto &GV : Program->globals())
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   61   for (auto &GV : Program->globals())
   72   for (auto &GV : Program->globals())
  119   for (auto &GV : Program->globals())
tools/verify-uselistorder/verify-uselistorder.cpp
  464   for (GlobalVariable &G : M.globals())
  474   for (GlobalVariable &G : M.globals())