Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h160 class FastMathFlags {
166 FastMathFlags(unsigned F) { in FastMathFlags() function
189 FastMathFlags() = default;
191 static FastMathFlags getFast() { in getFast()
192 FastMathFlags FMF; in getFast()
239 void operator&=(const FastMathFlags &OtherFlags) {
242 void operator|=(const FastMathFlags &OtherFlags) {
266 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | in setHasAllowReassoc()
267 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc()
272 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
[all …]
H A DInstruction.h36 class FastMathFlags; variable
435 void setFastMathFlags(FastMathFlags FMF);
440 void copyFastMathFlags(FastMathFlags FMF);
469 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;
1135 FastMathFlags FMF) const { in setFPAttrs()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h148 Value *SimplifyFNegInst(Value *Op, FastMathFlags FMF,
160 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
164 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
168 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
175 Value *SimplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
188 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
198 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
228 FastMathFlags FMF, const SimplifyQuery &Q);
274 Value *SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
284 FastMathFlags FMF, const SimplifyQuery &Q);
H A DIVDescriptors.h71 FastMathFlags FMF, Instruction *ExactFP, Type *RT, in RecurrenceDescriptor()
119 InstDesc &Prev, FastMathFlags FMF);
142 FastMathFlags FMF);
152 FastMathFlags FMF,
184 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
251 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DExpandReductions.cpp108 FastMathFlags FMF = in expandReductions()
109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
H A DMachineInstr.cpp552 const FastMathFlags Flags = FP->getFastMathFlags(); in copyFlagsFromInstruction()
/netbsd-src/external/apache2/llvm/dist/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()
654 FastMathFlags FMF; in isReductionPHI()
794 FastMathFlags FMF) { in getRecurrenceIdentity()
H A DInstructionSimplify.cpp56 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &,
60 static Value *SimplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &,
3650 FastMathFlags FMF, const SimplifyQuery &Q, in SimplifyFCmpInst()
3847 FastMathFlags FMF, const SimplifyQuery &Q) { in SimplifyFCmpInst()
4770 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, in simplifyFNegInst()
4783 Value *llvm::SimplifyFNegInst(Value *Op, FastMathFlags FMF, in SimplifyFNegInst()
4802 FastMathFlags FMF, in simplifyFPOp()
4825 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
4872 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
4917 static Value *SimplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMAFMul()
[all …]
H A DTargetTransformInfo.cpp72 FastMathFlags Flags, in IntrinsicCostAttributes()
92 FastMathFlags Flags, in IntrinsicCostAttributes()
H A DValueTracking.cpp5467 static bool isKnownNonNaN(const Value *V, FastMathFlags FMF) { in isKnownNonNaN()
5817 FastMathFlags FMF, in matchSelectPattern()
6131 FastMathFlags FMF; in matchDecomposedSelectPattern()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp209 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
214 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
259 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
306 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
H A DIRBuilder.cpp818 FastMathFlags UseFMF = FMF; in CreateConstrainedFPBinOp()
851 FastMathFlags UseFMF = FMF; in CreateConstrainedFPCast()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
H A DLLParser.h206 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
207 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp755 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
1020 FastMathFlags FMF; in expandDivRem32()
H A DAMDGPUTargetTransformInfo.cpp756 FastMathFlags FMF = ICA.getFlags(); in getIntrinsicInstrCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1169 static FastMathFlags getDecodedFastMathFlags(unsigned Val) { in getDecodedFastMathFlags()
1170 FastMathFlags FMF; in getDecodedFastMathFlags()
4074 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4110 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4316 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4392 FastMathFlags FMF; in parseFunctionBody()
4867 FastMathFlags FMF = getDecodedFastMathFlags(Record[Record.size() - 1]); in parseFunctionBody()
5310 FastMathFlags FMF; in parseFunctionBody()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1304 FastMathFlags FMF = ICA.getFlags(); in getIntrinsicInstrCost()
1463 FastMathFlags FMF = ICA.getFlags(); in getTypeBasedIntrinsicInstrCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp301 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
502 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
830 FastMathFlags FMF; in SimplifySelectsFeedingBinaryOp()
H A DInstCombineSelect.cpp1760 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1779 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp6188 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseInstruction()
6217 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseInstruction()
6249 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseInstruction()
6275 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseInstruction()
6296 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseInstruction()
7288 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in parseCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp885 FastMathFlags FMF; in computeBBInlineCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1836 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax()
1952 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp787 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()

12