LLVM: llvm::FunctionPropertiesInfo Class Reference (original) (raw)

#include "[llvm/Analysis/FunctionPropertiesAnalysis.h](FunctionPropertiesAnalysis%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI bool operator== (const FunctionPropertiesInfo &FPI) const
bool operator!= (const FunctionPropertiesInfo &FPI) const
LLVM_ABI void print (raw_ostream &OS) const
const ir2vec::Embedding & getFunctionEmbedding () const
const ir2vec::Vocabulary * getIR2VecVocab () const
void setFunctionEmbeddingForTest (const ir2vec::Embedding &Embedding)
Public Attributes
int64_t BasicBlockCount = 0
Number of basic blocks.
int64_t BlocksReachedFromConditionalInstruction = 0
Number of blocks reached from a conditional instruction, or that are 'cases' of a SwitchInstr.
int64_t Uses = 0
Number of uses of this function, plus 1 if the function is callable outside the module.
int64_t DirectCallsToDefinedFunctions = 0
Number of direct calls made from this function to other functions defined in this module.
int64_t LoadInstCount = 0
int64_t StoreInstCount = 0
int64_t MaxLoopDepth = 0
int64_t TopLevelLoopCount = 0
int64_t TotalInstructionCount = 0
int64_t BasicBlocksWithSingleSuccessor = 0
int64_t BasicBlocksWithTwoSuccessors = 0
int64_t BasicBlocksWithMoreThanTwoSuccessors = 0
int64_t BasicBlocksWithSinglePredecessor = 0
int64_t BasicBlocksWithTwoPredecessors = 0
int64_t BasicBlocksWithMoreThanTwoPredecessors = 0
int64_t BigBasicBlocks = 0
int64_t MediumBasicBlocks = 0
int64_t SmallBasicBlocks = 0
int64_t CastInstructionCount = 0
int64_t FloatingPointInstructionCount = 0
int64_t IntegerInstructionCount = 0
int64_t ConstantIntOperandCount = 0
int64_t ConstantFPOperandCount = 0
int64_t ConstantOperandCount = 0
int64_t InstructionOperandCount = 0
int64_t BasicBlockOperandCount = 0
int64_t GlobalValueOperandCount = 0
int64_t InlineAsmOperandCount = 0
int64_t ArgumentOperandCount = 0
int64_t UnknownOperandCount = 0
int64_t CriticalEdgeCount = 0
int64_t ControlFlowEdgeCount = 0
int64_t UnconditionalBranchCount = 0
int64_t IntrinsicCount = 0
int64_t DirectCallCount = 0
int64_t IndirectCallCount = 0
int64_t CallReturnsIntegerCount = 0
int64_t CallReturnsFloatCount = 0
int64_t CallReturnsPointerCount = 0
int64_t CallReturnsVectorIntCount = 0
int64_t CallReturnsVectorFloatCount = 0
int64_t CallReturnsVectorPointerCount = 0
int64_t CallWithManyArgumentsCount = 0
int64_t CallWithPointerArgumentCount = 0
Friends
class FunctionPropertiesUpdater

getFunctionEmbedding()

getFunctionPropertiesInfo() [1/2]

getFunctionPropertiesInfo() [2/2]

getIR2VecVocab()

operator!=()

operator==()

Definition at line 267 of file FunctionPropertiesAnalysis.cpp.

References ArgumentOperandCount, BasicBlockCount, BasicBlockOperandCount, BasicBlocksWithMoreThanTwoPredecessors, BasicBlocksWithMoreThanTwoSuccessors, BasicBlocksWithSinglePredecessor, BasicBlocksWithSingleSuccessor, BasicBlocksWithTwoPredecessors, BasicBlocksWithTwoSuccessors, BigBasicBlocks, BlocksReachedFromConditionalInstruction, CallReturnsFloatCount, CallReturnsIntegerCount, CallReturnsPointerCount, CallReturnsVectorFloatCount, CallReturnsVectorIntCount, CallReturnsVectorPointerCount, CallWithManyArgumentsCount, CallWithPointerArgumentCount, CastInstructionCount, ConstantFPOperandCount, ConstantIntOperandCount, ConstantOperandCount, ControlFlowEdgeCount, CriticalEdgeCount, DirectCallCount, DirectCallsToDefinedFunctions, FloatingPointInstructionCount, GlobalValueOperandCount, IndirectCallCount, InlineAsmOperandCount, InstructionOperandCount, IntegerInstructionCount, IntrinsicCount, LoadInstCount, MaxLoopDepth, MediumBasicBlocks, SmallBasicBlocks, StoreInstCount, TopLevelLoopCount, TotalInstructionCount, UnconditionalBranchCount, UnknownOperandCount, and Uses.

print()

void FunctionPropertiesInfo::print ( raw_ostream & OS ) const

Definition at line 327 of file FunctionPropertiesAnalysis.cpp.

References ArgumentOperandCount, BasicBlockCount, BasicBlockOperandCount, BasicBlocksWithMoreThanTwoPredecessors, BasicBlocksWithMoreThanTwoSuccessors, BasicBlocksWithSinglePredecessor, BasicBlocksWithSingleSuccessor, BasicBlocksWithTwoPredecessors, BasicBlocksWithTwoSuccessors, BigBasicBlocks, BlocksReachedFromConditionalInstruction, CallReturnsFloatCount, CallReturnsIntegerCount, CallReturnsPointerCount, CallReturnsVectorFloatCount, CallReturnsVectorIntCount, CallReturnsVectorPointerCount, CallWithManyArgumentsCount, CallWithPointerArgumentCount, CastInstructionCount, ConstantFPOperandCount, ConstantIntOperandCount, ConstantOperandCount, ControlFlowEdgeCount, CriticalEdgeCount, DirectCallCount, DirectCallsToDefinedFunctions, llvm::EnableDetailedFunctionProperties(), FloatingPointInstructionCount, GlobalValueOperandCount, IndirectCallCount, InlineAsmOperandCount, InstructionOperandCount, IntegerInstructionCount, IntrinsicCount, LoadInstCount, MaxLoopDepth, MediumBasicBlocks, PRINT_PROPERTY, SmallBasicBlocks, StoreInstCount, TopLevelLoopCount, TotalInstructionCount, UnconditionalBranchCount, UnknownOperandCount, and Uses.

setFunctionEmbeddingForTest()

FunctionPropertiesUpdater

ArgumentOperandCount

int64_t llvm::FunctionPropertiesInfo::ArgumentOperandCount = 0

BasicBlockCount

int64_t llvm::FunctionPropertiesInfo::BasicBlockCount = 0

BasicBlockOperandCount

int64_t llvm::FunctionPropertiesInfo::BasicBlockOperandCount = 0

BasicBlocksWithMoreThanTwoPredecessors

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithMoreThanTwoPredecessors = 0

BasicBlocksWithMoreThanTwoSuccessors

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithMoreThanTwoSuccessors = 0

BasicBlocksWithSinglePredecessor

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithSinglePredecessor = 0

BasicBlocksWithSingleSuccessor

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithSingleSuccessor = 0

BasicBlocksWithTwoPredecessors

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithTwoPredecessors = 0

BasicBlocksWithTwoSuccessors

int64_t llvm::FunctionPropertiesInfo::BasicBlocksWithTwoSuccessors = 0

BigBasicBlocks

int64_t llvm::FunctionPropertiesInfo::BigBasicBlocks = 0

BlocksReachedFromConditionalInstruction

int64_t llvm::FunctionPropertiesInfo::BlocksReachedFromConditionalInstruction = 0

CallReturnsFloatCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsFloatCount = 0

CallReturnsIntegerCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsIntegerCount = 0

CallReturnsPointerCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsPointerCount = 0

CallReturnsVectorFloatCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsVectorFloatCount = 0

CallReturnsVectorIntCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsVectorIntCount = 0

CallReturnsVectorPointerCount

int64_t llvm::FunctionPropertiesInfo::CallReturnsVectorPointerCount = 0

CallWithManyArgumentsCount

int64_t llvm::FunctionPropertiesInfo::CallWithManyArgumentsCount = 0

CallWithPointerArgumentCount

int64_t llvm::FunctionPropertiesInfo::CallWithPointerArgumentCount = 0

CastInstructionCount

int64_t llvm::FunctionPropertiesInfo::CastInstructionCount = 0

ConstantFPOperandCount

int64_t llvm::FunctionPropertiesInfo::ConstantFPOperandCount = 0

ConstantIntOperandCount

int64_t llvm::FunctionPropertiesInfo::ConstantIntOperandCount = 0

ConstantOperandCount

int64_t llvm::FunctionPropertiesInfo::ConstantOperandCount = 0

ControlFlowEdgeCount

int64_t llvm::FunctionPropertiesInfo::ControlFlowEdgeCount = 0

CriticalEdgeCount

int64_t llvm::FunctionPropertiesInfo::CriticalEdgeCount = 0

DirectCallCount

int64_t llvm::FunctionPropertiesInfo::DirectCallCount = 0

DirectCallsToDefinedFunctions

int64_t llvm::FunctionPropertiesInfo::DirectCallsToDefinedFunctions = 0

FloatingPointInstructionCount

int64_t llvm::FunctionPropertiesInfo::FloatingPointInstructionCount = 0

GlobalValueOperandCount

int64_t llvm::FunctionPropertiesInfo::GlobalValueOperandCount = 0

IndirectCallCount

int64_t llvm::FunctionPropertiesInfo::IndirectCallCount = 0

InlineAsmOperandCount

int64_t llvm::FunctionPropertiesInfo::InlineAsmOperandCount = 0

InstructionOperandCount

int64_t llvm::FunctionPropertiesInfo::InstructionOperandCount = 0

IntegerInstructionCount

int64_t llvm::FunctionPropertiesInfo::IntegerInstructionCount = 0

IntrinsicCount

int64_t llvm::FunctionPropertiesInfo::IntrinsicCount = 0

LoadInstCount

int64_t llvm::FunctionPropertiesInfo::LoadInstCount = 0

MaxLoopDepth

int64_t llvm::FunctionPropertiesInfo::MaxLoopDepth = 0

MediumBasicBlocks

int64_t llvm::FunctionPropertiesInfo::MediumBasicBlocks = 0

SmallBasicBlocks

int64_t llvm::FunctionPropertiesInfo::SmallBasicBlocks = 0

StoreInstCount

int64_t llvm::FunctionPropertiesInfo::StoreInstCount = 0

TopLevelLoopCount

int64_t llvm::FunctionPropertiesInfo::TopLevelLoopCount = 0

TotalInstructionCount

int64_t llvm::FunctionPropertiesInfo::TotalInstructionCount = 0

UnconditionalBranchCount

int64_t llvm::FunctionPropertiesInfo::UnconditionalBranchCount = 0

UnknownOperandCount

int64_t llvm::FunctionPropertiesInfo::UnknownOperandCount = 0

Uses

int64_t llvm::FunctionPropertiesInfo::Uses = 0


The documentation for this class was generated from the following files: