LLVM 20.0.0git
Functions
Floating Point Types
Collaboration diagram for Floating Point Types:

Functions

LLVMTypeRef LLVMHalfTypeInContext (LLVMContextRef C)
 Obtain a 16-bit floating point type from a context.
 
LLVMTypeRef LLVMBFloatTypeInContext (LLVMContextRef C)
 Obtain a 16-bit brain floating point type from a context.
 
LLVMTypeRef LLVMFloatTypeInContext (LLVMContextRef C)
 Obtain a 32-bit floating point type from a context.
 
LLVMTypeRef LLVMDoubleTypeInContext (LLVMContextRef C)
 Obtain a 64-bit floating point type from a context.
 
LLVMTypeRef LLVMX86FP80TypeInContext (LLVMContextRef C)
 Obtain a 80-bit floating point type (X87) from a context.
 
LLVMTypeRef LLVMFP128TypeInContext (LLVMContextRef C)
 Obtain a 128-bit floating point type (112-bit mantissa) from a context.
 
LLVMTypeRef LLVMPPCFP128TypeInContext (LLVMContextRef C)
 Obtain a 128-bit floating point type (two 64-bits) from a context.
 
LLVMTypeRef LLVMHalfType (void)
 Obtain a floating point type from the global context.
 
LLVMTypeRef LLVMBFloatType (void)
 
LLVMTypeRef LLVMFloatType (void)
 
LLVMTypeRef LLVMDoubleType (void)
 
LLVMTypeRef LLVMX86FP80Type (void)
 
LLVMTypeRef LLVMFP128Type (void)
 
LLVMTypeRef LLVMPPCFP128Type (void)
 

Detailed Description

Function Documentation

◆ LLVMBFloatType()

LLVMTypeRef LLVMBFloatType ( void  )

Definition at line 740 of file Core.cpp.

References LLVMBFloatTypeInContext(), and LLVMGetGlobalContext().

◆ LLVMBFloatTypeInContext()

LLVMTypeRef LLVMBFloatTypeInContext ( LLVMContextRef  C)

Obtain a 16-bit brain floating point type from a context.

Definition at line 715 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getBFloatTy(), and unwrap().

Referenced by LLVMBFloatType().

◆ LLVMDoubleType()

LLVMTypeRef LLVMDoubleType ( void  )

Definition at line 746 of file Core.cpp.

References LLVMDoubleTypeInContext(), and LLVMGetGlobalContext().

◆ LLVMDoubleTypeInContext()

LLVMTypeRef LLVMDoubleTypeInContext ( LLVMContextRef  C)

Obtain a 64-bit floating point type from a context.

Definition at line 721 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getDoubleTy(), and unwrap().

Referenced by LLVMDoubleType().

◆ LLVMFloatType()

LLVMTypeRef LLVMFloatType ( void  )

Definition at line 743 of file Core.cpp.

References LLVMFloatTypeInContext(), and LLVMGetGlobalContext().

◆ LLVMFloatTypeInContext()

LLVMTypeRef LLVMFloatTypeInContext ( LLVMContextRef  C)

Obtain a 32-bit floating point type from a context.

Definition at line 718 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getFloatTy(), and unwrap().

Referenced by LLVMFloatType().

◆ LLVMFP128Type()

LLVMTypeRef LLVMFP128Type ( void  )

Definition at line 752 of file Core.cpp.

References LLVMFP128TypeInContext(), and LLVMGetGlobalContext().

◆ LLVMFP128TypeInContext()

LLVMTypeRef LLVMFP128TypeInContext ( LLVMContextRef  C)

Obtain a 128-bit floating point type (112-bit mantissa) from a context.

Definition at line 727 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getFP128Ty(), and unwrap().

Referenced by LLVMFP128Type().

◆ LLVMHalfType()

LLVMTypeRef LLVMHalfType ( void  )

Obtain a floating point type from the global context.

These map to the functions in this group of the same name.

Definition at line 737 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMHalfTypeInContext().

◆ LLVMHalfTypeInContext()

LLVMTypeRef LLVMHalfTypeInContext ( LLVMContextRef  C)

Obtain a 16-bit floating point type from a context.

Definition at line 712 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getHalfTy(), and unwrap().

Referenced by LLVMHalfType().

◆ LLVMPPCFP128Type()

LLVMTypeRef LLVMPPCFP128Type ( void  )

Definition at line 755 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMPPCFP128TypeInContext().

◆ LLVMPPCFP128TypeInContext()

LLVMTypeRef LLVMPPCFP128TypeInContext ( LLVMContextRef  C)

Obtain a 128-bit floating point type (two 64-bits) from a context.

Definition at line 730 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getPPC_FP128Ty(), and unwrap().

Referenced by LLVMPPCFP128Type().

◆ LLVMX86FP80Type()

LLVMTypeRef LLVMX86FP80Type ( void  )

Definition at line 749 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMX86FP80TypeInContext().

◆ LLVMX86FP80TypeInContext()

LLVMTypeRef LLVMX86FP80TypeInContext ( LLVMContextRef  C)

Obtain a 80-bit floating point type (X87) from a context.

Definition at line 724 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getX86_FP80Ty(), and unwrap().

Referenced by LLVMX86FP80Type().