| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 219 (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 D | FMF.h | 20 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 D | IRBuilderFolder.h | 47 Value *RHS, FastMathFlags FMF) const = 0; 50 FastMathFlags FMF) const = 0;
|
| H A D | NoFolder.h | 64 FastMathFlags FMF) const override { in FoldBinOpFMF() 69 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | Instruction.h | 34 class FastMathFlags; variable 589 void setFastMathFlags(FastMathFlags FMF); 594 void copyFastMathFlags(FastMathFlags FMF); 623 FastMathFlags getFastMathFlags() const LLVM_READONLY;
|
| H A D | ConstantFolder.h | 87 FastMathFlags FMF) const override { in FoldBinOpFMF() 92 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | FPEnv.h | 83 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
|
| H A D | IRBuilder.h | 123 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 D | InstructionSimplify.h | 87 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 D | IVDescriptors.h | 76 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 D | InstSimplifyFolder.h | 66 FastMathFlags FMF) const override { in FoldBinOpFMF() 71 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | TargetTransformInfo.h | 127 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 D | TargetFolder.h | 98 FastMathFlags FMF) const override { in FoldBinOpFMF() 111 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 278 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 D | AMDGPUTargetTransformInfo.h | 250 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF, 256 FastMathFlags FMF,
|
| H A D | AMDGPULibCalls.cpp | 94 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 D | ExpandReductions.cpp | 58 FastMathFlags FMF = in expandReductions() 59 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 215 std::optional<FastMathFlags> FMF, 220 FastMathFlags FMF); 223 FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 178 FastMathFlags FMF, 182 std::optional<FastMathFlags> FMF, 187 FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 284 std::optional<FastMathFlags> FMF, 288 FastMathFlags FMF, 295 FastMathFlags FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 214 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 D | InstructionSimplify.cpp | 59 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 D | TargetTransformInfo.cpp | 88 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 D | AArch64TargetTransformInfo.h | 193 FastMathFlags FMF, 395 std::optional<FastMathFlags> FMF,
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 560 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()
|