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

Helper struct shared between Function Specialization and SCCP Solver. More...

#include "llvm/Transforms/Utils/SCCPSolver.h"

Public Member Functions

 ArgInfo (Argument *F, Constant *A)
 
bool operator== (const ArgInfo &Other) const
 
bool operator!= (const ArgInfo &Other) const
 

Public Attributes

ArgumentFormal
 
ConstantActual
 

Friends

hash_code hash_value (const ArgInfo &A)
 

Detailed Description

Helper struct shared between Function Specialization and SCCP Solver.

Definition at line 41 of file SCCPSolver.h.

Constructor & Destructor Documentation

◆ ArgInfo()

llvm::ArgInfo::ArgInfo ( Argument F,
Constant A 
)
inline

Definition at line 45 of file SCCPSolver.h.

Member Function Documentation

◆ operator!=()

bool llvm::ArgInfo::operator!= ( const ArgInfo Other) const
inline

Definition at line 51 of file SCCPSolver.h.

References llvm::Other.

◆ operator==()

bool llvm::ArgInfo::operator== ( const ArgInfo Other) const
inline

Definition at line 47 of file SCCPSolver.h.

References Actual, Formal, and llvm::Other.

Friends And Related Function Documentation

◆ hash_value

hash_code hash_value ( const ArgInfo A)
friend

Definition at line 53 of file SCCPSolver.h.

Member Data Documentation

◆ Actual

Constant* llvm::ArgInfo::Actual

Definition at line 43 of file SCCPSolver.h.

Referenced by operator==(), and llvm::FunctionSpecializer::run().

◆ Formal

Argument* llvm::ArgInfo::Formal

Definition at line 42 of file SCCPSolver.h.

Referenced by operator==(), and llvm::FunctionSpecializer::run().


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