/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, 299 const FastMathFlags &FMF, const DataLayout &DL,
|
D | TargetTransformInfo.h | 567 ArrayRef<Type *> Tys, FastMathFlags FMF) const; 571 ArrayRef<Value *> Args, FastMathFlags FMF) const; 725 FastMathFlags FMF) = 0; 728 FastMathFlags FMF) = 0; 948 FastMathFlags FMF) override { in getIntrinsicInstrCost() argument 949 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost() 953 FastMathFlags FMF) override { in getIntrinsicInstrCost() argument 954 return Impl.getIntrinsicInstrCost(ID, RetTy, Args, FMF); in getIntrinsicInstrCost()
|
D | TargetTransformInfoImpl.h | 348 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost() argument 352 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost() argument
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 188 FastMathFlags FMF; in EatFastMathFlagsIfPresent() local 191 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 192 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 193 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 194 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 195 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 196 default: return FMF; in EatFastMathFlagsIfPresent() 198 return FMF; in EatFastMathFlagsIfPresent()
|
D | LLParser.cpp | 4972 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local 4976 if (FMF.any()) in ParseInstruction() 4977 Inst->setFastMathFlags(FMF); in ParseInstruction() 4999 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction() local 5003 if (FMF.any()) in ParseInstruction() 5004 Inst->setFastMathFlags(FMF); in ParseInstruction() 5857 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseCall() local 5868 if (FMF.any() && !RetType->isFPOrFPVectorTy()) in ParseCall() 5944 if (FMF.any()) in ParseCall() 5945 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 | 80 FastMathFlags FMF; variable 87 : Context(context), DefaultFPMathTag(FPMathTag), FMF(), in Context() 193 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() 196 void clearFastMathFlags() { FMF.clear(); } in clearFastMathFlags() 202 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() 234 FastMathFlags FMF; variable 243 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {} in FastMathFlagGuard() 246 Builder.FMF = FMF; in ~FastMathFlagGuard() 768 FastMathFlags FMF) const { in AddFPMathAttributes() argument 773 I->setFastMathFlags(FMF); in AddFPMathAttributes() [all …]
|
D | Instruction.h | 285 void setFastMathFlags(FastMathFlags FMF); 290 void copyFastMathFlags(FastMathFlags FMF);
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 787 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst() argument 803 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0, Q.TLI))) in SimplifyFAddInst() 816 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && in SimplifyFAddInst() 817 (FMF.noInfs() || FSub->hasNoInfs())) in SimplifyFAddInst() 826 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst() argument 839 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0, Q.TLI))) in SimplifyFSubInst() 848 if (FMF.noSignedZeros() && match(Op0, m_AnyZero()) && in SimplifyFSubInst() 853 if (FMF.noNaNs() && Op0 == Op1) in SimplifyFSubInst() 861 FastMathFlags FMF, in SimplifyFMulInst() argument 877 if (FMF.noNaNs() && FMF.noSignedZeros() && match(Op1, m_AnyZero())) in SimplifyFMulInst() [all …]
|
D | TargetTransformInfo.cpp | 361 FastMathFlags FMF) const { in getIntrinsicInstrCost() 362 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost() 369 FastMathFlags FMF) const { in getIntrinsicInstrCost() 370 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF); in getIntrinsicInstrCost()
|
D | CostModel.cpp | 507 FastMathFlags FMF; in getInstructionCost() local 509 FMF = FPMO->getFastMathFlags(); in getInstructionCost() 512 Args, FMF); in getInstructionCost()
|
D | ValueTracking.cpp | 3691 static bool isKnownNonNaN(Value *V, FastMathFlags FMF) { in isKnownNonNaN() argument 3692 if (FMF.noNaNs()) in isKnownNonNaN() 3707 FastMathFlags FMF, in matchSelectPattern() argument 3724 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern() 3738 bool LHSSafe = isKnownNonNaN(CmpLHS, FMF); in matchSelectPattern() 3739 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); in matchSelectPattern() 3912 FastMathFlags FMF; in matchSelectPattern() local 3914 FMF = CmpI->getFastMathFlags(); in matchSelectPattern() 3923 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchSelectPattern() 3927 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchSelectPattern() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 84 ArrayRef<Type *> Tys, FastMathFlags FMF); 86 ArrayRef<Value *> Args, FastMathFlags FMF);
|
D | X86TargetTransformInfo.cpp | 947 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost() argument 1032 return BaseT::getIntrinsicInstrCost(IID, RetTy, Tys, FMF); in getIntrinsicInstrCost() 1036 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost() argument 1037 return BaseT::getIntrinsicInstrCost(IID, RetTy, Args, FMF); in getIntrinsicInstrCost()
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 674 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost() argument 681 FMF); in getIntrinsicInstrCost() 707 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost() argument 735 IID, ScalarRetTy, ScalarTys, FMF); in getIntrinsicInstrCost() 770 if (FMF.noNaNs()) in getIntrinsicInstrCost() 775 if (FMF.noNaNs()) in getIntrinsicInstrCost() 883 IID, RetTy->getScalarType(), ScalarTys, FMF); in getIntrinsicInstrCost()
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 164 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() argument 166 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags() 169 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags() argument 171 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); in copyFastMathFlags()
|
/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/Transforms/Utils/ |
D | LoopUtils.cpp | 642 FastMathFlags FMF; in createMinMaxOp() local 643 FMF.setUnsafeAlgebra(); in createMinMaxOp() 644 Builder.setFastMathFlags(FMF); in createMinMaxOp()
|
D | SimplifyLibCalls.cpp | 1178 FastMathFlags FMF; in optimizeFMinFMax() local 1181 FMF.setUnsafeAlgebra(); in optimizeFMinFMax() 1190 FMF.setNoSignedZeros(); in optimizeFMinFMax() 1191 FMF.setNoNaNs(); in optimizeFMinFMax() 1193 B.setFastMathFlags(FMF); in optimizeFMinFMax() 1227 FastMathFlags FMF; in optimizeLog() local 1228 FMF.setUnsafeAlgebra(); in optimizeLog() 1229 B.setFastMathFlags(FMF); in optimizeLog()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 886 FastMathFlags FMF; in getDecodedFastMathFlags() local 888 FMF.setUnsafeAlgebra(); in getDecodedFastMathFlags() 890 FMF.setNoNaNs(); in getDecodedFastMathFlags() 892 FMF.setNoInfs(); in getDecodedFastMathFlags() 894 FMF.setNoSignedZeros(); in getDecodedFastMathFlags() 896 FMF.setAllowReciprocal(); in getDecodedFastMathFlags() 897 return FMF; in getDecodedFastMathFlags() 4546 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody() local 4547 if (FMF.any()) in parseFunctionBody() 4548 I->setFastMathFlags(FMF); in parseFunctionBody() [all …]
|
/external/icu/icu4c/source/data/locales/ |
D | mua.txt | 161 "FMF",
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst() local 1120 Builder->setFastMathFlags(FMF); in visitSelectInst()
|
D | InstructionCombining.cpp | 160 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() local 162 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1710 FastMathFlags FMF; in getEntryCost() local 1712 FMF = FPMO->getFastMathFlags(); in getEntryCost() 1715 TTI->getIntrinsicInstrCost(ID, ScalarTy, ScalarTys, FMF); in getEntryCost() 1717 int VecCallCost = TTI->getIntrinsicInstrCost(ID, VecTy, VecTys, FMF); in getEntryCost()
|