Home
last modified time | relevance | path

Searched refs:FloatModeKind (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp316 FloatModeKind TargetInfo::getRealTypeByWidth(unsigned BitWidth, in getRealTypeByWidth()
317 FloatModeKind ExplicitType) const { in getRealTypeByWidth()
319 return FloatModeKind::Half; in getRealTypeByWidth()
321 return FloatModeKind::Float; in getRealTypeByWidth()
323 return FloatModeKind::Double; in getRealTypeByWidth()
328 return FloatModeKind::LongDouble; in getRealTypeByWidth()
333 if (ExplicitType == FloatModeKind::Float128) in getRealTypeByWidth()
334 return hasFloat128Type() ? FloatModeKind::Float128 in getRealTypeByWidth()
335 : FloatModeKind::NoFloat; in getRealTypeByWidth()
336 if (ExplicitType == FloatModeKind::Ibm128) in getRealTypeByWidth()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h72 enum class FloatModeKind { enum
255 LLVM_PREFERRED_TYPE(FloatModeKind)
256 unsigned RealTypeUsesObjCFPRetMask : llvm::BitWidth<FloatModeKind>;
459 FloatModeKind getRealTypeByWidth(unsigned BitWidth,
460 FloatModeKind ExplicitType) const;
978 bool useObjCFPRetForRealType(FloatModeKind T) const { in useObjCFPRetForRealType()
979 return (int)((FloatModeKind)RealTypeUsesObjCFPRetMask & T); in useObjCFPRetForRealType()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DX86.h456 (unsigned)(FloatModeKind::Float | FloatModeKind::Double | in X86_32TargetInfo()
457 FloatModeKind::LongDouble); in X86_32TargetInfo()
732 RealTypeUsesObjCFPRetMask = (unsigned)FloatModeKind::LongDouble; in X86_64TargetInfo()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h72 enum class FloatModeKind; variable
792 FloatModeKind ExplicitType) const;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4212 FloatModeKind &ExplicitType) { in parseModeAttrArg()
4215 ExplicitType = FloatModeKind::NoFloat; in parseModeAttrArg()
4235 ExplicitType = FloatModeKind::Float128; in parseModeAttrArg()
4239 ExplicitType = FloatModeKind::LongDouble; in parseModeAttrArg()
4243 ExplicitType = FloatModeKind::Ibm128; in parseModeAttrArg()
4304 FloatModeKind ExplicitType = FloatModeKind::NoFloat; in AddModeAttr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp12595 FloatModeKind ExplicitType) const { in getRealTypeForBitwidth()
12596 FloatModeKind Ty = in getRealTypeForBitwidth()
12599 case FloatModeKind::Half: in getRealTypeForBitwidth()
12601 case FloatModeKind::Float: in getRealTypeForBitwidth()
12603 case FloatModeKind::Double: in getRealTypeForBitwidth()
12605 case FloatModeKind::LongDouble: in getRealTypeForBitwidth()
12607 case FloatModeKind::Float128: in getRealTypeForBitwidth()
12609 case FloatModeKind::Ibm128: in getRealTypeForBitwidth()
12611 case FloatModeKind::NoFloat: in getRealTypeForBitwidth()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1578 return getTarget().useObjCFPRetForRealType(FloatModeKind::Float); in ReturnTypeUsesFPRet()
1580 return getTarget().useObjCFPRetForRealType(FloatModeKind::Double); in ReturnTypeUsesFPRet()
1582 return getTarget().useObjCFPRetForRealType(FloatModeKind::LongDouble); in ReturnTypeUsesFPRet()