Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DOperator.h164 class FastMathFlags {
168 FastMathFlags(unsigned F) : Flags(F) { } in FastMathFlags() function
179 FastMathFlags() : Flags(0) in FastMathFlags() function
208 void operator&=(const FastMathFlags &OtherFlags) {
222 (SubclassOptionalData & ~FastMathFlags::UnsafeAlgebra) | in setHasUnsafeAlgebra()
223 (B * FastMathFlags::UnsafeAlgebra); in setHasUnsafeAlgebra()
235 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
236 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
240 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
241 (B * FastMathFlags::NoInfs); in setHasNoInfs()
[all …]
DInstruction.h26 class FastMathFlags; variable
261 void setFastMathFlags(FastMathFlags FMF);
266 void copyFastMathFlags(FastMathFlags FMF);
286 FastMathFlags getFastMathFlags() const;
DIRBuilder.h62 FastMathFlags FMF;
171 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
180 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in SetFastMathFlags()
212 FastMathFlags FMF;
753 FastMathFlags FMF) const { in AddFPMathAttributes()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h44 class FastMathFlags; variable
69 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
78 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
87 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
120 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
145 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
215 FastMathFlags FMF, const DataLayout &DL,
298 const FastMathFlags &FMF, const DataLayout &DL,
/external/llvm/lib/IR/
DInstruction.cpp141 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
146 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
184 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
DInstructions.cpp2223 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp65 static Value *SimplifyFPBinOp(unsigned, Value *, Value *, const FastMathFlags &,
788 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
830 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
867 FastMathFlags FMF, in SimplifyFMulInst()
957 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
966 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
975 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
1114 static Value *SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
1148 Value *llvm::SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
1254 static Value *SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFRemInst()
[all …]
DValueTracking.cpp3842 static bool isKnownNonNaN(Value *V, FastMathFlags FMF) { in isKnownNonNaN()
3858 FastMathFlags FMF, in matchSelectPattern()
4058 FastMathFlags FMF; in matchSelectPattern()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp131 TEST_F(IRBuilderTest, FastMathFlags) { in TEST_F() argument
144 FastMathFlags FMF; in TEST_F()
306 FastMathFlags FMF; in TEST_F()
/external/llvm/lib/AsmParser/
DLLParser.h184 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
185 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
DLLParser.cpp4753 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction()
4780 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction()
5638 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseCall()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp829 static FastMathFlags getDecodedFastMathFlags(unsigned Val) { in getDecodedFastMathFlags()
830 FastMathFlags FMF; in getDecodedFastMathFlags()
831 if (0 != (Val & FastMathFlags::UnsafeAlgebra)) in getDecodedFastMathFlags()
833 if (0 != (Val & FastMathFlags::NoNaNs)) in getDecodedFastMathFlags()
835 if (0 != (Val & FastMathFlags::NoInfs)) in getDecodedFastMathFlags()
837 if (0 != (Val & FastMathFlags::NoSignedZeros)) in getDecodedFastMathFlags()
839 if (0 != (Val & FastMathFlags::AllowReciprocal)) in getDecodedFastMathFlags()
4108 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4373 FastMathFlags FMF; in parseFunctionBody()
5034 FastMathFlags FMF; in parseFunctionBody()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1033 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
1053 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
DInstCombineMulDivRem.cpp1312 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
1324 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
DInstructionCombining.cpp164 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
311 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
DInstCombineAddSub.cpp489 FastMathFlags Flags; in performFactorization()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp600 FastMathFlags FMF; in createMinMaxOp()
DSimplifyLibCalls.cpp1132 FastMathFlags FMF; in optimizePow()
1309 FastMathFlags FMF; in optimizeFMinFMax()
1365 FastMathFlags FMF; in optimizeLog()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp816 Flags |= FastMathFlags::UnsafeAlgebra; in GetOptimizationFlags()
818 Flags |= FastMathFlags::NoNaNs; in GetOptimizationFlags()
820 Flags |= FastMathFlags::NoInfs; in GetOptimizationFlags()
822 Flags |= FastMathFlags::NoSignedZeros; in GetOptimizationFlags()
824 Flags |= FastMathFlags::AllowReciprocal; in GetOptimizationFlags()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp66 llvm::FastMathFlags FMF; in CodeGenFunction()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp863 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3776 FastMathFlags Unsafe; in tryToReduce()
DLoopVectorize.cpp3049 FastMathFlags Flags; in addFastMathFlag()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2308 FastMathFlags FMF; in visitBinary()