Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DOperator.h160 class FastMathFlags {
166 FastMathFlags(unsigned F) { in FastMathFlags() function
189 FastMathFlags() = default;
258 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc()
264 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
270 (B * FastMathFlags::NoInfs); in setHasNoInfs()
276 (B * FastMathFlags::NoSignedZeros); in setHasNoSignedZeros()
282 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
288 (B * FastMathFlags::AllowContract); in setHasAllowContract()
294 (B * FastMathFlags::ApproxFunc); in setHasApproxFunc()
[all …]
H A DInstruction.h35 class FastMathFlags; variable
376 void setFastMathFlags(FastMathFlags FMF);
381 void copyFastMathFlags(FastMathFlags FMF);
410 FastMathFlags getFastMathFlags() const;
H A DIRBuilder.h98 FastMathFlags FMF;
211 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
220 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags()
252 FastMathFlags FMF;
997 FastMathFlags FMF) const { in setFPAttrs()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h47 class FastMathFlags; variable
130 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
134 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
138 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
151 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
161 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
191 FastMathFlags FMF, const SimplifyQuery &Q);
239 FastMathFlags FMF, const SimplifyQuery &Q);
H A DTargetTransformInfo.h865 ArrayRef<Value *> Args, FastMathFlags FMF,
872 ArrayRef<Type *> Tys, FastMathFlags FMF,
1167 ArrayRef<Type *> Tys, FastMathFlags FMF,
1170 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) = 0;
1521 FastMathFlags FMF, unsigned ScalarizationCostPassed) override { in getIntrinsicInstrCost()
1526 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) override { in getIntrinsicInstrCost()
H A DTargetTransformInfoImpl.h463 ArrayRef<Type *> Tys, FastMathFlags FMF, in getIntrinsicInstrCost()
468 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h103 ArrayRef<Value *> Args, FastMathFlags FMF,
106 ArrayRef<Type *> Tys, FastMathFlags FMF,
H A DSystemZTargetTransformInfo.cpp1109 FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost()
1118 FastMathFlags FMF, in getIntrinsicInstrCost()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h110 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
112 ArrayRef<Type*> Tys, FastMathFlags FMF,
H A DHexagonTargetTransformInfo.cpp133 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost()
138 ArrayRef<Type*> Tys, FastMathFlags FMF, in getIntrinsicInstrCost()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h90 ArrayRef<Type *> Tys, FastMathFlags FMF,
93 ArrayRef<Value *> Args, FastMathFlags FMF,
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp183 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
188 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
233 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
280 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
H A DIRBuilder.cpp383 FastMathFlags FMF; in CreateFPMaxReduce()
394 FastMathFlags FMF; in CreateFPMinReduce()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp55 static Value *SimplifyFPBinOp(unsigned, Value *, Value *, const FastMathFlags &,
4634 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
4640 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
4645 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
4690 Value *llvm::SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
4718 Value *llvm::SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFRemInst()
4757 return SimplifyFAddInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
4759 return SimplifyFSubInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
4761 return SimplifyFMulInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
4763 return SimplifyFDivInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
[all …]
H A DTargetTransformInfo.cpp539 ArrayRef<Type *> Tys, FastMathFlags FMF, in getIntrinsicInstrCost()
548 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) const { in getIntrinsicInstrCost()
1158 FastMathFlags FMF; in getInstructionThroughput()
H A DValueTracking.cpp4476 static bool isKnownNonNaN(const Value *V, FastMathFlags FMF) { in isKnownNonNaN()
4796 FastMathFlags FMF, in matchSelectPattern()
5098 FastMathFlags FMF; in matchSelectPattern()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp674 FastMathFlags Flags; in addFastMathFlag()
711 FastMathFlags FMF; in createMinMaxOp()
812 FastMathFlags FMFFast; in createSimpleTargetReduction()
H A DSimplifyLibCalls.cpp1530 FastMathFlags FMF; in optimizeFMinFMax()
1579 FastMathFlags FMF; in optimizeLog()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.h221 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
222 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp428 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
616 FastMathFlags FMF; in expandDivRem32()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1007 ArrayRef<Value *> Args, FastMathFlags FMF,
1117 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF,
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1070 static FastMathFlags getDecodedFastMathFlags(unsigned Val) { in getDecodedFastMathFlags()
1071 FastMathFlags FMF; in getDecodedFastMathFlags()
3586 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
3622 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
3887 FastMathFlags FMF; in parseFunctionBody()
4558 FastMathFlags FMF; in parseFunctionBody()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1251 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1270 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
H A DInstructionCombining.cpp234 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
424 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp315 FastMathFlags Flags; in addFastMathFlag()
1769 FastMathFlags Flags; in getStepVector()
2683 FastMathFlags Flags; in emitTransformedIndex()
3114 FastMathFlags FMF; in getVectorIntrinsicCost()

12