LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::Spec Struct Reference

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

Public Member Functions

 Spec (Function *F, const SpecSig &S, unsigned Score)
 
 Spec (Function *F, const SpecSig &&S, unsigned Score)
 

Public Attributes

FunctionF
 
FunctionClone = nullptr
 
SpecSig Sig
 
unsigned Score
 
SmallVector< CallBase * > CallSites
 

Detailed Description

Definition at line 121 of file FunctionSpecialization.h.

Constructor & Destructor Documentation

◆ Spec() [1/2]

llvm::Spec::Spec ( Function F,
const SpecSig S,
unsigned  Score 
)
inline

Definition at line 137 of file FunctionSpecialization.h.

◆ Spec() [2/2]

llvm::Spec::Spec ( Function F,
const SpecSig &&  S,
unsigned  Score 
)
inline

Definition at line 139 of file FunctionSpecialization.h.

Member Data Documentation

◆ CallSites

SmallVector<CallBase *> llvm::Spec::CallSites

Definition at line 135 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run().

◆ Clone

Function* llvm::Spec::Clone = nullptr

Definition at line 126 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run().

◆ F

Function* llvm::Spec::F

Definition at line 123 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run().

◆ Score

unsigned llvm::Spec::Score

Definition at line 132 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run().

◆ Sig

SpecSig llvm::Spec::Sig

Definition at line 129 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run().


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