Home
last modified time | relevance | path

Searched refs:getRoundingMode (Results 1 – 11 of 11) sorted by relevance

/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DLangOptions.h713 getRoundingMode() == llvm::RoundingMode::Dynamic && in FPOptions()
737 return getRoundingMode() != llvm::RoundingMode::NearestTiesToEven || in isFPConstrained()
742 RoundingMode getRoundingMode() const { in getRoundingMode() function
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp128 if (CFP->getRoundingMode() && in canHandle()
129 CFP->getRoundingMode() == RoundingMode::Dynamic) in canHandle()
1407 assert((!CI->getRoundingMode() || in processNode()
1408 CI->getRoundingMode() != RoundingMode::Dynamic) && in processNode()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DIntrinsicInst.cpp289 std::optional<RoundingMode> ConstrainedFPIntrinsic::getRoundingMode() const { in getRoundingMode() function in ConstrainedFPIntrinsic
319 std::optional<RoundingMode> Rounding = getRoundingMode(); in isDefaultFPEnvironment()
H A DVerifier.cpp6042 Check(FPI.getRoundingMode().has_value(), "invalid rounding mode argument", in visitConstrainedFPIntrinsic()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp1909 std::optional<RoundingMode> ORM = CI->getRoundingMode(); in mayFoldConstrained()
1935 std::optional<RoundingMode> ORM = CI->getRoundingMode(); in getEvaluationRoundingMode()
2148 RM = CI->getRoundingMode(); in ConstantFoldScalarCall1()
H A DInstructionSimplify.cpp6394 *FPI->getRoundingMode())) in simplifyIntrinsic()
6460 Q, *FPI->getExceptionBehavior(), *FPI->getRoundingMode()); in simplifyIntrinsic()
6466 Q, *FPI->getExceptionBehavior(), *FPI->getRoundingMode()); in simplifyIntrinsic()
6472 Q, *FPI->getExceptionBehavior(), *FPI->getRoundingMode()); in simplifyIntrinsic()
6478 Q, *FPI->getExceptionBehavior(), *FPI->getRoundingMode()); in simplifyIntrinsic()
6484 Q, *FPI->getExceptionBehavior(), *FPI->getRoundingMode()); in simplifyIntrinsic()
H A DValueTracking.cpp3551 if (CI->getRoundingMode() == RoundingMode::NearestTiesToEven) in CannotBeNegativeZero()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsicInst.h606 std::optional<RoundingMode> getRoundingMode() const;
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp975 RISCVFPRndMode::RoundingMode getRoundingMode() const { in getRoundingMode() function
986 Inst.addOperand(MCOperand::createImm(getRoundingMode())); in addFRMArgOperands()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp151 llvm::RoundingMode NewRoundingBehavior = FPFeatures.getRoundingMode(); in ConstructorHelper()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp2568 E->getFPFeaturesInEffect(Info.Ctx.getLangOpts()).getRoundingMode(); in getActiveRoundingMode()
2584 FPO.getRoundingMode() == llvm::RoundingMode::Dynamic) { in checkFloatingPointResult()
2592 (FPO.getRoundingMode() == llvm::RoundingMode::Dynamic || in checkFloatingPointResult()