| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | FixedPoint.h | 23 class FixedPoint final { 28 FixedPoint(llvm::APFixedPoint &&V) : V(std::move(V)) {} in FixedPoint() function 29 FixedPoint(llvm::APFixedPoint &V) : V(V) {} in FixedPoint() function 30 FixedPoint(APInt V, llvm::FixedPointSemantics Sem) : V(V, Sem) {} in FixedPoint() function 32 FixedPoint() in FixedPoint() function 36 static FixedPoint zero(llvm::FixedPointSemantics Sem) { in zero() 37 return FixedPoint(APInt(Sem.getWidth(), 0ULL, Sem.isSigned()), Sem); in zero() 40 static FixedPoint from(const APSInt &I, llvm::FixedPointSemantics Sem, in from() 42 return FixedPoint(llvm::APFixedPoint::getFromIntValue(I, Sem, Overflow)); in from() 44 static FixedPoint from(const llvm::APFloat &I, llvm::FixedPointSemantics Sem, in from() [all …]
|
| H A D | Opcodes.td | 33 def FixedPoint : Type; 53 def ArgFixedPoint : ArgType { let Name = "FixedPoint"; let AsRef = true; } 89 Uint32, Sint64, Uint64, IntAP, IntAPS, FixedPoint]; 113 let Types = !listconcat(IntegerTypeClass.Types, [Bool], [FixedPoint]); 119 let Types = !listconcat(IntegerTypeClass.Types, [Bool], [Float], [FixedPoint]); 275 def ConstFixedPoint : ConstOpcode<FixedPoint, ArgFixedPoint>; 643 … = [Uint8, Sint8, Uint16, Sint16, Uint32, Sint32, Uint64, Sint64, Bool, IntAP, IntAPS, FixedPoint];
|
| H A D | PrimType.h | 29 class FixedPoint; variable 132 using T = FixedPoint;
|
| H A D | Interp.h | 171 const FixedPoint &FP); 242 if constexpr (!std::is_same_v<T, FixedPoint>) { in CheckDivRem() 384 if constexpr (std::is_same_v<T, FixedPoint>) in AddSubMulHelper() 728 if constexpr (std::is_same_v<T, FixedPoint>) { in Div() 2360 const auto &Source = S.Stk.pop<FixedPoint>(); in CastFixedPoint() 2363 FixedPoint Result = Source.toSemantics(TargetSemantics, &Overflow); in CastFixedPoint() 2368 S.Stk.push<FixedPoint>(Result); in CastFixedPoint() 2514 FixedPoint Result = FixedPoint::from(Int.toAPSInt(), Sem, &Overflow); in CastIntegralFixedPoint() 2519 S.Stk.push<FixedPoint>(Result); in CastIntegralFixedPoint() 2530 FixedPoint Result = FixedPoint::from(Float.getAPFloat(), Sem, &Overflow); in CastFloatingFixedPoint() [all …]
|
| H A D | InterpStack.h | 192 else if constexpr (std::is_same_v<T, FixedPoint>) in toPrimType()
|
| H A D | Disasm.cpp | 106 template <> inline std::string printArg<FixedPoint>(Program &P, CodePtr &OpPC) { in printArg() 107 auto F = FixedPoint::deserialize(*OpPC); in printArg()
|
| H A D | ByteCodeEmitter.cpp | 207 void emit(Program &P, std::vector<std::byte> &Code, const FixedPoint &Val, in emit()
|
| H A D | InterpBuiltinBitCast.cpp | 459 std::variant<Pointer, FunctionPointer, MemberPointer, FixedPoint,
|
| H A D | Interp.cpp | 1889 const FixedPoint &FP) { in handleFixedPointOverflow()
|
| H A D | Compiler.cpp | 789 return this->emitConstFixedPoint(FixedPoint(Value, Sem), E); in VisitFixedPointLiteral() 4208 return this->emitConstFixedPoint(FixedPoint::zero(Sem), E); in visitZeroInitializer()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 326 case FixedPoint: { in APValue() 413 else if (Kind == FixedPoint) in DestroyDataAndMakeUninit() 452 case FixedPoint: in needsCleanup() 591 case FixedPoint: in Profile() 736 case APValue::FixedPoint: in printPretty() 1138 case APValue::FixedPoint: in getLVForValue()
|
| H A D | PrintfFormatString.cpp | 351 else if (LO.FixedPoint) in ParsePrintfSpecifier() 381 if (LO.FixedPoint) in ParsePrintfSpecifier() 385 if (LO.FixedPoint) in ParsePrintfSpecifier() 389 if (LO.FixedPoint) in ParsePrintfSpecifier() 646 if (CS.isFixedPointArg() && !Ctx.getLangOpts().FixedPoint) in getScalarArgType()
|
| H A D | FormatString.cpp | 1165 return LangOpt.FixedPoint; in hasStandardConversionSpecifier()
|
| H A D | TextNodeDumper.cpp | 613 case APValue::FixedPoint: in isSimpleAPValue() 699 case APValue::FixedPoint: in Visit()
|
| H A D | ItaniumMangle.cpp | 6510 case APValue::FixedPoint: in isZeroInitialized() 6726 case APValue::FixedPoint: in mangleValueInTemplateArg()
|
| H A D | MicrosoftMangle.cpp | 2165 case APValue::FixedPoint: { in mangleTemplateArgValue()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | APValue.h | 134 FixedPoint, 469 bool isFixedPoint() const { return Kind == FixedPoint; } 712 Kind = FixedPoint;
|
| H A D | PropertiesBase.td | 291 let Class = PropertyTypeCase<APValue, "FixedPoint"> in {
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 961 if (LangOpts.FixedPoint) { in NumericLiteralParser() 983 if (!LangOpts.FixedPoint) in NumericLiteralParser() 991 if (!LangOpts.FixedPoint) in NumericLiteralParser() 1000 if (!(LangOpts.Half || LangOpts.FixedPoint)) in NumericLiteralParser()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 217 return LangOpts.FixedPoint ? KS_Enabled : KS_Disabled; in getKeywordStatusHelper()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprConstant.cpp | 804 case APValue::FixedPoint: in tryEmitPrivate()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1212 if (LangOpts.FixedPoint) { in InitializePredefinedMacros()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 428 LANGOPT(FixedPoint, 1, 0, NotCompatible, "fixed point types")
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 4330 assert(getLangOpts().FixedPoint && in ParseDeclarationSpecifiers() 4337 assert(getLangOpts().FixedPoint && in ParseDeclarationSpecifiers() 4344 assert(getLangOpts().FixedPoint && in ParseDeclarationSpecifiers()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 2455 case APValue::FixedPoint: in tryEmitPrivate()
|