| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | FMF.h | 22 class FastMathFlags { 28 FastMathFlags(unsigned F) : Flags(F) {} in FastMathFlags() function 48 FastMathFlags() = default; 50 static FastMathFlags getFast() { in getFast() 51 FastMathFlags FMF; in getFast() 98 void operator&=(const FastMathFlags &OtherFlags) { 101 void operator|=(const FastMathFlags &OtherFlags) { 104 bool operator!=(const FastMathFlags &OtherFlags) const { 112 static inline FastMathFlags intersectRewrite(FastMathFlags LHS, in intersectRewrite() 113 FastMathFlags RHS) { in intersectRewrite() [all …]
|
| H A D | Operator.h | 217 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | 218 (B * FastMathFlags::AllowReassoc); 223 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | 224 (B * FastMathFlags::NoNaNs); 229 (SubclassOptionalData & ~FastMathFlags::NoInfs) | 230 (B * FastMathFlags::NoInfs); 235 (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | 236 (B * FastMathFlags::NoSignedZeros); 241 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | 242 (B * FastMathFlags::AllowReciprocal); [all …]
|
| H A D | IRBuilderFolder.h | 48 Value *RHS, FastMathFlags FMF) const = 0; 51 FastMathFlags FMF) const = 0;
|
| H A D | NoFolder.h | 65 FastMathFlags FMF) const override { in FoldBinOpFMF() 70 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | Instruction.h | 35 class FastMathFlags; variable 641 LLVM_ABI void setFastMathFlags(FastMathFlags FMF); 646 LLVM_ABI void copyFastMathFlags(FastMathFlags FMF); 675 LLVM_ABI FastMathFlags getFastMathFlags() const LLVM_READONLY;
|
| H A D | ConstantFolder.h | 88 FastMathFlags FMF) const override { in FoldBinOpFMF() 93 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | FPEnv.h | 86 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 90 LLVM_ABI Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, 95 simplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF, 102 simplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF, 109 simplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF, 119 simplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF, 126 simplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF, 133 simplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF, 165 FastMathFlags FMF, const SimplifyQuery &Q); 221 LLVM_ABI Value *simplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF, 231 FastMathFlags FMF, const SimplifyQuery &Q);
|
| H A D | IVDescriptors.h | 93 RecurKind K, FastMathFlags FMF, Instruction *ExactFP, in RecurrenceDescriptor() 145 InstDesc &Prev, FastMathFlags FuncFMF, ScalarEvolution *SE); 197 FastMathFlags FuncFMF, RecurrenceDescriptor &RedDes, 227 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() 360 FastMathFlags FMF;
|
| H A D | TargetTransformInfo.h | 128 FastMathFlags FMF; 142 FastMathFlags Flags = FastMathFlags(), const IntrinsicInst *I = nullptr, 150 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(), 158 FastMathFlags getFlags() const { return FMF; } in getFlags() 1607 static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) { in requiresOrderedReduction() 1636 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF, 1640 Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF = FastMathFlags(), 1658 std::optional<FastMathFlags> FMF,
|
| H A D | InstSimplifyFolder.h | 68 FastMathFlags FMF) const override { in FoldBinOpFMF() 73 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | ValueTracking.h | 264 const Value *V, const APInt &DemandedElts, FastMathFlags FMF, 267 LLVM_ABI KnownFPClass computeKnownFPClass(const Value *V, FastMathFlags FMF, 906 FastMathFlags FMF = FastMathFlags(), Instruction::CastOps *CastOp = nullptr,
|
| H A D | TargetFolder.h | 99 FastMathFlags FMF) const override { in FoldBinOpFMF() 112 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 290 bool canOptimizeWithRsq(const FPMathOperator *SqrtOp, FastMathFlags DivFMF, 291 FastMathFlags SqrtFMF) const; 294 FastMathFlags DivFMF, FastMathFlags SqrtFMF, 298 FastMathFlags FMF, const Instruction *CtxI) const; 303 FastMathFlags DivFMF, FastMathFlags SqrtFMF, 313 FastMathFlags FMF) const; 315 FastMathFlags FMF) const; 819 FastMathFlags FMF) const { in emitFrexpDiv() 846 FastMathFlags FMF) const { in emitSqrtIEEE2ULP() 895 FastMathFlags DivFMF, in canOptimizeWithRsq() [all …]
|
| H A D | AMDGPUTargetTransformInfo.h | 262 std::optional<FastMathFlags> FMF, 269 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 58 FastMathFlags FMF = in expandReductions() 59 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 140 std::optional<FastMathFlags> FMF, 143 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 294 std::optional<FastMathFlags> FMF, 298 VectorType *ValTy, std::optional<FastMathFlags> FMF, 305 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 220 std::optional<FastMathFlags> FMF, 225 FastMathFlags FMF) const; 228 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 208 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF, 213 std::optional<FastMathFlags> FMF, 218 VectorType *ValTy, std::optional<FastMathFlags> FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 224 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF, 440 std::optional<FastMathFlags> FMF, 445 VectorType *ValTy, std::optional<FastMathFlags> FMF,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Operator.h | 83 FastMathFlags getFastMathFlags() const { in getFastMathFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 216 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar() 289 FastMathFlags FMF = FastMathFlags::getFast(); in AddReductionVar() 386 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar() 892 FastMathFlags FuncFMF, ScalarEvolution *SE) { in isRecurrenceInstr() 995 FastMathFlags FMF; in isReductionPHI()
|
| H A D | InstructionSimplify.cpp | 63 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &, 67 static Value *simplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &, 4065 FastMathFlags FMF, const SimplifyQuery &Q, in simplifyFCmpInst() 4290 FastMathFlags FMF, const SimplifyQuery &Q) { in simplifyFCmpInst() 5584 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst() 5597 Value *llvm::simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst() 5646 static Constant *simplifyFPOp(ArrayRef<Value *> Ops, FastMathFlags FMF, in simplifyFPOp() 5688 simplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFAddInst() 5754 simplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFSubInst() 5820 static Value *simplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFMAFMul() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopUtils.h | 394 FastMathFlags FMF); 398 LLVM_ABI Value *getRecurrenceIdentity(RecurKind K, Type *Tp, FastMathFlags FMF);
|