Home
last modified time | relevance | path

Searched refs:ExceptionBehavior (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFPEnv.h38 enum ExceptionBehavior : uint8_t { enum
57 std::optional<fp::ExceptionBehavior> convertStrToExceptionBehavior(StringRef);
61 std::optional<StringRef> convertExceptionBehaviorToStr(fp::ExceptionBehavior);
65 inline bool isDefaultFPEnvironment(fp::ExceptionBehavior EB, RoundingMode RM) { in isDefaultFPEnvironment()
83 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
H A DIRBuilder.h126 fp::ExceptionBehavior DefaultConstrainedExcept = fp::ebStrict;
320 void setDefaultConstrainedExcept(fp::ExceptionBehavior NewExcept) { in setDefaultConstrainedExcept()
340 fp::ExceptionBehavior getDefaultConstrainedExcept() { in getDefaultConstrainedExcept()
399 fp::ExceptionBehavior DefaultConstrainedExcept;
1310 Value *getConstrainedFPExcept(std::optional<fp::ExceptionBehavior> Except) { in getConstrainedFPExcept()
1719 std::optional<fp::ExceptionBehavior> Except = std::nullopt);
1724 std::optional<fp::ExceptionBehavior> Except = std::nullopt);
2235 std::optional<fp::ExceptionBehavior> Except = std::nullopt);
2396 std::optional<fp::ExceptionBehavior> Except = std::nullopt);
2456 std::optional<fp::ExceptionBehavior> Except = std::nullopt);
H A DIntrinsicInst.h717 std::optional<fp::ExceptionBehavior> getExceptionBehavior() const;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h94 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
101 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
108 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
117 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
124 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
131 fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFPEnv.cpp64 std::optional<fp::ExceptionBehavior>
66 return StringSwitch<std::optional<fp::ExceptionBehavior>>(ExceptionArg) in convertStrToExceptionBehavior()
74 convertExceptionBehaviorToStr(fp::ExceptionBehavior UseExcept) { in convertExceptionBehaviorToStr()
H A DIRBuilder.cpp974 std::optional<fp::ExceptionBehavior> Except) { in CreateConstrainedFPBinOp()
992 std::optional<fp::ExceptionBehavior> Except) { in CreateConstrainedFPUnroundedBinOp()
1025 std::optional<fp::ExceptionBehavior> Except) { in CreateConstrainedFPCast()
1064 const Twine &Name, std::optional<fp::ExceptionBehavior> Except) { in CreateConstrainedFPCmp()
1077 std::optional<fp::ExceptionBehavior> Except) { in CreateConstrainedFPCall()
H A DIntrinsicInst.cpp314 std::optional<fp::ExceptionBehavior>
327 std::optional<fp::ExceptionBehavior> Except = getExceptionBehavior(); in isDefaultFPEnvironment()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5611 fp::ExceptionBehavior ExBehavior, in simplifyFPOp()
5653 fp::ExceptionBehavior ExBehavior = fp::ebIgnore, in simplifyFAddInst()
5719 fp::ExceptionBehavior ExBehavior = fp::ebIgnore, in simplifyFSubInst()
5785 fp::ExceptionBehavior ExBehavior, in simplifyFMAFMul()
5834 fp::ExceptionBehavior ExBehavior = fp::ebIgnore, in simplifyFMulInst()
5846 fp::ExceptionBehavior ExBehavior, in simplifyFAddInst()
5854 fp::ExceptionBehavior ExBehavior, in simplifyFSubInst()
5862 fp::ExceptionBehavior ExBehavior, in simplifyFMulInst()
5870 fp::ExceptionBehavior ExBehavior, in simplifyFMAFMul()
5879 fp::ExceptionBehavior ExBehavior = fp::ebIgnore, in simplifyFDivInst()
[all …]
H A DConstantFolding.cpp1932 std::optional<fp::ExceptionBehavior> EB = CI->getExceptionBehavior(); in mayFoldConstrained()
1946 if (EB && *EB != fp::ExceptionBehavior::ebStrict) in mayFoldConstrained()
2220 std::optional<fp::ExceptionBehavior> EB = CI->getExceptionBehavior(); in ConstantFoldScalarCall1()
2225 std::optional<fp::ExceptionBehavior> EB = CI->getExceptionBehavior(); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp111 llvm::fp::ExceptionBehavior
1069 llvm::fp::ExceptionBehavior FPExceptionBehavior = in StartFunction()
H A DCodeGenFunction.h804 llvm::fp::ExceptionBehavior OldExcept;
5374 llvm::fp::ExceptionBehavior
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2057 fp::ExceptionBehavior EB = *FPI.getExceptionBehavior(); in translateConstrainedFPIntrinsic()
2064 if (EB == fp::ExceptionBehavior::ebIgnore) in translateConstrainedFPIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8149 auto pushOutChain = [this](SDValue Result, fp::ExceptionBehavior EB) { in visitConstrainedFPIntrinsic()
8156 case fp::ExceptionBehavior::ebIgnore: in visitConstrainedFPIntrinsic()
8161 case fp::ExceptionBehavior::ebMayTrap: in visitConstrainedFPIntrinsic()
8166 case fp::ExceptionBehavior::ebStrict: in visitConstrainedFPIntrinsic()
8178 fp::ExceptionBehavior EB = *FPI.getExceptionBehavior(); in visitConstrainedFPIntrinsic()
8181 if (EB == fp::ExceptionBehavior::ebIgnore) in visitConstrainedFPIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp512 std::optional<fp::ExceptionBehavior> ExBehavior = in wouldInstructionBeTriviallyDead()