/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
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 LHS, FastMathFlags RHS) { 118 inline FastMathFlags operator&(FastMathFlags LHS, FastMathFlags RHS) { [all …]
|
H A D | Operator.h | 219 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | in setHasAllowContract() 220 (B * FastMathFlags::AllowReassoc); 225 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasApproxFunc() 226 (B * FastMathFlags::NoNaNs); 231 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setFastMathFlags() 232 (B * FastMathFlags::NoInfs); 237 (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | in copyFastMathFlags() 238 (B * FastMathFlags::NoSignedZeros); 243 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in isFast() 244 (B * FastMathFlags in isFast() [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; 589 void setFastMathFlags(FastMathFlags FMF); 594 void copyFastMathFlags(FastMathFlags FMF); 623 FastMathFlags getFastMathFlags() const LLVM_READONLY; 33 class FastMathFlags; global() variable
|
H A D | FPEnv.h | 83 inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) { in canIgnoreSNaN()
|
H A D | ConstantFolder.h | 87 FastMathFlags FMF) const override { in FoldBinOpFMF() 92 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
H A D | IRBuilder.h | 123 FastMathFlags FMF; 297 FastMathFlags getFastMathFlags() const { return FMF; } 299 FastMathFlags &getFastMathFlags() { return FMF; } in clearFastMathFlags() 308 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } 396 FastMathFlags FMF; 1287 FastMathFlags FMF) const { in getConstrainedFPRounding() 1558 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1585 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1612 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1639 FastMathFlags FM [all...] |
/freebsd-src/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); 211 /// Try to use FastMathFlags when folding the result. 212 Value *simplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FM [all...] |
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 getScalarizationCost() 1482 /// for a given \p Opcode and set of FastMathFlags \p FMF. 1483 static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) { 1490 /// value using the operation denoted by \p Opcode. The FastMathFlags 1512 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FM [all...] |
H A D | TargetFolder.h | 98 FastMathFlags FMF) const override { in FoldBinOpFMF() 111 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
/freebsd-src/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 FM in emitFrexpDiv() [all...] |
H A D | AMDGPUTargetTransformInfo.h | 250 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF, 256 FastMathFlags FMF,
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.h | 178 FastMathFlags FMF, 182 std::optional<FastMathFlags> FMF, 187 FastMathFlags FMF,
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 215 std::optional<FastMathFlags> FMF, 220 FastMathFlags FMF); 223 FastMathFlags FMF,
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandReductions.cpp | 58 FastMathFlags FMF = in getRK() 59 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in getRK()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.h | 284 std::optional<FastMathFlags> FMF, 288 FastMathFlags FMF, 295 FastMathFlags FMF,
|
/freebsd-src/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 simplifyWithOpReplaced() 5547 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in propagateNaN() 5560 Value *llvm::simplifyFNegInst(Value *Op, FastMathFlags FMF, in propagateNaN() 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 FM 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 getMemcpyLoopLoweringType() 1159 Intrinsic::ID IID, VectorType *Ty, FastMathFlags FMF, in getMemcpyLoopResidualLoweringType() 1169 FastMathFlags FMF, TTI::TargetCostKind CostKind) const { in getInlineCallPenalty()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 193 FastMathFlags FMF, 395 std::optional<FastMathFlags> FMF,
|
/freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 560 void Instruction::setFastMathFlags(FastMathFlags FMF) { in copyIRFlags() 565 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyIRFlags() 610 FastMathFlags Instruction::getFastMathFlags() const { in getOpcodeName() 684 FastMathFlags FM = getFastMathFlags(); in getOpcodeName()
|
H A D | Operator.cpp | 260 void FastMathFlags::print(raw_ostream &O) const {
|