Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h161 class FastMathFlags {
167 FastMathFlags(unsigned F) { in FastMathFlags() function
190 FastMathFlags() = default;
192 static FastMathFlags getFast() { in getFast()
193 FastMathFlags FMF; in getFast()
268 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc()
274 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
280 (B * FastMathFlags::NoInfs); in setHasNoInfs()
286 (B * FastMathFlags::NoSignedZeros); in setHasNoSignedZeros()
304 (B * FastMathFlags::ApproxFunc); in setHasApproxFunc()
[all …]
H A DInstruction.h36 class FastMathFlags; variable
449 void setFastMathFlags(FastMathFlags FMF);
454 void copyFastMathFlags(FastMathFlags FMF);
483 FastMathFlags getFastMathFlags() const;
H A DIRBuilder.h127 FastMathFlags FMF;
294 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
296 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags()
305 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags()
391 FastMathFlags FMF;
1153 FastMathFlags FMF) const { in setFPAttrs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h148 Value *SimplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q);
160 SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
167 SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
174 SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
183 Value *SimplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
199 SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
212 SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
244 FastMathFlags FMF, const SimplifyQuery &Q);
290 Value *SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
299 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, FastMathFlags FMF,
H A DIVDescriptors.h72 FastMathFlags FMF, Instruction *ExactFP, Type *RT, in RecurrenceDescriptor()
120 InstDesc &Prev, FastMathFlags FMF);
143 FastMathFlags FMF);
153 FastMathFlags FMF,
185 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
252 FastMathFlags FMF;
H A DTargetTransformInfo.h123 FastMathFlags FMF;
135 FastMathFlags Flags = FastMathFlags(), const IntrinsicInst *I = nullptr,
143 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(),
150 FastMathFlags getFlags() const { return FMF; } in getFlags()
1151 static bool requiresOrderedReduction(Optional<FastMathFlags> FMF) { in requiresOrderedReduction()
1180 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
1647 Optional<FastMathFlags> FMF,
2149 Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
H A DTargetTransformInfoImpl.h625 Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp108 FastMathFlags FMF = in expandReductions()
109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp219 Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar()
287 FastMathFlags FMF = FastMathFlags::getFast(); in AddReductionVar()
335 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
596 InstDesc &Prev, FastMathFlags FMF) { in isRecurrenceInstr()
655 FastMathFlags FMF; in isReductionPHI()
820 FastMathFlags FMF) { in getRecurrenceIdentity()
H A DInstructionSimplify.cpp59 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &,
63 static Value *SimplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &,
4846 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
4859 Value *llvm::SimplifyFNegInst(Value *Op, FastMathFlags FMF, in SimplifyFNegInst()
4913 SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
4967 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
5058 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
5103 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
5158 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFRemInst()
5203 return simplifyFNegInst(Op, FastMathFlags(), Q, MaxRecurse); in simplifyUnOp()
[all …]
H A DTargetTransformInfo.cpp72 FastMathFlags Flags, in IntrinsicCostAttributes()
92 FastMathFlags Flags, in IntrinsicCostAttributes()
893 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp230 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
235 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
280 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
327 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
H A DIRBuilder.cpp858 FastMathFlags UseFMF = FMF; in CreateConstrainedFPBinOp()
891 FastMathFlags UseFMF = FMF; in CreateConstrainedFPCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h215 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
H A DAMDGPUTargetTransformInfo.cpp757 FastMathFlags FMF = ICA.getFlags(); in getIntrinsicInstrCost()
846 Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
H A DAMDGPUCodeGenPrepare.cpp757 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
1047 FastMathFlags FMF; in expandDivRem32()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h320 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h184 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h191 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
192 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h260 Optional<FastMathFlags> FMF,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1335 FastMathFlags FMF = ICA.getFlags(); in getIntrinsicInstrCost()
1500 FastMathFlags FMF = ICA.getFlags(); in getTypeBasedIntrinsicInstrCost()
2102 Optional<FastMathFlags> FMF, in getArithmeticReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp407 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getFastMathFlags()
408 FastMathFlags FMF; in getFastMathFlags()
1199 bool IsScalarMatrixTransposed, FastMathFlags FMF) { in emitMatrixMultiply()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1137 static FastMathFlags getDecodedFastMathFlags(unsigned Val) { in getDecodedFastMathFlags()
1138 FastMathFlags FMF; in getDecodedFastMathFlags()
4047 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4083 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4287 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4359 FastMathFlags FMF; in parseFunctionBody()
4822 FastMathFlags FMF = getDecodedFastMathFlags(Record[Record.size() - 1]); in parseFunctionBody()
5263 FastMathFlags FMF; in parseFunctionBody()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2174 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant()
2175 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant()
H A DInstructionCombining.cpp301 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
521 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
849 FastMathFlags FMF; in SimplifySelectsFeedingBinaryOp()

12