Home
last modified time | relevance | path

Searched refs:getFastMathFlags (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp234 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
236 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
240 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
260 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
281 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
282 FM &= FP->getFastMathFlags(); in andIRFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h190 return !II->getFastMathFlags().allowReassoc(); in shouldExpandReduction()
195 return !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h178 if (!II->getFastMathFlags().allowReassoc()) in shouldExpandReduction()
188 !II->getFastMathFlags().noNaNs(); in shouldExpandReduction()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp119 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_enable_signed_zeros()
133 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_disable_signed_zeros()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandReductions.cpp109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp81 SimplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
DInstructionSimplify.cpp5348 Result = SimplifyFNegInst(I->getOperand(0), I->getFastMathFlags(), Q); in SimplifyInstruction()
5352 I->getFastMathFlags(), Q); in SimplifyInstruction()
5362 I->getFastMathFlags(), Q); in SimplifyInstruction()
5372 I->getFastMathFlags(), Q); in SimplifyInstruction()
5385 I->getFastMathFlags(), Q); in SimplifyInstruction()
5395 I->getFastMathFlags(), Q); in SimplifyInstruction()
5427 I->getOperand(1), I->getFastMathFlags(), Q); in SimplifyInstruction()
DInlineCost.cpp1339 FI->getFastMathFlags(), DL); in visitBinaryOperator()
1373 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
DIVDescriptors.cpp304 FMF &= ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp154 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
164 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
395 I.getFastMathFlags(), in visitFMul()
1204 I.getFastMathFlags(), in visitFDiv()
1266 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1484 I.getFastMathFlags(), in visitFRem()
DInstCombineSelect.cpp1719 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1720 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1738 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1739 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
2454 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
2577 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
DInstCombineAddSub.cpp695 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1475 I.getFastMathFlags(), in visitFAdd()
2157 if (Value *V = SimplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg()
2179 I.getFastMathFlags(), in visitFSub()
DInstructionCombining.cpp261 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
461 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
462 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
463 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
786 FMF = I.getFastMathFlags(); in SimplifySelectsFeedingBinaryOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIVDescriptors.h203 FastMathFlags getFastMathFlags() { return FMF; } in getFastMathFlags() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp240 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
252 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
263 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg()
764 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
786 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
1823 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
DLICM.cpp875 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
881 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
DGVN.cpp1401 Cmp->getFastMathFlags().noNaNs())) { in impliesEquivalanceIfTrue()
1426 Cmp->getFastMathFlags().noNaNs()) || in impliesEquivalanceIfFalse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h335 FastMathFlags getFastMathFlags() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h216 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
1447 FMFSource->getFastMathFlags());
1472 FMFSource->getFastMathFlags());
1497 FMFSource->getFastMathFlags());
1522 FMFSource->getFastMathFlags());
1547 FMFSource->getFastMathFlags());
1571 UseFMF = FMFSource->getFastMathFlags();
1613 FMFSource->getFastMathFlags()),
2209 UseFMF = FMFSource->getFastMathFlags();
DInstruction.h430 FastMathFlags getFastMathFlags() const;
DOperator.h364 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1264 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1337 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1373 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1401 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1702 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1851 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax()
2062 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
DLoopUtils.cpp959 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp560 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
693 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24()
DAMDGPUTargetTransformInfo.cpp785 FMF = FPMO->getFastMathFlags(); in getUserCost()

12