Home
last modified time | relevance | path

Searched refs:FMF (Results 1 – 13 of 13) sorted by relevance

/external/llvm/unittests/IR/
DIRBuilderTest.cpp145 FastMathFlags FMF; in TEST_F() local
146 Builder.SetFastMathFlags(FMF); in TEST_F()
151 FMF.setUnsafeAlgebra(); in TEST_F()
152 Builder.SetFastMathFlags(FMF); in TEST_F()
181 FMF.clear(); in TEST_F()
182 FMF.setAllowReciprocal(); in TEST_F()
183 Builder.SetFastMathFlags(FMF); in TEST_F()
269 FastMathFlags FMF; in TEST_F() local
270 FMF.setAllowReciprocal(); in TEST_F()
271 Builder.SetFastMathFlags(FMF); in TEST_F()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h69 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,
280 const FastMathFlags &FMF, const DataLayout &DL,
/external/llvm/lib/AsmParser/
DLLParser.h173 FastMathFlags FMF; in EatFastMathFlagsIfPresent() local
176 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
177 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
178 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
179 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
180 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
181 default: return FMF; in EatFastMathFlagsIfPresent()
183 return FMF; in EatFastMathFlagsIfPresent()
DLLParser.cpp4456 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local
4460 if (FMF.any()) in ParseInstruction()
4461 Inst->setFastMathFlags(FMF); in ParseInstruction()
/external/llvm/include/llvm/IR/
DOperator.h257 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument
258 SubclassOptionalData |= FMF.Flags; in setFastMathFlags()
263 void copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() argument
264 SubclassOptionalData = FMF.Flags; in copyFastMathFlags()
DIRBuilder.h59 FastMathFlags FMF; variable
63 : Context(context), DefaultFPMathTag(FPMathTag), FMF() { in Context()
179 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
182 void clearFastMathFlags() { FMF.clear(); } in clearFastMathFlags()
188 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in SetFastMathFlags()
220 FastMathFlags FMF; variable
229 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {} in FastMathFlagGuard()
232 Builder.FMF = FMF; in ~FastMathFlagGuard()
685 FastMathFlags FMF) const { in AddFPMathAttributes() argument
690 I->setFastMathFlags(FMF); in AddFPMathAttributes()
[all …]
DInstruction.h259 void setFastMathFlags(FastMathFlags FMF);
264 void copyFastMathFlags(FastMathFlags FMF);
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp789 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst() argument
808 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFAddInst()
821 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && in SimplifyFAddInst()
822 (FMF.noInfs() || FSub->hasNoInfs())) in SimplifyFAddInst()
831 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst() argument
847 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFSubInst()
855 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X)))) in SimplifyFSubInst()
860 if (FMF.noNaNs() && FMF.noInfs() && Op0 == Op1) in SimplifyFSubInst()
868 FastMathFlags FMF, in SimplifyFMulInst() argument
887 if (FMF.noNaNs() && FMF.noSignedZeros() && match(Op1, m_AnyZero())) in SimplifyFMulInst()
[all …]
/external/llvm/lib/IR/
DInstruction.cpp130 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument
132 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
135 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() argument
137 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); in copyFastMathFlags()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp60 llvm::FastMathFlags FMF; in CodeGenFunction() local
62 FMF.setUnsafeAlgebra(); in CodeGenFunction()
64 FMF.setNoNaNs(); in CodeGenFunction()
65 FMF.setNoInfs(); in CodeGenFunction()
68 FMF.setNoNaNs(); in CodeGenFunction()
71 FMF.setNoSignedZeros(); in CodeGenFunction()
74 FMF.setAllowReciprocal(); in CodeGenFunction()
76 Builder.SetFastMathFlags(FMF); in CodeGenFunction()
/external/icu/icu4c/source/data/locales/
Dmua.txt163 "FMF",
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3426 FastMathFlags FMF; in ParseFunctionBody() local
3428 FMF.setUnsafeAlgebra(); in ParseFunctionBody()
3430 FMF.setNoNaNs(); in ParseFunctionBody()
3432 FMF.setNoInfs(); in ParseFunctionBody()
3434 FMF.setNoSignedZeros(); in ParseFunctionBody()
3436 FMF.setAllowReciprocal(); in ParseFunctionBody()
3437 if (FMF.any()) in ParseFunctionBody()
3438 I->setFastMathFlags(FMF); in ParseFunctionBody()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp154 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() local
156 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()