Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Basic/
H A DTargetInfo.cpp291 return FloatModeKind::Half; in getRealTypeByWidth()
293 return FloatModeKind::Float; in getRealTypeByWidth()
295 return FloatModeKind::Double; in getRealTypeByWidth()
300 return FloatModeKind::LongDouble; in getRealTypeByWidth()
305 if (ExplicitType == FloatModeKind::Float128) in getRealTypeByWidth()
308 if (ExplicitType == FloatModeKind::Ibm128) in getRealTypeByWidth()
309 return hasIbm128Type() ? FloatModeKind::Ibm128 in getRealTypeByWidth()
310 : FloatModeKind::NoFloat; in getRealTypeByWidth()
313 return FloatModeKind::LongDouble; in getRealTypeByWidth()
315 return FloatModeKind::Float128; in getRealTypeByWidth()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h55 enum class FloatModeKind { enum
225 unsigned RealTypeUsesObjCFPRetMask : llvm::BitWidth<FloatModeKind>;
412 FloatModeKind getRealTypeByWidth(unsigned BitWidth,
413 FloatModeKind ExplicitType) const;
893 bool useObjCFPRetForRealType(FloatModeKind T) const { in useObjCFPRetForRealType()
894 return (int)((FloatModeKind)RealTypeUsesObjCFPRetMask & T); in useObjCFPRetForRealType()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DX86.h428 (unsigned)(FloatModeKind::Float | FloatModeKind::Double | in X86_32TargetInfo()
429 FloatModeKind::LongDouble); in X86_32TargetInfo()
708 RealTypeUsesObjCFPRetMask = (unsigned)FloatModeKind::LongDouble; in X86_64TargetInfo()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h104 enum class FloatModeKind; variable
786 FloatModeKind ExplicitType) const;
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp11826 FloatModeKind ExplicitType) const { in getRealTypeForBitwidth()
11827 FloatModeKind Ty = in getRealTypeForBitwidth()
11830 case FloatModeKind::Half: in getRealTypeForBitwidth()
11832 case FloatModeKind::Float: in getRealTypeForBitwidth()
11834 case FloatModeKind::Double: in getRealTypeForBitwidth()
11836 case FloatModeKind::LongDouble: in getRealTypeForBitwidth()
11838 case FloatModeKind::Float128: in getRealTypeForBitwidth()
11840 case FloatModeKind::Ibm128: in getRealTypeForBitwidth()
11842 case FloatModeKind::NoFloat: in getRealTypeForBitwidth()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp4449 FloatModeKind &ExplicitType) { in parseModeAttrArg()
4452 ExplicitType = FloatModeKind::NoFloat; in parseModeAttrArg()
4472 ExplicitType = FloatModeKind::Float128; in parseModeAttrArg()
4476 ExplicitType = FloatModeKind::LongDouble; in parseModeAttrArg()
4480 ExplicitType = FloatModeKind::Ibm128; in parseModeAttrArg()
4541 FloatModeKind ExplicitType = FloatModeKind::NoFloat; in AddModeAttr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp1585 return getTarget().useObjCFPRetForRealType(FloatModeKind::Float); in ReturnTypeUsesFPRet()
1587 return getTarget().useObjCFPRetForRealType(FloatModeKind::Double); in ReturnTypeUsesFPRet()
1589 return getTarget().useObjCFPRetForRealType(FloatModeKind::LongDouble); in ReturnTypeUsesFPRet()