class IndVarSimplifyPass

Declaration

class IndVarSimplifyPass : 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/Scalar/IndVarSimplify.h:25

Inherits from: PassInfoMixin

Member Variables

private bool WidenIndVars
Perform IV widening during the pass.

Method Overview

  • public IndVarSimplifyPass(bool WidenIndVars = true)
  • public llvm::PreservedAnalyses run(llvm::Loop & L, llvm::LoopAnalysisManager & AM, llvm::LoopStandardAnalysisResults & AR, llvm::LPMUpdater & U)

Methods

IndVarSimplifyPass(bool WidenIndVars = true)

Declared at: llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h:30

Parameters

bool WidenIndVars = true

llvm::PreservedAnalyses run(
    llvm::Loop& L,
    llvm::LoopAnalysisManager& AM,
    llvm::LoopStandardAnalysisResults& AR,
    llvm::LPMUpdater& U)

Declared at: llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h:31

Parameters

llvm::Loop& L
llvm::LoopAnalysisManager& AM
llvm::LoopStandardAnalysisResults& AR
llvm::LPMUpdater& U