Add f16
and f128
to rustc_type_ir::FloatTy
and rustc_abi::Primitive
Make changes necessary to support these types in the compiler.
This commit is contained in:
parent
ef324565d0
commit
e3f63d9375
31 changed files with 107 additions and 14 deletions
|
@ -858,8 +858,10 @@ extern "C" {
|
|||
pub fn LLVMGetIntTypeWidth(IntegerTy: &Type) -> c_uint;
|
||||
|
||||
// Operations on real types
|
||||
pub fn LLVMHalfTypeInContext(C: &Context) -> &Type;
|
||||
pub fn LLVMFloatTypeInContext(C: &Context) -> &Type;
|
||||
pub fn LLVMDoubleTypeInContext(C: &Context) -> &Type;
|
||||
pub fn LLVMFP128TypeInContext(C: &Context) -> &Type;
|
||||
|
||||
// Operations on function types
|
||||
pub fn LLVMFunctionType<'a>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue