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

References

examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
  103       for (auto &F : M)
examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
  145     for (auto &F : *M)
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  221     for (auto &F : *M)
examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h
  238     for (auto &F : *M)
include/llvm/CodeGen/CommandFlags.inc
  373   for (auto &F : M) {
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  397       for (auto &F : SrcM) {
include/llvm/IR/InstVisitor.h
   98     visit(M.begin(), M.end());
include/llvm/IR/Module.h
  611     return make_range(begin(), end());
include/llvm/IR/PassManager.h
 1299     for (Function &F : M) {
lib/Analysis/CallGraph.cpp
   34   for (Function &F : M)
lib/Analysis/GlobalsModRef.cpp
  288   for (Function &F : M)
lib/Analysis/LazyCallGraph.cpp
  157   for (Function &F : M) {
 1777   for (Function &F : M)
 1810   for (Function &F : M)
lib/Analysis/MustExecute.cpp
  357   for (Function &F : M) {
lib/Analysis/ProfileSummaryInfo.cpp
  381   for (auto &F : M) {
lib/AsmParser/LLParser.cpp
  235   for (Module::iterator FI = M->begin(), FE = M->end(); FI != FE; )
  241   for (Module::iterator FI = M->begin(), FE = M->end(); FI != FE; ) {
 5482     M->getFunctionList().splice(M->end(), M->getFunctionList(), Fn);
lib/Bitcode/Reader/BitcodeReader.cpp
  163   for (auto &F : *M) {
 2968   for (Function &F : *TheModule) {
 5296   for (Function &F : *TheModule) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1403   for (const Function &F : M) {
lib/CodeGen/GCRootLowering.cpp
  108   for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
lib/CodeGen/GlobalMerge.cpp
  581   for (Function &F : M) {
lib/CodeGen/MachineOutliner.cpp
 1295   for (Function &F : M) {
lib/CodeGen/PreISelIntrinsicLowering.cpp
   98   for (Function &F : M) {
lib/CodeGen/ShadowStackGCLowering.cpp
  169   for (Function &F : M) {
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  188     for (auto &F : *Mod) {
lib/FuzzMutate/IRMutator.cpp
   40   for (Function &F : M)
lib/IR/Core.cpp
 2267   if (I == Mod->end())
 2274   Module::iterator I = Mod->end();
 2283   if (++I == Func->getParent()->end())
lib/IR/DebugInfo.cpp
  367   for (Function &F : M)
  631   for (auto &F : M) {
lib/IR/LegacyPassManager.cpp
  150   for (Function &F : M) {
  202     std::for_each(M.begin(), M.end(), UpdateFunctionChanges);
  212     auto It = std::find_if(M.begin(), M.end(),
  216     if (It == M.end())
 1683   for (Function &F : M)
lib/IR/Module.cpp
  440   for (Function &F : *this)
lib/IR/PassManager.cpp
   55   for (Function &F : M) {
lib/IR/Verifier.cpp
 5170     for (Function &F : M)
lib/LTO/LTOCodeGenerator.cpp
  402   for (auto &GV : TheModule)
  452     for (auto &GV : *MergedModule)
lib/LTO/UpdateCompilerUsed.cpp
   35     for (Function &F : TheModule)
lib/Linker/IRMover.cpp
  760   for (GlobalValue &SGV : *SrcM)
lib/Linker/LinkModules.cpp
  496   for (auto I = DstM.begin(), E = DstM.end(); I != E;) {
  506   for (Function &SF : *SrcM)
  522   for (Function &SF : *SrcM)
lib/ProfileData/InstrProf.cpp
  337   for (Function &F : M) {
lib/Target/AArch64/AArch64PromoteConstant.cpp
  126     for (auto &MF : M) {
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  132     for (Function &F : M) {
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
  134   for (Function &F : M) {
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  308   for (Function &F : M)
  913   for (Function &F : M) {
lib/Target/Mips/Mips16HardFloat.cpp
  516   for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) {
lib/Target/Mips/MipsOs16.cpp
  121   for (auto &F : M) {
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  102   for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) {
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1612   for (const Function &F : M) {
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   67   for (Function &F : M) {
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
   98   for (const auto &F : M) {
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  246   for (Function &F : M) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  666     for (Function &F : M) {
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  186     for (auto &F : M)
  240     for (auto &F : M) {
  257     for (auto &F : M)
lib/Transforms/Coroutines/CoroSplit.cpp
  643                                   OrigF.getParent()->end());
lib/Transforms/IPO/AlwaysInliner.cpp
   48   for (Function &F : M)
lib/Transforms/IPO/Attributor.cpp
 4630     for (Function &F : M)
 4933   for (Function &F : M)
 4936   for (Function &F : M) {
lib/Transforms/IPO/BlockExtractor.cpp
  170   for (Function &F : M) {
  227     for (Function &F : M)
lib/Transforms/IPO/CalledValuePropagation.cpp
  377   for (Function &F : M)
lib/Transforms/IPO/DeadArgumentElimination.cpp
 1093   for (Module::iterator I = M.begin(), E = M.end(); I != E; ) {
 1104   for (auto &F : M)
 1109   for (Module::iterator I = M.begin(), E = M.end(); I != E; ) {
 1118   for (auto &F : M)
lib/Transforms/IPO/ElimAvailExtern.cpp
   52   for (Function &F : M) {
lib/Transforms/IPO/ExtractGV.cpp
  104       for (Function &F : M) {
lib/Transforms/IPO/FunctionImport.cpp
 1000   for (auto &GV : TheModule)
 1107     for (Function &F : *SrcModule) {
lib/Transforms/IPO/GlobalDCE.cpp
  293   for (Function &F : M)
  369   for (Function &F : M)
lib/Transforms/IPO/GlobalOpt.cpp
 2256   for (Module::iterator FI = M.begin(), E = M.end(); FI != E;) {
 2263   for (Module::iterator FI = M.begin(), E = M.end(); FI != E; ) {
 2826   if (FuncIter == M.end())
 2928     for (Function &F : M)
lib/Transforms/IPO/HotColdSplitting.cpp
  639   for (auto It = M.begin(), End = M.end(); It != End; ++It) {
lib/Transforms/IPO/IPConstantPropagation.cpp
  297     for (Function &F : M)
lib/Transforms/IPO/Internalize.cpp
  159     for (Function &F : M)
  181   for (Function &I : M) {
lib/Transforms/IPO/LowerTypeTests.cpp
 1784     for (auto &F : M) {
lib/Transforms/IPO/MergeFunctions.cpp
  398   for (Function &Func : M) {
lib/Transforms/IPO/PartialInlining.cpp
 1456   for (Function &F : M)
lib/Transforms/IPO/SampleProfile.cpp
  211     for (const auto &F : CurrentModule) {
 1748   for (auto &F : M)
lib/Transforms/IPO/StripDeadPrototypes.cpp
   32   for (Module::iterator I = M.begin(), E = M.end(); I != E; ) {
lib/Transforms/IPO/StripSymbols.cpp
  217   for (Function &I : M) {
lib/Transforms/IPO/SyntheticCountsPropagation.cpp
   75   for (Function &F : M) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  144   for (auto I = M.begin(), E = M.end(); I != E;) {
  288   for (Function &F : *MergedM)
  298   for (auto &F : M)
lib/Transforms/Instrumentation/CGProfile.cpp
   40   for (auto &F : M) {
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  784   for (Function &i : M) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  353   for (Function &F : M)
 1443   for (Function &F : M) {
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  395   for (auto &F : M) {
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   70     for (Function &F : M) {
  163     for (Function &F : M) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  516   for (Function &F : M) {
  531   for (Function &F : M)
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1450   for (Function &F : M)
 1471   for (auto &F : M) {
 1564   for (auto &F : M) {
lib/Transforms/Instrumentation/PoisonChecking.cpp
  319   for (auto &F : M)
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  451   for (auto &F : M)
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  131   for (Function &F : M) {
  175     for (Function &F : M) {
 2509   for (Function &F : M)
 2512   for (Function &F : M)
lib/Transforms/Scalar/SCCP.cpp
 2012   for (Function &F : M) {
 2053     for (Function &F : M)
 2067   for (Function &F : M) {
lib/Transforms/Utils/FunctionImportUtils.cpp
  294   for (Function &SF : M)
lib/Transforms/Utils/MetaRenamer.cpp
  124       for (auto &F : M) {
lib/Transforms/Utils/ModuleUtils.cpp
  264   for (auto &F : *M)
lib/Transforms/Utils/NameAnonGlobals.cpp
   40     for (auto &F : TheModule) {
lib/Transforms/Utils/SplitModule.cpp
  254     for (Function &F : *M)
tools/bugpoint/CrashDebugger.cpp
  260     for (Function &I : *M)
  287     for (Function &I : *M) {
  495   for (auto &F : *M) {
  583   for (auto &F : *M)
  602   for (auto &F : *M) {
  692   for (auto &F : *M)
  775   for (Module::iterator MI = M->begin(), ME = M->end(); MI != ME; ++MI)
 1009     for (const Function &F : BD.getProgram())
 1045                                 E = BD.getProgram().end();
 1100   for (Function &F : BD.getProgram())
 1120   for (Function &F : BD.getProgram())
 1154     for (Function &F : BD.getProgram())
 1176     for (Function &F : BD.getProgram())
 1189     for (Function &F : BD.getProgram())
tools/bugpoint/ExtractFunction.cpp
  132   for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
  310   for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
  334   for (Function &I : *New)
  386   for (Function &F : *M)
tools/bugpoint/Miscompilation.cpp
  296   for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
  415                           E = ToOptimizeLoopExtracted->end();
  586   for (Module::iterator I = Extracted->begin(), E = Extracted->end(); I != E;
  622   for (Function &F : Prog)
  834   for (Module::iterator F = Safe->begin(), E = Safe->end(); F != E; ++F) {
tools/clang/lib/CodeGen/BackendUtil.cpp
  901     for (Function &F : *TheModule)
tools/clang/lib/CodeGen/CodeGenAction.cpp
  207           for (Function &F : *LM.Module)
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
  103   for (const auto& Func: M)
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   80     for (; FuncPtr != M->end(); ++FuncPtr)
   83     assert(FuncPtr != M->end());
   86     for (; FuncPtr != M->end(); ++FuncPtr)
   89     assert(FuncPtr == M->end());
tools/lldb/source/Expression/IRExecutionUnit.cpp
  329   for (llvm::Function &function : *m_module) {
tools/lldb/source/Expression/IRInterpreter.cpp
  494   for (Module::iterator fi = module.begin(), fe = module.end(); fi != fe;
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1918   for (llvm::Function &function : *m_module) {
 1959   for (llvm::Function &function : *m_module) {
 1980   for (llvm::Function &function : *m_module) {
tools/lli/lli.cpp
  707       for (const auto &F : M) {
tools/llvm-diff/DifferenceEngine.cpp
  691   for (Module::iterator I = L->begin(), E = L->end(); I != E; ++I) {
  707   for (Module::iterator I = R->begin(), E = R->end(); I != E; ++I) {
tools/llvm-extract/llvm-extract.cpp
  240     for (Module::iterator F = M->begin(), E = M->end(); F != E;
  327     for (auto &F : *M) {
tools/llvm-reduce/deltas/ReduceArguments.cpp
   49   for (auto &F : *Program)
  109   for (auto &F : *Program)
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
   88   for (auto &F : *Program)
   98   for (auto &F : *Program)
  109   for (auto &F : *Program)
  131   for (auto &F : *Program)
tools/llvm-reduce/deltas/ReduceFunctions.cpp
   29   for (auto &F : *Program)
   40   for (auto &F : *Program)
   65   for (auto &F : *Program)
tools/llvm-reduce/deltas/ReduceInstructions.cpp
   25   for (auto &F : *Program)
   36   for (auto &F : *Program)
   53   for (auto &F : *Program)
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   64   for (auto &F : *Program) {
   75   for (auto &F : *Program) {
  123   for (auto &F : *Program) {
tools/opt/AnalysisWrappers.cpp
   35       for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) {
tools/opt/opt.cpp
  845     for (Function &F : *M)
tools/verify-uselistorder/verify-uselistorder.cpp
  470   for (Function &F : M)
  481   for (Function &F : M) {
  491   for (Function &F : M) {
unittests/Analysis/LazyCallGraphTest.cpp
  396   for (Function &F : M)
unittests/IR/LegacyPassManagerTest.cpp
  270         for (Module::iterator I=M.begin(),E=M.end(); I != E; ++I) {
unittests/IR/PassManagerTest.cpp
   62     for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
  573   for (Function &F : *M)
usr/include/c++/7.4.0/bits/range_access.h
   68     end(_Container& __cont) -> decltype(__cont.end())
   69     { return __cont.end(); }