LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::IPSCCPOptions Struct Reference

A set of parameters to control various transforms performed by IPSCCP pass. More...

#include "llvm/Transforms/IPO/SCCP.h"

Public Member Functions

 IPSCCPOptions (bool AllowFuncSpec=true)
 
IPSCCPOptionssetFuncSpec (bool FuncSpec)
 Enables or disables Specialization of Functions.
 

Public Attributes

bool AllowFuncSpec
 

Detailed Description

A set of parameters to control various transforms performed by IPSCCP pass.

Each of the boolean parameters can be set to: true - enabling the transformation. false - disabling the transformation. Intended use is to create a default object, modify parameters with additional setters and then pass it to IPSCCP.

Definition at line 35 of file SCCP.h.

Constructor & Destructor Documentation

◆ IPSCCPOptions()

llvm::IPSCCPOptions::IPSCCPOptions ( bool  AllowFuncSpec = true)
inline

Definition at line 38 of file SCCP.h.

Member Function Documentation

◆ setFuncSpec()

IPSCCPOptions & llvm::IPSCCPOptions::setFuncSpec ( bool  FuncSpec)
inline

Enables or disables Specialization of Functions.

Definition at line 41 of file SCCP.h.

References AllowFuncSpec.

Member Data Documentation

◆ AllowFuncSpec

bool llvm::IPSCCPOptions::AllowFuncSpec

Definition at line 36 of file SCCP.h.

Referenced by setFuncSpec().


The documentation for this struct was generated from the following file: