Searched refs:FMF (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h122 Value *SimplifyFNegInst(Value *Op, FastMathFlags FMF,
134 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
138 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
142 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
149 Value *SimplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
162 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
172 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
202 FastMathFlags FMF, const SimplifyQuery &Q);
247 Value *SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
257 FastMathFlags FMF, cons
[all...]
H A DIVDescriptors.h92 FastMathFlags FMF, MinMaxRecurrenceKind MK,
95 : StartValue(Start), LoopExitInstr(Exit), Kind(K), FMF(FMF),
203 FastMathFlags getFastMathFlags() { return FMF; }
246 FastMathFlags FMF; member in class:llvm::RecurrenceDescriptor
91 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurrenceKind K, FastMathFlags FMF, MinMaxRecurrenceKind MK, Instruction *UAI, Type *RT, bool Signed, SmallPtrSetImpl<Instruction *> &CI) argument
H A DTargetTransformInfo.h1004 ArrayRef<Value *> Args, FastMathFlags FMF,
1011 ArrayRef<Type *> Tys, FastMathFlags FMF,
1351 ArrayRef<Type *> Tys, FastMathFlags FMF,
1354 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) = 0;
1777 FastMathFlags FMF, unsigned ScalarizationCostPassed) override {
1778 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys, FMF,
1782 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) override {
1783 return Impl.getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp108 FastMathFlags FMF = local
116 Builder.setFastMathFlags(FMF);
125 if (!FMF.allowReassoc())
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h192 FastMathFlags FMF; local
193 FMF.setFast();
194 return FMF;
304 /// FMF is a mask of the bits to set.
305 void setFastMathFlags(FastMathFlags FMF) { argument
306 SubclassOptionalData |= FMF.Flags;
310 /// All values in FMF are transferred to this operator.
311 void copyFastMathFlags(FastMathFlags FMF) { argument
312 SubclassOptionalData = FMF.Flags;
H A DIRBuilder.h97 FastMathFlags FMF; member in class:llvm::IRBuilderBase
216 FastMathFlags getFastMathFlags() const { return FMF; }
219 void clearFastMathFlags() { FMF.clear(); }
225 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; }
300 FastMathFlags FMF; member in class:llvm::IRBuilderBase::FastMathFlagGuard
305 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {}
311 Builder.FMF = FMF;
1156 FastMathFlags FMF) cons
[all...]
H A DInstruction.h396 void setFastMathFlags(FastMathFlags FMF);
401 void copyFastMathFlags(FastMathFlags FMF);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h109 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
111 ArrayRef<Type*> Tys, FastMathFlags FMF,
H A DHexagonTargetTransformInfo.cpp134 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) {
135 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
139 ArrayRef<Type*> Tys, FastMathFlags FMF,
145 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, FMF,
133 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) argument
138 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type*> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h103 ArrayRef<Value *> Args, FastMathFlags FMF,
106 ArrayRef<Type *> Tys, FastMathFlags FMF,
H A DSystemZTargetTransformInfo.cpp1130 FastMathFlags FMF, unsigned VF) {
1134 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
1139 FastMathFlags FMF,
1145 FMF, ScalarizationCostPassed);
1128 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) argument
1137 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h113 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
115 ArrayRef<Type*> Tys, FastMathFlags FMF,
H A DPPCTargetTransformInfo.cpp955 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) {
956 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
960 ArrayRef<Type*> Tys, FastMathFlags FMF,
964 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, FMF,
954 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) argument
959 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type*> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h219 ArrayRef<T *> Args, FastMathFlags FMF,
222 ArrayRef<Type *> Tys, FastMathFlags FMF,
225 ArrayRef<Value *> Args, FastMathFlags FMF,
H A DAMDGPUTargetTransformInfo.cpp469 FastMathFlags FMF, unsigned VF) {
471 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
475 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
497 ArrayRef<Value*> Args, FastMathFlags FMF,
499 return getIntrinsicInstrCost<Value>(ID, RetTy, Args, FMF, VF);
503 ArrayRef<Type *> Tys, FastMathFlags FMF,
505 return getIntrinsicInstrCost<Type>(ID, RetTy, Tys, FMF,
783 FastMathFlags FMF; local
785 FMF = FPMO->getFastMathFlags();
787 FMF);
467 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<T *> Args, FastMathFlags FMF, unsigned VF) argument
496 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) argument
502 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed) argument
[all...]
H A DAMDGPUCodeGenPrepare.cpp560 FastMathFlags FMF = FPOp->getFastMathFlags();
561 bool UnsafeDiv = HasUnsafeFPMath || FMF.isFast() ||
562 FMF.allowReciprocal();
569 Builder.setFastMathFlags(FMF);
747 FastMathFlags FMF; local
748 FMF.setFast();
749 Builder.setFastMathFlags(FMF);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.h221 FastMathFlags FMF; local
224 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continue;
225 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue;
226 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue;
227 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue;
228 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue;
230 FMF.setAllowContract(true);
233 case lltok::kw_reassoc: FMF.setAllowReassoc(); Lex.Lex(); continue;
234 case lltok::kw_afn: FMF.setApproxFunc(); Lex.Lex(); continue;
235 default: return FMF;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3518 FastMathFlags FMF, const SimplifyQuery &Q,
3541 if (FMF.noNaNs() ||
3668 if ((FMF.noNaNs() || isKnownNeverNaN(LHS, Q.TLI)) &&
3700 FastMathFlags FMF, const SimplifyQuery &Q) {
3701 return ::SimplifyFCmpInst(Predicate, LHS, RHS, FMF, Q, RecursionLimit);
4534 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, argument
4547 Value *llvm::SimplifyFNegInst(Value *Op, FastMathFlags FMF, argument
4549 return ::simplifyFNegInst(Op, FMF, Q, RecursionLimit);
4578 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument
4592 (FMF
3517 SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS, FastMathFlags FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
3699 SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS, FastMathFlags FMF, const SimplifyQuery &Q) argument
4625 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
4670 SimplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
4704 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
4713 SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4719 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4724 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4729 SimplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4734 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q, unsigned) argument
4774 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4779 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q, unsigned) argument
4802 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const SimplifyQuery &Q) argument
4824 simplifyFPUnOp(unsigned Opcode, Value *Op, const FastMathFlags &FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
4839 SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF, const SimplifyQuery &Q) argument
4893 SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, const FastMathFlags &FMF, const SimplifyQuery &Q, unsigned MaxRecurse) argument
4915 SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS, FastMathFlags FMF, const SimplifyQuery &Q) argument
[all...]
H A DTargetTransformInfo.cpp693 ArrayRef<Type *> Tys, FastMathFlags FMF,
695 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF,
702 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) const {
703 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
1334 FastMathFlags FMF; local
1336 FMF = FPMO->getFastMathFlags();
1339 Args, FMF);
692 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed) const argument
701 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) const argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h148 ArrayRef<Type *> Tys, FastMathFlags FMF,
151 ArrayRef<Value *> Args, FastMathFlags FMF,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp388 FastMathFlags FMF; local
389 FMF.setNoNaNs();
390 Rdx->setFastMathFlags(FMF);
399 FastMathFlags FMF; local
400 FMF.setNoNaNs();
401 Rdx->setFastMathFlags(FMF);
H A DInstruction.cpp184 void Instruction::setFastMathFlags(FastMathFlags FMF) { argument
186 cast<FPMathOperator>(this)->setFastMathFlags(FMF);
189 void Instruction::copyFastMathFlags(FastMathFlags FMF) { argument
191 cast<FPMathOperator>(this)->copyFastMathFlags(FMF);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1072 ArrayRef<Value *> Args, FastMathFlags FMF,
1102 return ConcreteTTI->getIntrinsicInstrCost(IID, RetTy, Types, FMF,
1134 return getIntrinsicInstrCost(IID, RetTy, Args[0]->getType(), FMF);
1180 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF,
1213 ConcreteTTI->getIntrinsicInstrCost(IID, ScalarRetTy, ScalarTys, FMF);
1251 if (FMF.noNaNs())
1256 if (FMF.noNaNs())
1349 OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
1367 OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
1530 IID, RetTy->getScalarType(), ScalarTys, FMF);
1071 getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF = 1) argument
1179 getIntrinsicInstrCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF, unsigned ScalarizationCostPassed = std::numeric_limits<unsigned>::max()) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1159 FastMathFlags FMF; local
1161 FMF.setFast();
1163 FMF.setAllowReassoc();
1165 FMF.setNoNaNs();
1167 FMF.setNoInfs();
1169 FMF.setNoSignedZeros();
1171 FMF.setAllowReciprocal();
1173 FMF.setAllowContract(true);
1175 FMF.setApproxFunc();
1176 return FMF;
3881 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); local
3917 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); local
4122 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); local
4196 FastMathFlags FMF; local
4671 FastMathFlags FMF = getDecodedFastMathFlags(Record[Record.size() - 1]); local
4999 FastMathFlags FMF; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp73 llvm::FastMathFlags FMF; local
75 FMF.setFast();
77 FMF.setNoNaNs();
78 FMF.setNoInfs();
81 FMF.setNoNaNs();
84 FMF.setNoSignedZeros();
87 FMF.setAllowReciprocal();
90 FMF.setAllowReassoc();
92 Builder.setFastMathFlags(FMF);

Completed in 244 milliseconds

12