Home
last modified time | relevance | path

Searched refs:FastMathFlags (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h219 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) |
220 (B * FastMathFlags::AllowReassoc);
225 (SubclassOptionalData & ~FastMathFlags::NoNaNs) |
226 (B * FastMathFlags::NoNaNs);
231 (SubclassOptionalData & ~FastMathFlags::NoInfs) |
232 (B * FastMathFlags::NoInfs);
237 (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) |
238 (B * FastMathFlags::NoSignedZeros);
243 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) |
244 (B * FastMathFlags::AllowReciprocal);
[all …]
H A DFMF.h20 class FastMathFlags {
26 FastMathFlags(unsigned F) { in FastMathFlags() function
49 FastMathFlags() = default;
51 static FastMathFlags getFast() { in getFast()
52 FastMathFlags FMF; in getFast()
99 void operator&=(const FastMathFlags &OtherFlags) {
102 void operator|=(const FastMathFlags &OtherFlags) {
105 bool operator!=(const FastMathFlags &OtherFlags) const {
113 inline FastMathFlags operator|(FastMathFlags LH
[all...]
H A DIRBuilderFolder.h47 Value *RHS, FastMathFlags FMF) const = 0;
50 FastMathFlags FMF) const = 0;
H A DNoFolder.h64 FastMathFlags FMF) const override { in FoldBinOpFMF()
69 FastMathFlags FMF) const override { in FoldUnOpFMF()
H A DInstruction.h34 class FastMathFlags; variable
589 void setFastMathFlags(FastMathFlags FMF);
594 void copyFastMathFlags(FastMathFlags FMF);
623 FastMathFlags getFastMathFlags() const LLVM_READONLY;
H A DConstantFolder.h87 FastMathFlags FMF) const override { in FoldBinOpFMF()
92 FastMathFlags FMF) const override { in FoldUnOpFMF()
H A DFPEnv.h83 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
H A DIRBuilder.h123 FastMathFlags FMF;
297 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
299 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags()
308 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags()
396 FastMathFlags FMF;
1287 FastMathFlags FMF) const { in setFPAttrs()
1558 FastMathFlags FMF = FMFSource->getFastMathFlags();
1585 FastMathFlags FMF = FMFSource->getFastMathFlags();
1612 FastMathFlags FMF = FMFSource->getFastMathFlags();
1639 FastMathFlags FMF = FMFSource->getFastMathFlags();
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h87 Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q);
92 simplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
99 simplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
106 simplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
115 Value *simplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
122 simplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
129 simplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
161 FastMathFlags FMF, const SimplifyQuery &Q);
212 Value *simplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
221 Value *simplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, FastMathFlags FMF,
H A DIVDescriptors.h76 RecurKind K, FastMathFlags FMF, Instruction *ExactFP, in RecurrenceDescriptor()
128 FastMathFlags FuncFMF);
160 Value *getRecurrenceIdentity(RecurKind K, Type *Tp, FastMathFlags FMF) const;
171 FastMathFlags FuncFMF, RecurrenceDescriptor &RedDes,
201 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
288 FastMathFlags FMF;
H A DInstSimplifyFolder.h66 FastMathFlags FMF) const override { in FoldBinOpFMF()
71 FastMathFlags FMF) const override { in FoldUnOpFMF()
H A DTargetTransformInfo.h127 FastMathFlags FMF;
140 FastMathFlags Flags = FastMathFlags(), const IntrinsicInst *I = nullptr,
148 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(),
155 FastMathFlags getFlags() const { return FMF; } in getFlags()
1483 static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) { in requiresOrderedReduction()
1512 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
1516 Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF = FastMathFlags(),
1534 FastMathFlags FMF,
2106 std::optional<FastMathFlags> FMF,
2109 getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF,
[all …]
H A DTargetFolder.h98 FastMathFlags FMF) const override { in FoldBinOpFMF()
111 FastMathFlags FMF) const override { in FoldUnOpFMF()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp278 bool canOptimizeWithRsq(const FPMathOperator *SqrtOp, FastMathFlags DivFMF,
279 FastMathFlags SqrtFMF) const;
282 FastMathFlags DivFMF, FastMathFlags SqrtFMF,
286 FastMathFlags FMF, const Instruction *CtxI) const;
291 FastMathFlags DivFMF, FastMathFlags SqrtFMF,
301 FastMathFlags FMF) const;
303 FastMathFlags FMF) const;
815 FastMathFlags FMF) const { in emitFrexpDiv()
842 FastMathFlags FMF) const { in emitSqrtIEEE2ULP()
891 FastMathFlags DivFMF, in canOptimizeWithRsq()
[all …]
H A DAMDGPUTargetTransformInfo.h250 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
256 FastMathFlags FMF,
H A DAMDGPULibCalls.cpp94 FastMathFlags FMF,
580 FastMathFlags FMF) { in isKnownIntegral()
680 FastMathFlags FMF = FPOp->getFastMathFlags(); in fold()
1226 FastMathFlags FMF = FPOp->getFastMathFlags(); in fold_rootn()
1316 AMDGPULibCalls::insertSinCos(Value *Arg, FastMathFlags FMF, IRBuilder<> &B, in insertSinCos()
1399 FastMathFlags FMF = FPOp->getFastMathFlags(); in fold_sincos()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp58 FastMathFlags FMF = in expandReductions()
59 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h215 std::optional<FastMathFlags> FMF,
220 FastMathFlags FMF);
223 FastMathFlags FMF,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h178 FastMathFlags FMF,
182 std::optional<FastMathFlags> FMF,
187 FastMathFlags FMF,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h284 std::optional<FastMathFlags> FMF,
288 FastMathFlags FMF,
295 FastMathFlags FMF,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp214 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar()
287 FastMathFlags FMF = FastMathFlags::getFast(); in AddReductionVar()
384 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
768 InstDesc &Prev, FastMathFlags FuncFMF) { in isRecurrenceInstr()
845 FastMathFlags FMF; in isReductionPHI()
1038 FastMathFlags FMF) const { in getRecurrenceIdentity()
H A DInstructionSimplify.cpp59 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &,
63 static Value *simplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &,
4069 FastMathFlags FMF, const SimplifyQuery &Q, in simplifyFCmpInst()
4297 FastMathFlags FMF, const SimplifyQuery &Q) { in simplifyFCmpInst()
5547 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
5560 Value *llvm::simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
5609 static Constant *simplifyFPOp(ArrayRef<Value *> Ops, FastMathFlags FMF, in simplifyFPOp()
5651 simplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFAddInst()
5717 simplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFSubInst()
5783 static Value *simplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFMAFMul()
[all …]
H A DTargetTransformInfo.cpp88 FastMathFlags Flags, in IntrinsicCostAttributes()
108 FastMathFlags Flags, in IntrinsicCostAttributes()
1150 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF, in getArithmeticReductionCost()
1159 Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF, in getMinMaxReductionCost()
1169 FastMathFlags FMF, TTI::TargetCostKind CostKind) const { in getExtendedReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h193 FastMathFlags FMF,
395 std::optional<FastMathFlags> FMF,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp560 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
565 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
610 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
684 FastMathFlags FM = getFastMathFlags(); in andIRFlags()

123