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

References

include/llvm/Analysis/LoopInfoImpl.h
  574   for (LoopT *RootL : reverse(*this)) {
include/llvm/Transforms/InstCombine/InstCombineWorklist.h
   62     for (Instruction *I : reverse(List)) {
include/llvm/Transforms/Scalar/LoopPassManager.h
  121   for (Loop *RootL : reverse(Loops)) {
  333     internal::appendLoopsToWorklist(reverse(LI), Worklist);
lib/Analysis/BranchProbabilityInfo.cpp
  551       for (Instruction *I : llvm::reverse(InstChain)) {
lib/Analysis/LazyCallGraph.cpp
  856           find_if(reverse(PendingSCCStack), [RootDFSNumber](const Node *N) {
 1271       auto StackRI = find_if(reverse(PendingRefSCCStack), [&](Node *N) {
 1650           find_if(reverse(PendingSCCStack), [RootDFSNumber](const Node *N) {
lib/Analysis/LoopAnalysisManager.cpp
   93   for (Loop *L : reverse(PreOrderLoops)) {
lib/Analysis/LoopPass.cpp
  130   for (Loop *I : reverse(*L))
  182   for (Loop *L : reverse(*LI))
lib/Analysis/MemoryDependenceAnalysis.cpp
 1457     for (NonLocalDepEntry &I : llvm::reverse(*Cache)) {
lib/Analysis/ScalarEvolution.cpp
 8036   for (auto &LS : reverse(ValuesAtScopes[V]))
lib/Analysis/SyntheticCountsUtils.cpp
   99   for (auto &SCC : reverse(SCCs))
lib/CodeGen/AsmPrinter/ARMException.cpp
  109   for (const GlobalValue *GV : reverse(TypeInfos)) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1508     for (const GlobalAlias *AncestorAlias : llvm::reverse(AliasStack))
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  324        llvm::reverse(QualifiedNameComponents)) {
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  729   for (auto Var : reverse(Input)) {
 1306   for (auto &Btr : reverse(ExprRefedBaseTypes)) {
lib/CodeGen/CodeGenPrepare.cpp
 6182   for (Use *U : reverse(OpsToSink)) {
 7101     for (auto &I : reverse(BB)) {
lib/CodeGen/MachineBlockPlacement.cpp
 1241     for (MachineBasicBlock *src : reverse(Chain.Edges)) {
lib/CodeGen/ModuloSchedule.cpp
 1655   for (MachineBasicBlock *B : reverse(Blocks)) {
 1663   for (MachineBasicBlock *B : reverse(Blocks))
lib/CodeGen/PrologEpilogInserter.cpp
  572     for (const CalleeSavedInfo &CI : reverse(CSI)) {
lib/CodeGen/VirtRegMap.cpp
  449     for (MachineInstr *BundledMI : llvm::reverse(MIs)) {
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
  232   for (uint32_t Offset : reverse(SO)) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  643   auto I = find(reverse(EventListeners), L);
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  439     auto I = find(reverse(EventListeners), L);
lib/IR/DebugLoc.cpp
  107   for (const DILocation *MD : reverse(InlinedAtLocations))
lib/Support/DynamicLibrary.cpp
   83       for (void *Handle : llvm::reverse(Handles)) {
lib/Support/Unix/DynamicLibrary.inc
   18   for (void *Handle : llvm::reverse(Handles))
lib/Target/AArch64/AArch64FrameLowering.cpp
 2154     for (const RegPairInfo &RPI : reverse(RegPairs))
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  217   for (auto *Node : reverse(NodeList)) {
lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  133     for (const CalleeSavedInfo &CI : reverse(CSI)) {
lib/Target/ARM/ARMConstantIslandPass.cpp
 1934   for (ImmBranch &Br : reverse(ImmBranches)) {
lib/Target/ARM/ARMLowOverheadLoops.cpp
  266   for (auto *MBB : reverse(ML->getBlocks())) {
lib/Target/ARM/ARMParallelDSP.cpp
  521     for (Instruction &I : reverse(BB)) {
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
11560   for (NearMissInfo &I : reverse(NearMissesIn)) {
lib/Target/ARM/Thumb1FrameLowering.cpp
  920     for (unsigned Reg : llvm::reverse(RegsToPush))
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1483   for (SDNode *S : reverse(Queue))
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  527   for (const auto &R : reverse(Sorted))
lib/Target/SystemZ/SystemZTDC.cpp
  347   for (auto &It : reverse(ConvertedInsts)) {
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  540       for (auto &MI : reverse(*Header)) {
  871   for (auto &MBB : reverse(MF)) {
  873     for (auto &MI : reverse(MBB)) {
  912   for (auto &MBB : reverse(MF)) {
  914     for (auto &MI : reverse(MBB)) {
 1173   for (auto &MBB : reverse(MF)) {
 1174     for (auto &MI : reverse(MBB)) {
 1213   for (auto X : reverse(Stack)) {
 1243   for (MachineBasicBlock &MBB : reverse(MF)) {
 1244     for (MachineInstr &MI : reverse(MBB)) {
 1300   for (auto &MBB : reverse(MF)) {
lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
   27   for (MachineInstr *DBI : reverse(DbgValues))
   40   for (MachineInstr *DBI : reverse(DbgValues)) {
lib/Target/X86/X86AvoidTrailingCall.cpp
   81       LastRealInstr = llvm::find_if(reverse(RMBB), isRealInstruction);
lib/Target/X86/X86FastISel.cpp
  973     for (const Value *I : reverse(GEPs))
lib/Target/X86/X86ISelLowering.cpp
31131     for (auto &II : reverse(*MBB)) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  632     for (MachineInstr &MI : llvm::reverse(MBB)) {
lib/Transforms/IPO/FunctionAttrs.cpp
 1604   for (auto *F : llvm::reverse(Worklist))
lib/Transforms/IPO/Inliner.cpp
 1099         for (CallSite &CS : reverse(IFI.InlinedCallSites))
lib/Transforms/InstCombine/InstructionCombining.cpp
 3163   for (auto *DII : reverse(DbgUsers)) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  469   for (auto *Loop : llvm::reverse(Loops)) {
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  376   for (Instruction *I : reverse(Local)) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
 1547   for (BasicBlock *BB : llvm::reverse(ReverseCFGPostOrder)) {
 1555   for (BasicBlock *BB : llvm::reverse(PostOrder)) {
lib/Transforms/Scalar/Float2Int.cpp
  241   for (auto &It : reverse(SeenInsts)) {
  512   for (auto &I : reverse(ConvertedInsts))
lib/Transforms/Scalar/GVNHoist.cpp
  622       for (std::pair<VNType, Instruction *> &VI : reverse(it1->second)) {
lib/Transforms/Scalar/JumpThreading.cpp
  458   for (Instruction &I : reverse(*BB)) {
 2745   for (auto *Inst : reverse(ToRemove)) {
lib/Transforms/Scalar/LICM.cpp
  515   for (DomTreeNode *DTN : reverse(Worklist)) {
  941     for (Instruction *I : reverse(HoistedInstructions)) {
lib/Transforms/Scalar/LoopDistribute.cpp
  232     for (auto *Inst : reverse(Unused)) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 3050   for (BasicBlock *BB : reverse(LatchPath)) {
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  146     for (auto Op : llvm::reverse(Operations)) {
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  526   for (auto *I : llvm::reverse(ToLift)) {
lib/Transforms/Scalar/MergeICmps.cpp
  287   for (Instruction *Inst : reverse(OtherInsts)) {
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  190   for (Instruction &Inst : reverse(*BB1)) {
lib/Transforms/Scalar/NewGVN.cpp
 3872   for (auto *CC : reverse(CongruenceClasses)) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  629   for (unsigned Index : reverse(ExitCaseIndices)) {
  705   for (auto &ExitCase : reverse(ExitCases)) {
  734   for (auto &ExitCase : reverse(ExitCases)) {
 1172   for (Loop *ChildL : llvm::reverse(OrigRootL))
 1180     for (Loop *ChildL : llvm::reverse(*L))
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  701   for (auto *OrigI : llvm::reverse(SpecList)) {
lib/Transforms/Scalar/StructurizeCFG.cpp
  518   for (RegionNode *RN : reverse(Order)) {
lib/Transforms/Utils/CodeExtractor.cpp
  737       for (unsigned i : reverse(IncomingVals))
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  133   for (Instruction *I : reverse(Visited)) {
lib/Transforms/Utils/LowerSwitch.cpp
  237     for (unsigned III : llvm::reverse(Indices))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5429   for (auto *SI : llvm::reverse(Heads)) {
 6873   for (auto *I : reverse(Instructions)) {
lib/XRay/Profile.cpp
  147   auto RootToLeafPath = reverse(P);
  359         transform(reverse(TSD), std::back_inserter(Path),
tools/clang/lib/ARCMigrate/TransformActions.cpp
  509   for (const CharRange &I : llvm::reverse(Removals)) {
tools/clang/lib/AST/Decl.cpp
 1607   for (const DeclContext *DC : llvm::reverse(Contexts)) {
tools/clang/lib/AST/ExprConstant.cpp
 5398            llvm::reverse(UnionPathLengths)) {
 5872   for (const FieldDecl *FD : llvm::reverse(Fields)) {
tools/clang/lib/Analysis/CFG.cpp
 4859   for (Stmt *S : llvm::reverse(Used)) {
tools/clang/lib/CodeGen/CGCall.cpp
 3189   for (const auto &I : llvm::reverse(Cleanups)) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2403          llvm::reverse(I->getSecond().EscapedVariableLengthDeclsAddrs)) {
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  733     for (SourceMappingRegion &I : llvm::reverse(RegionStack)) {
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  484   auto CryptoIt = llvm::find_if(llvm::reverse(Features), [](const StringRef F) {
tools/clang/lib/Format/TokenAnnotator.cpp
 1963     for (FormatToken *Token : llvm::reverse(Tokens))
tools/clang/lib/Index/IndexBody.cpp
  201     for (DesignatedInitExpr::Designator &D : llvm::reverse(E->designators())) {
  416       for (DesignatedInitExpr::Designator &D : llvm::reverse(E->designators())) {
tools/clang/lib/Lex/PPDirectives.cpp
  764       for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) {
  827   for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) {
 1622   for (auto &Component : llvm::reverse(Components)) {
tools/clang/lib/Lex/PPLexerChange.cpp
   55   for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) {
  592   for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) {
tools/clang/lib/Lex/PPMacroExpansion.cpp
  441     for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) {
tools/clang/lib/Parse/ParseTemplate.cpp
 1482   for (ContainingDC CDC : reverse(DeclContextsToReenter)) {
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1270   for (const CFGBlock *B : llvm::reverse(*Cfg)) {
tools/clang/lib/Sema/ScopeInfo.cpp
  212       llvm::find(llvm::reverse(Uses->second), WeakUseTy(E, true));
tools/clang/lib/Sema/Sema.cpp
 1828   for (auto *Scope : llvm::reverse(FunctionScopes)) {
tools/clang/lib/Sema/SemaAttr.cpp
   68   for (auto &PackedInclude : llvm::reverse(PackIncludeStack)) {
  373   for (const auto &StackSlot : llvm::reverse(PackStack.Stack)) {
  442       auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) {
tools/clang/lib/Sema/SemaCast.cpp
 1479         for (CXXBasePathElement &PE : llvm::reverse(Path))
tools/clang/lib/Sema/SemaChecking.cpp
12606       for (auto &M : llvm::reverse(ModAsSideEffect)) {
tools/clang/lib/Sema/SemaDecl.cpp
10847       for (const FieldDecl *I : llvm::reverse(Fields))
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8345     for (const Stmt *S : llvm::reverse(StmtStack)) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 6284   for (unsigned CVR : llvm::reverse(QualifierUnion)) {
tools/clang/lib/Sema/SemaLookup.cpp
 4486   for (DeclContext *C : llvm::reverse(CurContextChain)) {
 4515   for (DeclContext *C : llvm::reverse(DeclChain)) {
 4536   for (DeclContext *C : llvm::reverse(CurContextChain)) {
tools/clang/lib/Sema/SemaOpenMP.cpp
  397     for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) {
 2997                 for (const auto &SC : llvm::reverse(StackComponents)) {
 3724   for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) {
tools/clang/lib/Serialization/ASTReader.cpp
 1941   for (ModuleFile &I : llvm::reverse(ModuleMgr)) {
tools/clang/lib/Serialization/ModuleManager.cpp
  345     for (ModuleFile &M : llvm::reverse(*this)) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  817   for (CFGElement CE : llvm::reverse(*SrcBlock)) {
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  241     for (StringRef S : llvm::reverse(CmdLine)) {
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
  424   for (const auto &Parent : llvm::reverse(Parents)) {
  442   for (const auto &Parent : llvm::reverse(Parents)) {
tools/clang/tools/extra/clang-doc/Generators.cpp
   80   for (const auto &R : llvm::reverse(Info->Namespace)) {
tools/clang/tools/extra/clangd/FileDistance.cpp
  140   for (llvm::hash_code Hash : llvm::reverse(Ancestors)) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  202              llvm::reverse(DIE->designators()))
tools/clang/tools/extra/clangd/XRefs.cpp
  478   return llvm::join(llvm::reverse(Scopes), "::");
tools/clang/tools/libclang/CIndex.cpp
 2591        llvm::reverse(E->designators())) {
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1310     for (const auto &Base : llvm::reverse(Bases)) {
 1457       for (const auto &arg : llvm::reverse(Args)) {
 2257     for (const auto &Super : llvm::reverse(Supers)) {
tools/lld/ELF/Driver.cpp
  523   for (auto *arg : llvm::reverse(args)) {
tools/lld/ELF/SymbolTable.cpp
  243   for (VersionDefinition &v : llvm::reverse(config->versionDefinitions))
tools/lld/ELF/Writer.cpp
 1412         llvm::find_if(llvm::reverse(script->sectionCommands), isSection).base(),
 1623   for (InputSectionBase *s : llvm::reverse(inputSections)) {
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  289     for (const auto &pos : llvm::reverse(m_format_map.map())) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  982     for (const auto &match : llvm::reverse(matches)) {
tools/lldb/source/Target/StackFrameList.cpp
  386   for (Function *callee : llvm::reverse(path)) {
tools/llvm-profdata/llvm-profdata.cpp
  976     for (auto &hotfunc : llvm::reverse(SortedHottestFuncs))
tools/llvm-xray/xray-account.cpp
  460       for (const auto &Entry : llvm::reverse(ThreadStack.second))
tools/llvm-xray/xray-graph.cpp
  454       for (const auto &Entry : llvm::reverse(ThreadStack.second))
tools/llvm-xray/xray-stacks.cpp
  419           reverse(TS), [&](const std::pair<StackTrieNode *, uint64_t> &E) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 2042     for (Instruction *Prev : reverse(SeenLeaders)) {
tools/polly/lib/Analysis/ScopInfo.cpp
 2784   for (auto &It : reverse(SI)) {
tools/polly/lib/Transform/Simplify.cpp
  170       for (auto *MA : reverse(Accesses)) {
  251       for (MemoryAccess *MA : reverse(Accesses)) {
unittests/ADT/RangeAdapterTest.cpp
  136   TestRev(reverse(v));
  139   TestRev(reverse(c));
  151   TestRev(reverse(TypeParam({0, 1, 2, 3})));
  161           decltype(reverse(*static_cast<TypeParam *>(nullptr)).begin()),
  166           decltype(reverse(*static_cast<const TypeParam *>(nullptr)).begin()),
unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp
  125     auto ReversedIter = llvm::reverse(Ids2);