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, unsigned CodeSize)
 
 Spec (Function *F, const SpecSig &&S, unsigned Score, unsigned CodeSize)
 

Public Attributes

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

Detailed Description

Definition at line 128 of file FunctionSpecialization.h.

Constructor & Destructor Documentation

◆ Spec() [1/2]

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

Definition at line 147 of file FunctionSpecialization.h.

◆ Spec() [2/2]

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

Definition at line 149 of file FunctionSpecialization.h.

Member Data Documentation

◆ CallSites

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

Definition at line 145 of file FunctionSpecialization.h.

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

◆ Clone

Function* llvm::Spec::Clone = nullptr

Definition at line 133 of file FunctionSpecialization.h.

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

◆ CodeSize

unsigned llvm::Spec::CodeSize

Definition at line 142 of file FunctionSpecialization.h.

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

◆ F

Function* llvm::Spec::F

Definition at line 130 of file FunctionSpecialization.h.

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

◆ Score

unsigned llvm::Spec::Score

Definition at line 139 of file FunctionSpecialization.h.

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

◆ Sig

SpecSig llvm::Spec::Sig

Definition at line 136 of file FunctionSpecialization.h.

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


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