struct LoopExtractorPass

Declaration

struct LoopExtractorPass : public PassInfoMixin { /* full declaration omitted */ };

Description

A CRTP mix-in to automatically provide informational APIs needed for passes. This provides some boilerplate for types that are passes.

Declared at: llvm/include/llvm/Transforms/IPO/LoopExtractor.h:23

Inherits from: PassInfoMixin

Member Variables

private unsigned int NumLoops

Method Overview

  • public LoopExtractorPass(unsigned int NumLoops = ~0)
  • public void printPipeline(llvm::raw_ostream & OS, function_ref<llvm::StringRef (llvm::StringRef)> MapClassName2PassName)
  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)

Methods

LoopExtractorPass(unsigned int NumLoops = ~0)

Declared at: llvm/include/llvm/Transforms/IPO/LoopExtractor.h:24

Parameters

unsigned int NumLoops = ~0

void printPipeline(
    llvm::raw_ostream& OS,
    function_ref<llvm::StringRef(llvm::StringRef)>
        MapClassName2PassName)

Declared at: llvm/include/llvm/Transforms/IPO/LoopExtractor.h:26

Parameters

llvm::raw_ostream& OS
function_ref<llvm::StringRef(llvm::StringRef)> MapClassName2PassName

llvm::PreservedAnalyses run(
    llvm::Module& M,
    llvm::ModuleAnalysisManager& AM)

Declared at: llvm/include/llvm/Transforms/IPO/LoopExtractor.h:25

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& AM