LLVM 22.0.0git
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.

References CodeSize, F, Score, and Sig.

◆ Spec() [2/2]

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

Definition at line 149 of file FunctionSpecialization.h.

References CodeSize, F, Score, and Sig.

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(), Spec(), and Spec().

◆ F

Function* llvm::Spec::F

Definition at line 130 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run(), Spec(), and Spec().

◆ Score

unsigned llvm::Spec::Score

Definition at line 139 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run(), Spec(), and Spec().

◆ Sig

SpecSig llvm::Spec::Sig

Definition at line 136 of file FunctionSpecialization.h.

Referenced by llvm::FunctionSpecializer::run(), Spec(), and Spec().


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