Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DIRBuilderTest.cpp134 FastMathFlags FMF; in TEST_F() local
135 Builder.SetFastMathFlags(FMF); in TEST_F()
140 FMF.setUnsafeAlgebra(); in TEST_F()
141 Builder.SetFastMathFlags(FMF); in TEST_F()
163 FMF.clear(); in TEST_F()
164 FMF.setAllowReciprocal(); in TEST_F()
165 Builder.SetFastMathFlags(FMF); in TEST_F()
/external/llvm/lib/AsmParser/
DLLParser.h164 FastMathFlags FMF; in EatFastMathFlagsIfPresent() local
167 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
168 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
169 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
170 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
171 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
172 default: return FMF; in EatFastMathFlagsIfPresent()
174 return FMF; in EatFastMathFlagsIfPresent()
DLLParser.cpp3268 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local
3272 if (FMF.any()) in ParseInstruction()
3273 Inst->setFastMathFlags(FMF); in ParseInstruction()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h64 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
71 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
79 FastMathFlags FMF,
/external/llvm/include/llvm/IR/
DIRBuilder.h358 FastMathFlags FMF; variable
363 FMF() { in IRBuilderBase()
367 : IRBuilderBase(C), Folder(), DefaultFPMathTag(FPMathTag), FMF() { in IRBuilderBase()
372 DefaultFPMathTag(FPMathTag), FMF() {
378 DefaultFPMathTag(FPMathTag), FMF() {
384 FMF() {
391 FMF() {
399 DefaultFPMathTag(FPMathTag), FMF() {
405 DefaultFPMathTag(FPMathTag), FMF() {
416 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
[all …]
DOperator.h257 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument
258 SubclassOptionalData |= FMF.Flags; in setFastMathFlags()
DInstruction.h208 void setFastMathFlags(FastMathFlags FMF);
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp866 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst() argument
885 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFAddInst()
898 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && in SimplifyFAddInst()
899 (FMF.noInfs() || FSub->hasNoInfs())) in SimplifyFAddInst()
908 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst() argument
924 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFSubInst()
932 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X)))) in SimplifyFSubInst()
937 if (FMF.noNaNs() && FMF.noInfs() && Op0 == Op1) in SimplifyFSubInst()
945 FastMathFlags FMF, in SimplifyFMulInst() argument
964 if (FMF.noNaNs() && FMF.noSignedZeros() && match(Op1, m_AnyZero())) in SimplifyFMulInst()
[all …]
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp56 llvm::FastMathFlags FMF; in CodeGenFunction() local
58 FMF.setUnsafeAlgebra(); in CodeGenFunction()
60 FMF.setNoNaNs(); in CodeGenFunction()
61 FMF.setNoInfs(); in CodeGenFunction()
63 Builder.SetFastMathFlags(FMF); in CodeGenFunction()
/external/llvm/lib/IR/
DInstruction.cpp137 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument
139 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/external/icu4c/data/locales/
Dmua.txt168 "FMF",
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2244 FastMathFlags FMF; in ParseFunctionBody() local
2246 FMF.setUnsafeAlgebra(); in ParseFunctionBody()
2248 FMF.setNoNaNs(); in ParseFunctionBody()
2250 FMF.setNoInfs(); in ParseFunctionBody()
2252 FMF.setNoSignedZeros(); in ParseFunctionBody()
2254 FMF.setAllowReciprocal(); in ParseFunctionBody()
2255 if (FMF.any()) in ParseFunctionBody()
2256 I->setFastMathFlags(FMF); in ParseFunctionBody()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp175 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() local
177 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()