class LowerTypeTestsPass

Declaration

class LowerTypeTestsPass : 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/LowerTypeTests.h:200

Inherits from: PassInfoMixin

Member Variables

private bool UseCommandLine = false
private llvm::ModuleSummaryIndex* ExportSummary = nullptr
private const llvm::ModuleSummaryIndex* ImportSummary = nullptr
private bool DropTypeTests = true

Method Overview

  • public LowerTypeTestsPass()
  • public LowerTypeTestsPass(llvm::ModuleSummaryIndex * ExportSummary, const llvm::ModuleSummaryIndex * ImportSummary, bool DropTypeTests = false)
  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)

Methods

LowerTypeTestsPass()

Declared at: llvm/include/llvm/Transforms/IPO/LowerTypeTests.h:208

LowerTypeTestsPass(
    llvm::ModuleSummaryIndex* ExportSummary,
    const llvm::ModuleSummaryIndex* ImportSummary,
    bool DropTypeTests = false)

Declared at: llvm/include/llvm/Transforms/IPO/LowerTypeTests.h:209

Parameters

llvm::ModuleSummaryIndex* ExportSummary
const llvm::ModuleSummaryIndex* ImportSummary
bool DropTypeTests = false

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

Declared at: llvm/include/llvm/Transforms/IPO/LowerTypeTests.h:214

Parameters

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