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.cpp339 FloatModeKind TargetInfo::getRealTypeByWidth(unsigned BitWidth, in getRealTypeByWidth()
340 FloatModeKind ExplicitType) const { in getRealTypeByWidth()
342 return FloatModeKind::Half; in getRealTypeByWidth()
344 return FloatModeKind::Float; in getRealTypeByWidth()
346 return FloatModeKind::Double; in getRealTypeByWidth()
351 return FloatModeKind::LongDouble; in getRealTypeByWidth()
356 if (ExplicitType == FloatModeKind::Float128) in getRealTypeByWidth()
357 return hasFloat128Type() ? FloatModeKind::Float128 in getRealTypeByWidth()
358 : FloatModeKind::NoFloat; in getRealTypeByWidth()
359 if (ExplicitType == FloatModeKind::Ibm128) in getRealTypeByWidth()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h75 enum class FloatModeKind { enum
264 LLVM_PREFERRED_TYPE(FloatModeKind)
265 unsigned RealTypeUsesObjCFPRetMask : llvm::BitWidth<FloatModeKind>;
476 FloatModeKind getRealTypeByWidth(unsigned BitWidth,
477 FloatModeKind ExplicitType) const;
1003 bool useObjCFPRetForRealType(FloatModeKind T) const { in useObjCFPRetForRealType()
1004 return (int)((FloatModeKind)RealTypeUsesObjCFPRetMask & T); in useObjCFPRetForRealType()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DX86.h476 (unsigned)(FloatModeKind::Float | FloatModeKind::Double | in X86_32TargetInfo()
477 FloatModeKind::LongDouble); in X86_32TargetInfo()
762 RealTypeUsesObjCFPRetMask = (unsigned)FloatModeKind::LongDouble; in X86_64TargetInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4790 FloatModeKind &ExplicitType) { in parseModeAttrArg()
4793 ExplicitType = FloatModeKind::NoFloat; in parseModeAttrArg()
4813 ExplicitType = FloatModeKind::Float128; in parseModeAttrArg()
4817 ExplicitType = FloatModeKind::LongDouble; in parseModeAttrArg()
4821 ExplicitType = FloatModeKind::Ibm128; in parseModeAttrArg()
4882 FloatModeKind ExplicitType = FloatModeKind::NoFloat; in AddModeAttr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h74 enum class FloatModeKind; variable
882 FloatModeKind ExplicitType) const;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp13227 FloatModeKind ExplicitType) const { in getRealTypeForBitwidth()
13228 FloatModeKind Ty = in getRealTypeForBitwidth()
13231 case FloatModeKind::Half: in getRealTypeForBitwidth()
13233 case FloatModeKind::Float: in getRealTypeForBitwidth()
13235 case FloatModeKind::Double: in getRealTypeForBitwidth()
13237 case FloatModeKind::LongDouble: in getRealTypeForBitwidth()
13239 case FloatModeKind::Float128: in getRealTypeForBitwidth()
13241 case FloatModeKind::Ibm128: in getRealTypeForBitwidth()
13243 case FloatModeKind::NoFloat: in getRealTypeForBitwidth()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1675 return getTarget().useObjCFPRetForRealType(FloatModeKind::Float); in ReturnTypeUsesFPRet()
1677 return getTarget().useObjCFPRetForRealType(FloatModeKind::Double); in ReturnTypeUsesFPRet()
1679 return getTarget().useObjCFPRetForRealType(FloatModeKind::LongDouble); in ReturnTypeUsesFPRet()