class IRTranslator

Declaration

class IRTranslator : public MachineFunctionPass { /* full declaration omitted */ };

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:61

Inherits from: MachineFunctionPass

Member Variables

public static char ID

Method Overview

Inherited from MachineFunctionPass:

Inherited from FunctionPass:

Inherited from Pass:

Methods

IRTranslator()

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:619

void getAnalysisUsage(
    llvm::AnalysisUsage& AU) const

Description

getAnalysisUsage - Subclasses that override getAnalysisUsage must call this. For MachineFunctionPasses, calling AU.preservesCFG() indicates that the pass does not modify the MachineBasicBlock CFG.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:623

Parameters

llvm::AnalysisUsage& AU

SmallVector<llvm::MachineBasicBlock*, 1>
getMachinePredBBs(
    llvm::IRTranslator::CFGEdge Edge)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:602

Parameters

llvm::IRTranslator::CFGEdge Edge

llvm::StringRef getPassName() const

Description

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:621

bool runOnMachineFunction(
    llvm::MachineFunction& MF)

Description

runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:637

Parameters

llvm::MachineFunction& MF