Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DOperator.h170 class FastMathFlags {
174 FastMathFlags(unsigned F) : Flags(F) { } in FastMathFlags() function
185 FastMathFlags() : Flags(0) in FastMathFlags() function
214 void operator&=(const FastMathFlags &OtherFlags) {
228 (SubclassOptionalData & ~FastMathFlags::UnsafeAlgebra) | in setHasUnsafeAlgebra()
229 (B * FastMathFlags::UnsafeAlgebra); in setHasUnsafeAlgebra()
241 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
242 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
246 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
247 (B * FastMathFlags::NoInfs); in setHasNoInfs()
[all …]
DInstruction.h25 class FastMathFlags; variable
226 void setFastMathFlags(FastMathFlags FMF);
246 FastMathFlags getFastMathFlags() const;
DIRBuilder.h58 FastMathFlags FMF;
180 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
189 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in SetFastMathFlags()
221 FastMathFlags FMF;
623 FastMathFlags FMF) const { in AddFPMathAttributes()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h43 class FastMathFlags; variable
64 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
71 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
79 FastMathFlags FMF,
/external/llvm/unittests/IR/
DIRBuilderTest.cpp130 TEST_F(IRBuilderTest, FastMathFlags) { in TEST_F() argument
143 FastMathFlags FMF; in TEST_F()
263 FastMathFlags FMF; in TEST_F()
/external/llvm/lib/IR/
DInstruction.cpp141 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
179 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
/external/llvm/lib/AsmParser/
DLLParser.h173 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
174 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
DLLParser.cpp3459 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp779 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
821 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
858 FastMathFlags FMF, in SimplifyFMulInst()
948 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
954 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
961 FastMathFlags FMF, in SimplifyFMulInst()
2895 return SimplifyFAddInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
2901 return SimplifyFSubInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
2905 return SimplifyFMulInst (LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp729 Flags |= FastMathFlags::UnsafeAlgebra; in GetOptimizationFlags()
731 Flags |= FastMathFlags::NoNaNs; in GetOptimizationFlags()
733 Flags |= FastMathFlags::NoInfs; in GetOptimizationFlags()
735 Flags |= FastMathFlags::NoSignedZeros; in GetOptimizationFlags()
737 Flags |= FastMathFlags::AllowReciprocal; in GetOptimizationFlags()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp996 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
1016 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
DInstCombineMulDivRem.cpp1159 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
1171 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
DInstructionCombining.cpp177 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
325 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
DInstCombineAddSub.cpp488 FastMathFlags Flags; in performFactorization()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2391 FastMathFlags FMF; in ParseFunctionBody()
2392 if (0 != (Record[OpNum] & FastMathFlags::UnsafeAlgebra)) in ParseFunctionBody()
2394 if (0 != (Record[OpNum] & FastMathFlags::NoNaNs)) in ParseFunctionBody()
2396 if (0 != (Record[OpNum] & FastMathFlags::NoInfs)) in ParseFunctionBody()
2398 if (0 != (Record[OpNum] & FastMathFlags::NoSignedZeros)) in ParseFunctionBody()
2400 if (0 != (Record[OpNum] & FastMathFlags::AllowReciprocal)) in ParseFunctionBody()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp57 llvm::FastMathFlags FMF; in CodeGenFunction()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2725 FastMathFlags Unsafe; in tryToReduce()
DLoopVectorize.cpp2591 FastMathFlags Flags; in addFastMathFlag()