Searched refs:FixedPointSemantics (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/llvm/include/llvm/IR/ |
D | FixedPointBuilder.h | 33 Value *Convert(Value *Src, const FixedPointSemantics &SrcSema, in Convert() 34 const FixedPointSemantics &DstSema, bool DstIsInteger) { in Convert() 112 FixedPointSemantics 113 getCommonBinopSemantic(const FixedPointSemantics &LHSSema, in getCommonBinopSemantic() 114 const FixedPointSemantics &RHSSema) { in getCommonBinopSemantic() 118 return FixedPointSemantics( in getCommonBinopSemantic() 131 Value *CreateFixedToFixed(Value *Src, const FixedPointSemantics &SrcSema, in CreateFixedToFixed() 132 const FixedPointSemantics &DstSema) { in CreateFixedToFixed() 142 Value *CreateFixedToInteger(Value *Src, const FixedPointSemantics &SrcSema, in CreateFixedToInteger() 146 FixedPointSemantics::GetIntegerSemantics(DstWidth, DstIsSigned), true); in CreateFixedToInteger() [all …]
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APFixedPoint.h | 33 class FixedPointSemantics { 35 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() function 66 FixedPointSemantics 67 getCommonSemantics(const FixedPointSemantics &Other) const; 79 static FixedPointSemantics GetIntegerSemantics(unsigned Width, in GetIntegerSemantics() 81 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned, in GetIntegerSemantics() 102 APFixedPoint(const APInt &Val, const FixedPointSemantics &Sema) in APFixedPoint() 108 APFixedPoint(uint64_t Val, const FixedPointSemantics &Sema) in APFixedPoint() 112 APFixedPoint(const FixedPointSemantics &Sema) : APFixedPoint(0, Sema) {} in APFixedPoint() 120 FixedPointSemantics getSemantics() const { return Sema; } in getSemantics() [all …]
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APFixedPointTest.cpp | 18 using llvm::FixedPointSemantics; 22 FixedPointSemantics Saturated(FixedPointSemantics Sema) { in Saturated() 27 FixedPointSemantics getSAccumSema() { in getSAccumSema() 28 return FixedPointSemantics(/*width=*/16, /*scale=*/7, /*isSigned=*/true, in getSAccumSema() 33 FixedPointSemantics getAccumSema() { in getAccumSema() 34 return FixedPointSemantics(/*width=*/32, /*scale=*/15, /*isSigned=*/true, in getAccumSema() 39 FixedPointSemantics getLAccumSema() { in getLAccumSema() 40 return FixedPointSemantics(/*width=*/64, /*scale=*/31, /*isSigned=*/true, in getLAccumSema() 45 FixedPointSemantics getSFractSema() { in getSFractSema() 46 return FixedPointSemantics(/*width=*/8, /*scale=*/7, /*isSigned=*/true, in getSFractSema() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | APFixedPoint.cpp | 19 APFixedPoint APFixedPoint::convert(const FixedPointSemantics &DstSema, in convert() 115 APFixedPoint APFixedPoint::getMax(const FixedPointSemantics &Sema) { in getMax() 123 APFixedPoint APFixedPoint::getMin(const FixedPointSemantics &Sema) { in getMin() 128 bool FixedPointSemantics::fitsInFloatSemantics( in fitsInFloatSemantics() 151 FixedPointSemantics FixedPointSemantics::getCommonSemantics( in getCommonSemantics() 152 const FixedPointSemantics &Other) const { in getCommonSemantics() 172 return FixedPointSemantics(CommonWidth, CommonScale, ResultIsSigned, in getCommonSemantics() 493 const FixedPointSemantics &DstFXSema, in getFromIntValue() 495 FixedPointSemantics IntFXSema = FixedPointSemantics::GetIntegerSemantics( in getFromIntValue() 502 const FixedPointSemantics &DstFXSema, in getFromFloatValue()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTContext.h | 77 class FixedPointSemantics; variable 2008 llvm::FixedPointSemantics getFixedPointSemantics(QualType Ty) const;
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 11296 llvm::FixedPointSemantics 11302 return llvm::FixedPointSemantics::GetIntegerSemantics( in getFixedPointSemantics() 11306 return llvm::FixedPointSemantics( in getFixedPointSemantics()
|
D | Type.cpp | 4372 llvm::FixedPointSemantics FXSema(Val.getBitWidth(), Scale, Val.isSigned(), in FixedPointValueToString()
|
D | ExprConstant.cpp | 70 using llvm::FixedPointSemantics; 13456 FixedPointSemantics ResultFXSema = in VisitBinaryOperator() 13495 FixedPointSemantics LHSSema = LHSFX.getSemantics(); in VisitBinaryOperator()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 8944 static llvm::FixedPointSemantics 8953 return llvm::FixedPointSemantics(Width, Scale, IsSigned, IsSaturated, in ReadFixedPointSemantics() 8972 llvm::FixedPointSemantics FPSema = ReadFixedPointSemantics(Record, Idx); in readAPValue()
|
D | ASTWriter.cpp | 5125 llvm::FixedPointSemantics FPSema) { in WriteFixedPointSemantics()
|