Searched refs:FMF (Results 1 - 12 of 12) sorted by relevance

/external/llvm/unittests/IR/
H A DIRBuilderTest.cpp134 FastMathFlags FMF; local
135 Builder.SetFastMathFlags(FMF);
140 FMF.setUnsafeAlgebra();
141 Builder.SetFastMathFlags(FMF);
163 FMF.clear();
164 FMF.setAllowReciprocal();
165 Builder.SetFastMathFlags(FMF);
/external/llvm/lib/AsmParser/
H A DLLParser.h164 FastMathFlags FMF; local
167 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue;
168 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue;
169 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue;
170 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue;
171 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue;
172 default: return FMF;
174 return FMF;
H A DLLParser.cpp3268 FastMathFlags FMF = EatFastMathFlagsIfPresent();
3272 if (FMF.any())
3273 Inst->setFastMathFlags(FMF);
/external/llvm/include/llvm/Analysis/
H A 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/
H A DIRBuilder.h358 FastMathFlags FMF; member in class:llvm::IRBuilder
363 FMF() {
367 : IRBuilderBase(C), Folder(), DefaultFPMathTag(FPMathTag), FMF() {
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; }
[all...]
H A DOperator.h257 void setFastMathFlags(FastMathFlags FMF) { argument
258 SubclassOptionalData |= FMF.Flags;
H A DInstruction.h208 void setFastMathFlags(FastMathFlags FMF);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp866 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument
885 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0)))
898 if ((FMF.noNaNs() || FSub->hasNoNaNs()) &&
899 (FMF.noInfs() || FSub->hasNoInfs()))
908 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument
924 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0)))
932 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X))))
937 if (FMF.noNaNs() && FMF.noInfs() && Op0 == Op1)
945 FastMathFlags FMF,
944 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &Q, unsigned MaxRecurse) argument
1035 SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout *TD, const TargetLibraryInfo *TLI, const DominatorTree *DT) argument
1041 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout *TD, const TargetLibraryInfo *TLI, const DominatorTree *DT) argument
1047 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout *TD, const TargetLibraryInfo *TLI, const DominatorTree *DT) argument
[all...]
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp56 llvm::FastMathFlags FMF; local
58 FMF.setUnsafeAlgebra();
60 FMF.setNoNaNs();
61 FMF.setNoInfs();
63 Builder.SetFastMathFlags(FMF);
/external/llvm/lib/IR/
H A DInstruction.cpp137 void Instruction::setFastMathFlags(FastMathFlags FMF) { argument
139 cast<FPMathOperator>(this)->setFastMathFlags(FMF);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2244 FastMathFlags FMF; local
2246 FMF.setUnsafeAlgebra();
2248 FMF.setNoNaNs();
2250 FMF.setNoInfs();
2252 FMF.setNoSignedZeros();
2254 FMF.setAllowReciprocal();
2255 if (FMF.any())
2256 I->setFastMathFlags(FMF);
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp175 FastMathFlags FMF = I.getFastMathFlags(); local
177 I.setFastMathFlags(FMF);

Completed in 477 milliseconds