LLVM API Documentation

DirectFPRules< ConstantClass, BuiltinType, Ty > Struct Template Reference

Inheritance diagram for DirectFPRules< ConstantClass, BuiltinType, Ty >:

Inheritance graph
[legend]
Collaboration diagram for DirectFPRules< ConstantClass, BuiltinType, Ty >:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static ConstantRem (const ConstantClass *V1, const ConstantClass *V2)
static ConstantDiv (const ConstantClass *V1, const ConstantClass *V2)

Detailed Description

template<class ConstantClass, class BuiltinType, Type ** Ty>
struct DirectFPRules< ConstantClass, BuiltinType, Ty >

DirectFPRules provides implementations of functions that are valid on floating point types, but not all types in general.

Definition at line 547 of file VMCore/ConstantFolding.cpp.


Member Function Documentation

template<class ConstantClass, class BuiltinType, Type ** Ty>
static Constant* DirectFPRules< ConstantClass, BuiltinType, Ty >::Div ( const ConstantClass *  V1,
const ConstantClass *  V2 
) [inline, static]

Reimplemented from DirectRules< ConstantClass, BuiltinType, Ty, DirectFPRules< ConstantClass, BuiltinType, Ty > >.

Definition at line 556 of file VMCore/ConstantFolding.cpp.

References R, and Ty.

template<class ConstantClass, class BuiltinType, Type ** Ty>
static Constant* DirectFPRules< ConstantClass, BuiltinType, Ty >::Rem ( const ConstantClass *  V1,
const ConstantClass *  V2 
) [inline, static]

Reimplemented from TemplateRules< ConstantClass, DirectFPRules< ConstantClass, BuiltinType, Ty > >.

Definition at line 550 of file VMCore/ConstantFolding.cpp.

References Ty.


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