Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DTargetInfo.cpp313 FloatModeKind TargetInfo::getRealTypeByWidth(unsigned BitWidth, in getRealTypeByWidth()
314 FloatModeKind ExplicitType) const { in getRealTypeByWidth()
316 return FloatModeKind::Half; in getRealTypeByWidth()
318 return FloatModeKind::Float; in getRealTypeByWidth()
320 return FloatModeKind::Double; in getRealTypeByWidth()
325 return FloatModeKind::LongDouble; in getRealTypeByWidth()
330 if (ExplicitType == FloatModeKind::Float128) in getRealTypeByWidth()
331 return hasFloat128Type() ? FloatModeKind::Float128 in getRealTypeByWidth()
332 : FloatModeKind::NoFloat; in getRealTypeByWidth()
333 if (ExplicitType == FloatModeKind::Ibm128) in getRealTypeByWidth()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h69 enum class FloatModeKind { enum
240 unsigned RealTypeUsesObjCFPRetMask : llvm::BitWidth<FloatModeKind>;
428 FloatModeKind getRealTypeByWidth(unsigned BitWidth,
429 FloatModeKind ExplicitType) const;
917 bool useObjCFPRetForRealType(FloatModeKind T) const { in useObjCFPRetForRealType()
918 return (int)((FloatModeKind)RealTypeUsesObjCFPRetMask & T); in useObjCFPRetForRealType()
/openbsd-src/gnu/llvm/clang/lib/Basic/Targets/
H A DX86.h443 (unsigned)(FloatModeKind::Float | FloatModeKind::Double | in X86_32TargetInfo()
444 FloatModeKind::LongDouble); in X86_32TargetInfo()
726 RealTypeUsesObjCFPRetMask = (unsigned)FloatModeKind::LongDouble; in X86_64TargetInfo()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h77 enum class FloatModeKind; variable
757 FloatModeKind ExplicitType) const;
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp11971 FloatModeKind ExplicitType) const { in getRealTypeForBitwidth()
11972 FloatModeKind Ty = in getRealTypeForBitwidth()
11975 case FloatModeKind::Half: in getRealTypeForBitwidth()
11977 case FloatModeKind::Float: in getRealTypeForBitwidth()
11979 case FloatModeKind::Double: in getRealTypeForBitwidth()
11981 case FloatModeKind::LongDouble: in getRealTypeForBitwidth()
11983 case FloatModeKind::Float128: in getRealTypeForBitwidth()
11985 case FloatModeKind::Ibm128: in getRealTypeForBitwidth()
11987 case FloatModeKind::NoFloat: in getRealTypeForBitwidth()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclAttr.cpp4567 FloatModeKind &ExplicitType) { in parseModeAttrArg()
4570 ExplicitType = FloatModeKind::NoFloat; in parseModeAttrArg()
4590 ExplicitType = FloatModeKind::Float128; in parseModeAttrArg()
4594 ExplicitType = FloatModeKind::LongDouble; in parseModeAttrArg()
4598 ExplicitType = FloatModeKind::Ibm128; in parseModeAttrArg()
4659 FloatModeKind ExplicitType = FloatModeKind::NoFloat; in AddModeAttr()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp1591 return getTarget().useObjCFPRetForRealType(FloatModeKind::Float); in ReturnTypeUsesFPRet()
1593 return getTarget().useObjCFPRetForRealType(FloatModeKind::Double); in ReturnTypeUsesFPRet()
1595 return getTarget().useObjCFPRetForRealType(FloatModeKind::LongDouble); in ReturnTypeUsesFPRet()