Searched refs:FixedPointSemantics (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APFixedPoint.h | 35 class FixedPointSemantics { 44 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() function 46 : FixedPointSemantics(Width, Lsb{-static_cast<int>(Scale)}, IsSigned, in FixedPointSemantics() 48 FixedPointSemantics(unsigned Width, Lsb Weight, bool IsSigned, in FixedPointSemantics() function 88 FixedPointSemantics 89 getCommonSemantics(const FixedPointSemantics &Other) const; 104 static FixedPointSemantics GetIntegerSemantics(unsigned Width, in GetIntegerSemantics() 106 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned, in GetIntegerSemantics() 111 bool operator==(FixedPointSemantics Other) const { 116 bool operator!=(FixedPointSemantics Other) const { return !(*this == Other); } [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 35 Value *Convert(Value *Src, const FixedPointSemantics &SrcSema, in Convert() 36 const FixedPointSemantics &DstSema, bool DstIsInteger) { in Convert() 114 FixedPointSemantics 115 getCommonBinopSemantic(const FixedPointSemantics &LHSSema, in getCommonBinopSemantic() 116 const FixedPointSemantics &RHSSema) { in getCommonBinopSemantic() 120 return FixedPointSemantics( in getCommonBinopSemantic() 128 Type *getAccommodatingFloatType(Type *Ty, const FixedPointSemantics &Sema) { in getAccommodatingFloatType() 143 Value *CreateFixedToFixed(Value *Src, const FixedPointSemantics &SrcSema, in CreateFixedToFixed() 144 const FixedPointSemantics &DstSema) { in CreateFixedToFixed() 154 Value *CreateFixedToInteger(Value *Src, const FixedPointSemantics &SrcSema, in CreateFixedToInteger() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 21 void FixedPointSemantics::print(llvm::raw_ostream &OS) const { in print() 32 APFixedPoint APFixedPoint::convert(const FixedPointSemantics &DstSema, in convert() 119 APFixedPoint APFixedPoint::getMax(const FixedPointSemantics &Sema) { in getMax() 127 APFixedPoint APFixedPoint::getMin(const FixedPointSemantics &Sema) { in getMin() 132 APFixedPoint APFixedPoint::getEpsilon(const FixedPointSemantics &Sema) { in getEpsilon() 138 bool FixedPointSemantics::fitsInFloatSemantics( in fitsInFloatSemantics() 161 FixedPointSemantics FixedPointSemantics::getCommonSemantics( in getCommonSemantics() 162 const FixedPointSemantics &Other) const { in getCommonSemantics() 183 return FixedPointSemantics(CommonWidth, Lsb{CommonLsb}, ResultIsSigned, in getCommonSemantics() 530 const FixedPointSemantics &DstFXSema, in getFromIntValue() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | AbstractBasicReader.h | 180 llvm::FixedPointSemantics readFixedPointSemantics() { in readFixedPointSemantics() 187 return llvm::FixedPointSemantics(width, scale, isSigned, isSaturated, in readFixedPointSemantics()
|
H A D | AbstractBasicWriter.h | 165 void writeFixedPointSemantics(const llvm::FixedPointSemantics &sema) { in writeFixedPointSemantics()
|
H A D | PropertiesBase.td | 117 def FixedPointSemantics : PropertyType<"llvm::FixedPointSemantics"> { 289 def : Property<"semantics", FixedPointSemantics> {
|
H A D | ASTContext.h | 48 class FixedPointSemantics; variable 2256 llvm::FixedPointSemantics getFixedPointSemantics(QualType Ty) const;
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 830 llvm::FixedPointSemantics FXSema( in DefineFixedPointMacros()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 13980 llvm::FixedPointSemantics 13986 return llvm::FixedPointSemantics::GetIntegerSemantics( in getFixedPointSemantics() 13990 return llvm::FixedPointSemantics( in getFixedPointSemantics()
|
H A D | Type.cpp | 5053 llvm::FixedPointSemantics FXSema(Val.getBitWidth(), Scale, Val.isSigned(), in FixedPointValueToString()
|
H A D | ExprConstant.cpp | 75 using llvm::FixedPointSemantics; 14621 FixedPointSemantics ResultFXSema = in VisitBinaryOperator() 14660 FixedPointSemantics LHSSema = LHSFX.getSemantics(); in VisitBinaryOperator()
|