| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Operator.h | 185 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc() 191 (B * FastMathFlags::NoNaNs); in setHasNoNaNs() 197 (B * FastMathFlags::NoInfs); in setHasNoInfs() 203 (B * FastMathFlags::NoSignedZeros); in setHasNoSignedZeros() 209 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal() 215 (B * FastMathFlags::AllowContract); in setHasAllowContract() 221 (B * FastMathFlags::ApproxFunc); in setHasApproxFunc() 226 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() 232 void copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() 285 FastMathFlags getFastMathFlags() const { in getFastMathFlags() [all …]
|
| H A D | FMF.h | 21 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) {
|
| H A D | IRBuilderFolder.h | 46 Value *RHS, FastMathFlags FMF) const = 0; 49 FastMathFlags FMF) const = 0;
|
| H A D | Instruction.h | 33 class FastMathFlags; variable 433 void setFastMathFlags(FastMathFlags FMF); 438 void copyFastMathFlags(FastMathFlags FMF); 467 FastMathFlags getFastMathFlags() const;
|
| H A D | NoFolder.h | 64 FastMathFlags FMF) const override { in FoldBinOpFMF() 69 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 | ConstantFolder.h | 87 FastMathFlags FMF) const override { in FoldBinOpFMF() 92 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | IRBuilder.h | 125 FastMathFlags FMF; 277 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() 279 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() 288 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() 374 FastMathFlags FMF; 1152 FastMathFlags FMF) const { in setFPAttrs() 1426 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1453 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1480 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1532 FastMathFlags FMF = FMFSource->getFastMathFlags(); [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 147 Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q); 159 simplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF, 166 simplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF, 173 simplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF, 182 Value *simplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF, 198 simplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF, 211 simplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF, 243 FastMathFlags FMF, const SimplifyQuery &Q); 289 Value *simplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF, 298 Value *simplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, FastMathFlags FMF,
|
| H A D | IVDescriptors.h | 74 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, 199 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() 285 FastMathFlags FMF;
|
| H A D | InstSimplifyFolder.h | 66 FastMathFlags FMF) const override { in FoldBinOpFMF() 71 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | TargetFolder.h | 98 FastMathFlags FMF) const override { in FoldBinOpFMF() 111 FastMathFlags FMF) const override { in FoldUnOpFMF()
|
| H A D | TargetTransformInfo.h | 124 FastMathFlags FMF; 137 FastMathFlags Flags = FastMathFlags(), const IntrinsicInst *I = nullptr, 145 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(), 152 FastMathFlags getFlags() const { return FMF; } in getFlags() 1228 static bool requiresOrderedReduction(Optional<FastMathFlags> FMF) { in requiresOrderedReduction() 1257 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF, 1771 Optional<FastMathFlags> FMF, 2333 Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 106 FastMathFlags FMF = in expandReductions() 107 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 217 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() 1052 FastMathFlags FMF) const { in getRecurrenceIdentity()
|
| H A D | InstructionSimplify.cpp | 57 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &, 61 static Value *simplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &, 5070 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst() 5083 Value *llvm::simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst() 5137 simplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFAddInst() 5199 simplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFSubInst() 5294 simplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFMulInst() 5339 simplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFDivInst() 5394 simplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, in simplifyFRemInst() 5439 return simplifyFNegInst(Op, FastMathFlags(), Q, MaxRecurse); in simplifyUnOp() [all …]
|
| H A D | TargetTransformInfo.cpp | 77 FastMathFlags Flags, in IntrinsicCostAttributes() 97 FastMathFlags Flags, in IntrinsicCostAttributes() 958 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 239 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() 244 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() 289 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() 336 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
|
| H A D | Operator.cpp | 230 void FastMathFlags::print(raw_ostream &O) const { in print()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/ |
| H A D | LLVMToLLVMIRTranslation.cpp | 148 static llvm::FastMathFlags getFastmathFlags(FastmathFlagsInterface &op) { in getFastmathFlags() 149 using llvmFMF = llvm::FastMathFlags; in getFastmathFlags() 162 llvm::FastMathFlags ret; in getFastmathFlags()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 212 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 111 Optional<FastMathFlags> FMF,
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 365 Optional<FastMathFlags> FMF,
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 194 Optional<FastMathFlags> FMF,
|
| /llvm-project-15.0.7/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 202 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent() 203 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
|