Home
last modified time | relevance | path

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

123

/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DOperator.h187 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | in setHasAllowReassoc()
188 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc()
193 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
194 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
199 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
200 (B * FastMathFlags::NoInfs); in setHasNoInfs()
205 (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | in setHasNoSignedZeros()
206 (B * FastMathFlags::NoSignedZeros); in setHasNoSignedZeros()
211 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in setHasAllowReciprocal()
212 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
[all …]
DFMF.h21 class FastMathFlags {
27 FastMathFlags(unsigned F) { in FastMathFlags() function
50 FastMathFlags() = default;
52 static FastMathFlags getFast() { in getFast()
53 FastMathFlags FMF; in getFast()
100 void operator&=(const FastMathFlags &OtherFlags) {
103 void operator|=(const FastMathFlags &OtherFlags) {
106 bool operator!=(const FastMathFlags &OtherFlags) const {
114 inline raw_ostream &operator<<(raw_ostream &O, FastMathFlags FMF) {
DIRBuilderFolder.h46 Value *RHS, FastMathFlags FMF) const = 0;
49 FastMathFlags FMF) const = 0;
DInstruction.h32 class FastMathFlags; variable
456 void setFastMathFlags(FastMathFlags FMF);
461 void copyFastMathFlags(FastMathFlags FMF);
490 FastMathFlags getFastMathFlags() const LLVM_READONLY;
DNoFolder.h64 FastMathFlags FMF) const override { in FoldBinOpFMF()
69 FastMathFlags FMF) const override { in FoldUnOpFMF()
DFPEnv.h83 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
DConstantFolder.h87 FastMathFlags FMF) const override { in FoldBinOpFMF()
92 FastMathFlags FMF) const override { in FoldUnOpFMF()
DIRBuilder.h126 FastMathFlags FMF;
286 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
288 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags()
297 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags()
385 FastMathFlags FMF;
1197 FastMathFlags FMF) const { in setFPAttrs()
1468 FastMathFlags FMF = FMFSource->getFastMathFlags();
1495 FastMathFlags FMF = FMFSource->getFastMathFlags();
1522 FastMathFlags FMF = FMFSource->getFastMathFlags();
1549 FastMathFlags FMF = FMFSource->getFastMathFlags();
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DInstructionSimplify.h173 Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q);
178 simplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
185 simplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
192 simplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
201 Value *simplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
208 simplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
215 simplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
247 FastMathFlags FMF, const SimplifyQuery &Q);
293 Value *simplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
302 Value *simplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, FastMathFlags FMF,
DIVDescriptors.h74 RecurKind K, FastMathFlags FMF, Instruction *ExactFP, in RecurrenceDescriptor()
126 FastMathFlags FuncFMF);
158 Value *getRecurrenceIdentity(RecurKind K, Type *Tp, FastMathFlags FMF) const;
169 FastMathFlags FuncFMF, RecurrenceDescriptor &RedDes,
202 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
288 FastMathFlags FMF;
DInstSimplifyFolder.h66 FastMathFlags FMF) const override { in FoldBinOpFMF()
71 FastMathFlags FMF) const override { in FoldUnOpFMF()
DTargetTransformInfo.h125 FastMathFlags FMF;
138 FastMathFlags Flags = FastMathFlags(), const IntrinsicInst *I = nullptr,
146 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(),
153 FastMathFlags getFlags() const { return FMF; } in getFlags()
1275 static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) { in requiresOrderedReduction()
1304 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
1326 std::optional<FastMathFlags> FMF,
1833 std::optional<FastMathFlags> FMF,
1840 std::optional<FastMathFlags> FMF,
2431 std::optional<FastMathFlags> FMF, in getArithmeticReductionCost()
[all …]
DTargetFolder.h98 FastMathFlags FMF) const override { in FoldBinOpFMF()
111 FastMathFlags FMF) const override { in FoldUnOpFMF()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DExpandReductions.cpp106 FastMathFlags FMF = in expandReductions()
107 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceInstructionFlags.cpp37 FastMathFlags Flags = FPOp->getFastMathFlags(); in reduceFlagsInModule()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DIVDescriptors.cpp217 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar()
290 FastMathFlags FMF = FastMathFlags::getFast(); in AddReductionVar()
387 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
763 InstDesc &Prev, FastMathFlags FuncFMF) { in isRecurrenceInstr()
832 FastMathFlags FMF; in isReductionPHI()
1076 FastMathFlags FMF) const { in getRecurrenceIdentity()
DInstructionSimplify.cpp58 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &,
62 static Value *simplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &,
3954 FastMathFlags FMF, const SimplifyQuery &Q, in simplifyFCmpInst()
4163 FastMathFlags FMF, const SimplifyQuery &Q) { in simplifyFCmpInst()
5281 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
5294 Value *llvm::simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
5329 static Constant *simplifyFPOp(ArrayRef<Value *> Ops, FastMathFlags FMF, in simplifyFPOp()
5371 simplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFAddInst()
5437 simplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFSubInst()
5503 static Value *simplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFMAFMul()
[all …]
DTargetTransformInfo.cpp78 FastMathFlags Flags, in IntrinsicCostAttributes()
98 FastMathFlags Flags, in IntrinsicCostAttributes()
1011 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF, in getArithmeticReductionCost()
1030 std::optional<FastMathFlags> FMF, TTI::TargetCostKind CostKind) const { in getExtendedReductionCost()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVTargetTransformInfo.h140 std::optional<FastMathFlags> FMF,
145 std::optional<FastMathFlags> FMF,
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstruction.cpp289 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
294 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
339 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
386 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
DOperator.cpp235 void FastMathFlags::print(raw_ostream &O) const { in print()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h279 std::optional<FastMathFlags> FMF,
283 std::optional<FastMathFlags> FMF,
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h218 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86TargetTransformInfo.h196 std::optional<FastMathFlags> FMF,
/openbsd/src/gnu/llvm/llvm/include/llvm/AsmParser/
DLLParser.h220 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
221 FastMathFlags FMF; in EatFastMathFlagsIfPresent()

123