llvm::FixedPointBuilder

Helper for lowering fixed-point arithmetic operations to LLVM IR.

Synopsis

Declared in <llvm/IR/FixedPointBuilder.h>

template<class IRBuilderTy>
class FixedPointBuilder;

Member Functions

NameDescription
FixedPointBuilder [constructor]Construct a builder that emits IR through Builder.
CreateAdd Add two fixed-point values and return the result in their common semantic.
CreateDiv Divide two fixed-point values and return the result in their common semantic.
CreateEQ Compare two fixed-point values for equality.
CreateFixedToFixed Convert a fixed-point value from one semantic to another.
CreateFixedToFloating Convert a fixed-point value to a floating-point value of type DstTy.
CreateFixedToInteger Convert a fixed-point value to an integer of the given width and signedness.
CreateFloatingToFixed Convert a floating-point value to a fixed-point value with the given semantic.
CreateGE Compare two fixed-point values for greater-than-or-equal.
CreateGT Compare two fixed-point values for greater-than.
CreateIntegerToFixed Convert an integer value to a fixed-point value with the given semantic.
CreateLE Compare two fixed-point values for less-than-or-equal.
CreateLT Compare two fixed-point values for less-than.
CreateMul Multiply two fixed-point values and return the result in their common semantic.
CreateNE Compare two fixed-point values for inequality.
CreateShl Left shift a fixed-point value by an unsigned integer value.
CreateShr Right shift a fixed-point value by an unsigned integer value.
CreateSub Subtract two fixed-point values and return the result in their common semantic.