/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | FPEnv.cpp | 20 Optional<RoundingMode> StrToRoundingMode(StringRef RoundingArg) { 23 return StringSwitch<Optional<RoundingMode>>(RoundingArg) 24 .Case("round.dynamic", RoundingMode::Dynamic) 25 .Case("round.tonearest", RoundingMode::NearestTiesToEven) 26 .Case("round.tonearestaway", RoundingMode::NearestTiesToAway) 27 .Case("round.downward", RoundingMode::TowardNegative) 28 .Case("round.upward", RoundingMode::TowardPositive) 29 .Case("round.towardzero", RoundingMode::TowardZero) 33 Optional<StringRef> RoundingModeToStr(RoundingMode UseRounding) { 36 case RoundingMode [all...] |
H A D | IntrinsicInst.cpp | 107 Optional<RoundingMode> ConstrainedFPIntrinsic::getRoundingMode() const {
|
H A D | IRBuilder.cpp | 796 Optional<RoundingMode> Rounding, 830 Optional<RoundingMode> Rounding, 893 Optional<RoundingMode> Rounding,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | FPEnv.h | 39 /// Returns a valid RoundingMode enumerator when given a string 42 Optional<RoundingMode> StrToRoundingMode(StringRef); 44 /// For any RoundingMode enumerator, returns a string valid as input in 46 Optional<StringRef> RoundingModeToStr(RoundingMode);
|
H A D | IRBuilder.h | 108 RoundingMode DefaultConstrainedRounding; 119 DefaultConstrainedRounding(RoundingMode::Dynamic), 273 void setDefaultConstrainedRounding(RoundingMode NewRounding) { 283 RoundingMode getDefaultConstrainedRounding() { 339 RoundingMode DefaultConstrainedRounding; 1131 Value *getConstrainedFPRounding(Optional<RoundingMode> Rounding) { 1132 RoundingMode UseRounding = DefaultConstrainedRounding; 1523 Optional<RoundingMode> Rounding = None, 2156 Optional<RoundingMode> Rounding = None, 2369 Optional<RoundingMode> Roundin [all...] |
H A D | IntrinsicInst.h | 261 Optional<RoundingMode> getRoundingMode() const;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/ |
H A D | RISCVBaseInfo.h | 101 enum RoundingMode { enum in namespace:llvm::RISCVOp::RISCVFPRndMode 111 inline static StringRef roundingModeToString(RoundingMode RndMode) { 130 inline static RoundingMode stringToRoundingMode(StringRef Str) { 131 return StringSwitch<RoundingMode>(Str)
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | LangOptions.h | 57 using RoundingMode = llvm::RoundingMode; 188 /// Alias for RoundingMode::NearestTiesToEven. 190 static_cast<unsigned>(llvm::RoundingMode::NearestTiesToEven); 375 using RoundingMode = llvm::RoundingMode; 394 setRoundingMode(static_cast<RoundingMode>(LangOptions::FPR_ToNearest)); 430 static_cast<unsigned>(RoundingMode::NearestTiesToEven) || 463 using RoundingMode = llvm::RoundingMode; [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VE.h | 73 enum RoundingMode { enum in namespace:llvm::VERD 259 inline static const char *VERDToString(VERD::RoundingMode R) { 278 inline static VERD::RoundingMode stringToVERD(StringRef S) { 279 return StringSwitch<VERD::RoundingMode>(S) 289 inline static unsigned VERDToVal(VERD::RoundingMode R) { 304 inline static VERD::RoundingMode VEValToRD(unsigned Val) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Z3Solver.cpp | 517 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 520 Z3_mk_fpa_mul(Context.Context, toZ3Expr(*RoundingMode).AST, 525 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 528 Z3_mk_fpa_div(Context.Context, toZ3Expr(*RoundingMode).AST, 539 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 542 Z3_mk_fpa_add(Context.Context, toZ3Expr(*RoundingMode).AST, 547 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 550 Z3_mk_fpa_sub(Context.Context, toZ3Expr(*RoundingMode).AST, 684 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 687 Z3_mk_fpa_to_fp_float(Context.Context, toZ3Expr(*RoundingMode) 692 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 700 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 708 SMTExprRef RoundingMode = getFloatRoundingMode(); variable 715 SMTExprRef RoundingMode = getFloatRoundingMode(); variable [all...] |
H A D | APFloat.cpp | 182 constexpr RoundingMode APFloatBase::rmNearestTiesToEven; 183 constexpr RoundingMode APFloatBase::rmTowardPositive; 184 constexpr RoundingMode APFloatBase::rmTowardNegative; 185 constexpr RoundingMode APFloatBase::rmTowardZero; 186 constexpr RoundingMode APFloatBase::rmNearestTiesToAway; 4186 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode RoundingMode) { 4201 X.normalize(RoundingMode, lfExactlyZero);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | FloatingPointMode.h | 34 enum class RoundingMode : int8_t { class in namespace:llvm
|
H A D | APFloat.h | 188 using roundingMode = llvm::RoundingMode; 191 RoundingMode::NearestTiesToEven; 192 static constexpr roundingMode rmTowardPositive = RoundingMode::TowardPositive; 193 static constexpr roundingMode rmTowardNegative = RoundingMode::TowardNegative; 194 static constexpr roundingMode rmTowardZero = RoundingMode::TowardZero; 196 RoundingMode::NearestTiesToAway;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVInstPrinter.cpp | 137 static_cast<RISCVFPRndMode::RoundingMode>(MI->getOperand(OpNo).getImm());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
H A D | VEMCCodeEmitter.cpp | 153 return VERDToVal(static_cast<VERD::RoundingMode>(
|
H A D | VEInstPrinter.cpp | 226 O << VERDToString((VERD::RoundingMode)RD);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 857 VERD::RoundingMode RoundingMode = stringToVERD(RD); local 859 if (RoundingMode != VERD::UNKNOWN) { 869 VEOperand::CreateRDOp(RoundingMode, SuffixLoc, SuffixEnd));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 108 llvm::RoundingMode RM = getLangOpts().getFPRoundingMode(); 115 RM != llvm::RoundingMode::NearestTiesToEven); 140 llvm::RoundingMode NewRoundingBehavior = 141 static_cast<llvm::RoundingMode>(FPFeatures.getRoundingMode()); 154 NewRoundingBehavior == llvm::RoundingMode::NearestTiesToEven)) &&
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 1003 void Sema::setRoundingMode(SourceLocation Loc, llvm::RoundingMode FPR) {
|
H A D | SemaChecking.cpp | 1828 llvm::RoundingMode::Dynamic, &LoseInfo);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 938 llvm::RoundingMode::NearestTiesToEven) { 940 getLangOpts().setFPRoundingMode(llvm::RoundingMode::NearestTiesToEven);
|
H A D | CompilerInvocation.cpp | 3286 auto FPRM = llvm::RoundingMode::NearestTiesToEven; 3288 FPRM = llvm::RoundingMode::Dynamic;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 273 RoundingMode RndMode = RoundingMode::NearestTiesToEven;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 933 RISCVFPRndMode::RoundingMode getRoundingMode() const { 936 RISCVFPRndMode::RoundingMode FRM =
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1916 if (!RM || RM.getValue() == RoundingMode::Dynamic)
|