LLVM 22.0.0git
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 42 of file SCCPSolver.h.

Constructor & Destructor Documentation

◆ ArgInfo()

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

Definition at line 46 of file SCCPSolver.h.

References A(), Actual, F, and Formal.

Referenced by hash_value, operator!=(), and operator==().

Member Function Documentation

◆ operator!=()

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

Definition at line 52 of file SCCPSolver.h.

References ArgInfo(), and llvm::Other.

◆ operator==()

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

Definition at line 48 of file SCCPSolver.h.

References Actual, ArgInfo(), Formal, and llvm::Other.

◆ hash_value

hash_code hash_value ( const ArgInfo & A)
friend

Definition at line 54 of file SCCPSolver.h.

References A(), ArgInfo(), llvm::hash_combine(), and hash_value.

Referenced by hash_value.

Member Data Documentation

◆ Actual

Constant* llvm::ArgInfo::Actual

Definition at line 44 of file SCCPSolver.h.

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

◆ Formal

Argument* llvm::ArgInfo::Formal

Definition at line 43 of file SCCPSolver.h.

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


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