/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 144 FastMathFlags FMF; in TEST_F() local 145 Builder.SetFastMathFlags(FMF); in TEST_F() 150 FMF.setUnsafeAlgebra(); in TEST_F() 151 Builder.SetFastMathFlags(FMF); in TEST_F() 180 FMF.clear(); in TEST_F() 181 FMF.setAllowReciprocal(); in TEST_F() 182 Builder.SetFastMathFlags(FMF); in TEST_F() 198 FMF.clear(); in TEST_F() 199 FMF.setAllowReciprocal(); in TEST_F() 200 Builder.SetFastMathFlags(FMF); in TEST_F() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 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/AsmParser/ |
D | LLParser.h | 185 FastMathFlags FMF; in EatFastMathFlagsIfPresent() local 188 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 189 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 190 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 191 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 192 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 193 default: return FMF; in EatFastMathFlagsIfPresent() 195 return FMF; in EatFastMathFlagsIfPresent()
|
D | LLParser.cpp | 4753 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local 4757 if (FMF.any()) in ParseInstruction() 4758 Inst->setFastMathFlags(FMF); in ParseInstruction() 4780 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local 4784 if (FMF.any()) in ParseInstruction() 4785 Inst->setFastMathFlags(FMF); in ParseInstruction() 5638 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseCall() local 5649 if (FMF.any() && !RetType->isFPOrFPVectorTy()) in ParseCall() 5725 if (FMF.any()) in ParseCall() 5726 CI->setFastMathFlags(FMF); in ParseCall()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 256 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument 257 SubclassOptionalData |= FMF.Flags; in setFastMathFlags() 262 void copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() argument 263 SubclassOptionalData = FMF.Flags; in copyFastMathFlags()
|
D | IRBuilder.h | 62 FastMathFlags FMF; variable 66 : Context(context), DefaultFPMathTag(FPMathTag), FMF() { in Context() 171 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() 174 void clearFastMathFlags() { FMF.clear(); } in clearFastMathFlags() 180 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in SetFastMathFlags() 212 FastMathFlags FMF; variable 221 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {} in FastMathFlagGuard() 224 Builder.FMF = FMF; in ~FastMathFlagGuard() 753 FastMathFlags FMF) const { in AddFPMathAttributes() argument 758 I->setFastMathFlags(FMF); in AddFPMathAttributes() [all …]
|
D | Instruction.h | 261 void setFastMathFlags(FastMathFlags FMF); 266 void copyFastMathFlags(FastMathFlags FMF);
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 788 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst() argument 807 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFAddInst() 820 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && in SimplifyFAddInst() 821 (FMF.noInfs() || FSub->hasNoInfs())) in SimplifyFAddInst() 830 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst() argument 846 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) in SimplifyFSubInst() 854 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X)))) in SimplifyFSubInst() 859 if (FMF.noNaNs() && Op0 == Op1) in SimplifyFSubInst() 867 FastMathFlags FMF, in SimplifyFMulInst() argument 886 if (FMF.noNaNs() && FMF.noSignedZeros() && match(Op1, m_AnyZero())) in SimplifyFMulInst() [all …]
|
D | ValueTracking.cpp | 3842 static bool isKnownNonNaN(Value *V, FastMathFlags FMF) { in isKnownNonNaN() argument 3843 if (FMF.noNaNs()) in isKnownNonNaN() 3858 FastMathFlags FMF, in matchSelectPattern() argument 3875 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern() 3889 bool LHSSafe = isKnownNonNaN(CmpLHS, FMF); in matchSelectPattern() 3890 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); in matchSelectPattern() 4058 FastMathFlags FMF; in matchSelectPattern() local 4060 FMF = CmpI->getFastMathFlags(); in matchSelectPattern() 4069 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchSelectPattern() 4073 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchSelectPattern() [all …]
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 141 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument 143 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags() 146 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() argument 148 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); in copyFastMathFlags()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 600 FastMathFlags FMF; in createMinMaxOp() local 601 FMF.setUnsafeAlgebra(); in createMinMaxOp() 602 Builder.SetFastMathFlags(FMF); in createMinMaxOp()
|
D | SimplifyLibCalls.cpp | 1132 FastMathFlags FMF; in optimizePow() local 1133 FMF.setUnsafeAlgebra(); in optimizePow() 1134 B.SetFastMathFlags(FMF); in optimizePow() 1309 FastMathFlags FMF; in optimizeFMinFMax() local 1313 FMF.setUnsafeAlgebra(); in optimizeFMinFMax() 1323 FMF.setNoSignedZeros(); in optimizeFMinFMax() 1324 FMF.setNoNaNs(); in optimizeFMinFMax() 1326 B.SetFastMathFlags(FMF); in optimizeFMinFMax() 1365 FastMathFlags FMF; in optimizeLog() local 1366 FMF.setUnsafeAlgebra(); in optimizeLog() [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 66 llvm::FastMathFlags FMF; in CodeGenFunction() local 68 FMF.setUnsafeAlgebra(); in CodeGenFunction() 70 FMF.setNoNaNs(); in CodeGenFunction() 71 FMF.setNoInfs(); in CodeGenFunction() 74 FMF.setNoNaNs(); in CodeGenFunction() 77 FMF.setNoSignedZeros(); in CodeGenFunction() 80 FMF.setAllowReciprocal(); in CodeGenFunction() 82 Builder.SetFastMathFlags(FMF); in CodeGenFunction()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 830 FastMathFlags FMF; in getDecodedFastMathFlags() local 832 FMF.setUnsafeAlgebra(); in getDecodedFastMathFlags() 834 FMF.setNoNaNs(); in getDecodedFastMathFlags() 836 FMF.setNoInfs(); in getDecodedFastMathFlags() 838 FMF.setNoSignedZeros(); in getDecodedFastMathFlags() 840 FMF.setAllowReciprocal(); in getDecodedFastMathFlags() 841 return FMF; in getDecodedFastMathFlags() 4108 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody() local 4109 if (FMF.any()) in parseFunctionBody() 4110 I->setFastMathFlags(FMF); in parseFunctionBody() [all …]
|
/external/icu/icu4c/source/data/locales/ |
D | mua.txt | 163 "FMF",
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1084 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst() local 1085 Builder->SetFastMathFlags(FMF); in visitSelectInst()
|
D | InstructionCombining.cpp | 164 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() local 166 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2308 FastMathFlags FMF; in visitBinary() local 2319 FMF = FPOp->getFastMathFlags(); in visitBinary() 2326 Flags.setAllowReciprocal(FMF.allowReciprocal()); in visitBinary() 2327 Flags.setNoInfs(FMF.noInfs()); in visitBinary() 2328 Flags.setNoNaNs(FMF.noNaNs()); in visitBinary() 2329 Flags.setNoSignedZeros(FMF.noSignedZeros()); in visitBinary() 2330 Flags.setUnsafeAlgebra(FMF.unsafeAlgebra()); in visitBinary()
|