Home
last modified time | relevance | path

Searched refs:FMFSource (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp90 Instruction *FMFSource = nullptr, in createCallHelper() argument
93 if (FMFSource)
94 CI->copyFastMathFlags(FMFSource);
874 return createCallHelper(Fn, {V}, this, Name, FMFSource); in CreateUnaryIntrinsic()
883 return createCallHelper(Fn, {LHS, RHS}, this, Name, FMFSource); in CreateBinaryIntrinsic()
889 Instruction *FMFSource, in CreateIntrinsic() argument
893 return createCallHelper(Fn, Args, this, Name, FMFSource); in CreateIntrinsic()
905 if (FMFSource) in CreateConstrainedFPBinOp()
906 UseFMF = FMFSource->getFastMathFlags(); in CreateConstrainedFPBinOp()
938 if (FMFSource) in CreateConstrainedFPCast()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h164 static UnaryOperator *CreateFNegFMF(Value *Op, Instruction *FMFSource,
167 return CreateWithCopiedFlags(Instruction::FNeg, Op, FMFSource, Name,
258 Instruction *FMFSource,
260 return CreateWithCopiedFlags(Instruction::FAdd, V1, V2, FMFSource, Name);
263 Instruction *FMFSource,
265 return CreateWithCopiedFlags(Instruction::FSub, V1, V2, FMFSource, Name);
268 Instruction *FMFSource,
270 return CreateWithCopiedFlags(Instruction::FMul, V1, V2, FMFSource, Name);
273 Instruction *FMFSource,
275 return CreateWithCopiedFlags(Instruction::FDiv, V1, V2, FMFSource, Name);
[all …]
H A DIRBuilder.h887 Instruction *FMFSource = nullptr,
1424 L, R, FMFSource, Name);
1426 FastMathFlags FMF = FMFSource->getFastMathFlags();
1451 L, R, FMFSource, Name);
1453 FastMathFlags FMF = FMFSource->getFastMathFlags();
1478 L, R, FMFSource, Name);
1480 FastMathFlags FMF = FMFSource->getFastMathFlags();
1505 L, R, FMFSource, Name);
1532 FastMathFlags FMF = FMFSource->getFastMathFlags();
1599 Value *CreateFNegFMF(Value *V, Instruction *FMFSource,
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp270 if (auto *FMFSource = dyn_cast<Instruction>(FlagsOp)) in CreateNeg() local
271 return UnaryOperator::CreateFNegFMF(S1, FMFSource, Name, InsertBefore); in CreateNeg()