Enzyme main
Loading...
Searching...
No Matches
FnTypeInfo Struct Reference

Struct containing all contextual type information for a particular function call. More...

#include "TypeAnalysis/TypeAnalysis.h"

Collaboration diagram for FnTypeInfo:

Public Member Functions

 FnTypeInfo (llvm::Function *fn)
 
 FnTypeInfo (const FnTypeInfo &)=default
 
FnTypeInfooperator= (FnTypeInfo &)=default
 
FnTypeInfooperator= (FnTypeInfo &&)=default
 
std::set< int64_t > knownIntegralValues (llvm::Value *val, const llvm::DominatorTree &DT, std::map< llvm::Value *, std::set< int64_t > > &intseen, llvm::ScalarEvolution &SE) const
 The set of known values val will take.
 

Public Attributes

llvm::Function * Function
 Function being analyzed.
 
std::map< llvm::Argument *, TypeTreeArguments
 Types of arguments.
 
TypeTree Return
 Type of return.
 
std::map< llvm::Argument *, std::set< int64_t > > KnownValues
 The specific constant(s) known to represented by an argument, if constant.
 

Detailed Description

Struct containing all contextual type information for a particular function call.

Definition at line 111 of file TypeAnalysis.h.

Constructor & Destructor Documentation

◆ FnTypeInfo() [1/2]

FnTypeInfo::FnTypeInfo ( llvm::Function * fn)
inline

Definition at line 115 of file TypeAnalysis.h.

◆ FnTypeInfo() [2/2]

FnTypeInfo::FnTypeInfo ( const FnTypeInfo & )
default

Member Function Documentation

◆ knownIntegralValues()

std::set< int64_t > FnTypeInfo::knownIntegralValues ( llvm::Value * val,
const llvm::DominatorTree & DT,
std::map< llvm::Value *, std::set< int64_t > > & intseen,
llvm::ScalarEvolution & SE ) const

◆ operator=() [1/2]

FnTypeInfo & FnTypeInfo::operator= ( FnTypeInfo && )
default

◆ operator=() [2/2]

FnTypeInfo & FnTypeInfo::operator= ( FnTypeInfo & )
default

Member Data Documentation

◆ Arguments

◆ Function

◆ KnownValues

◆ Return


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