class DummyCGSCCPass

Declaration

class DummyCGSCCPass : public CallGraphSCCPass { /* full declaration omitted */ };

Description

This pass is required by interprocedural register allocation. It forces codegen to follow bottom up order on call graph.

Declared at: llvm/include/llvm/Analysis/CallGraphSCCPass.h:122

Inherits from: CallGraphSCCPass

Member Variables

public static char ID

Method Overview

Inherited from CallGraphSCCPass:

Inherited from Pass:

Methods

DummyCGSCCPass()

Declared at: llvm/include/llvm/Analysis/CallGraphSCCPass.h:126

void getAnalysisUsage(
    llvm::AnalysisUsage& AU) const

Description

getAnalysisUsage - For this class, we declare that we require and preserve the call graph. If the derived class implements this method, it should always explicitly call the implementation here.

Declared at: llvm/include/llvm/Analysis/CallGraphSCCPass.h:133

Parameters

llvm::AnalysisUsage& AU

bool runOnSCC(llvm::CallGraphSCC& SCC)

Description

runOnSCC - This method should be implemented by the subclass to perform whatever action is necessary for the specified SCC. Note that non-recursive (or only self-recursive) functions will have an SCC size of 1, where recursive portions of the call graph will have SCC size > 1. SCC passes that add or delete functions to the SCC are required to update the SCC list, otherwise stale pointers may be dereferenced.

Declared at: llvm/include/llvm/Analysis/CallGraphSCCPass.h:131

Parameters

llvm::CallGraphSCC& SCC