| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instruction.cpp | 339 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 341 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 345 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 365 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 386 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 387 FM &= FP->getFastMathFlags(); in andIRFlags()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceInstructionFlags.cpp | 37 FastMathFlags Flags = FPOp->getFastMathFlags(); in reduceFlagsInModule()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 107 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions()
|
| H A D | ExpandVectorPredication.cpp | 110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations() 301 FastMathFlags Flags = VPI.getFastMathFlags(); in getNeutralReductionElement()
|
| H A D | ComplexDeinterleavingPass.cpp | 543 if (!Real->getFastMathFlags().allowContract() || in identifyPartialMul() 544 !Imag->getFastMathFlags().allowContract()) { in identifyPartialMul()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 90 simplifyBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
| H A D | InstructionSimplify.cpp | 6459 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6465 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6471 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6477 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6483 FPI->getArgOperand(0), FPI->getArgOperand(1), FPI->getFastMathFlags(), in simplifyIntrinsic() 6600 return simplifyFNegInst(NewOps[0], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6602 return simplifyFAddInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6608 return simplifyFSubInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6614 return simplifyFMulInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() 6626 return simplifyFDivInst(NewOps[0], NewOps[1], I->getFastMathFlags(), Q); in simplifyInstructionWithOperands() [all …]
|
| H A D | IVDescriptors.cpp | 387 FastMathFlags CurFMF = ReduxDesc.getPatternInst()->getFastMathFlags(); in AddReductionVar() 394 CurFMF |= FCmp->getFastMathFlags(); in AddReductionVar()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc() 1645 I.getFastMathFlags(), in visitFAdd() 2424 FastMathFlags FMF = I.getFastMathFlags(); in foldFNegIntoConstant() 2425 FastMathFlags OpFMF = FNegOp->getFastMathFlags(); in foldFNegIntoConstant() 2458 if (Value *V = simplifyFNegInst(Op, I.getFastMathFlags(), in visitFNeg() 2488 FastMathFlags FMF = I.getFastMathFlags(); in visitFNeg() 2489 FMF |= OldSel->getFastMathFlags(); in visitFNeg() 2517 FastMathFlags FMF = I.getFastMathFlags(); in visitFNeg() 2518 FMF &= cast<FPMathOperator>(OneUse)->getFastMathFlags(); in visitFNeg() 2533 I.getFastMathFlags(), in visitFSub()
|
| H A D | InstCombineSelect.cpp | 363 FastMathFlags FMF = TI->getFastMathFlags(); in foldSelectOpOp() 364 FMF &= FI->getFastMathFlags(); in foldSelectOpOp() 365 FMF |= SI.getFastMathFlags(); in foldSelectOpOp() 488 FMF = SI.getFastMathFlags(); in foldSelectIntoOp() 1860 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1861 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1879 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1880 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 2633 FastMathFlags FMF = cast<FPMathOperator>(TrueVal)->getFastMathFlags(); in foldSelectWithFCmpToFabs() 2671 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs() [all …]
|
| H A D | InstCombineMulDivRem.cpp | 126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate() 511 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps() 523 I.getFastMathFlags(), in visitFMul() 1581 I.getFastMathFlags(), in visitFDiv() 1649 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1879 I.getFastMathFlags(), in visitFRem()
|
| H A D | InstructionCombining.cpp | 321 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() 543 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative() 544 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 545 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 882 FMF = I.getFastMathFlags(); in SimplifySelectsFeedingBinaryOp()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 449 static FastMathFlags getFastMathFlags(Instruction *Inst) { in getFastMathFlags() function in __anon3dc75aee0111::LowerMatrixIntrinsics 453 FMF = Inst->getFastMathFlags(); in getFastMathFlags() 1575 getFastMathFlags(MatMul)); in createTiledLoops() 1635 getFastMathFlags(MatMul)); in emitSIMDTiling() 1703 getFastMathFlags(MatMul)); in LowerMatrixMultiplyFused() 1779 getFastMathFlags(MatMul)); in LowerMultiply() 1864 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator() 1910 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
|
| H A D | Reassociate.cpp | 248 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 260 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 782 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 804 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree() 1925 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 202 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 268 [&Inst] { Inst.setFast(!Inst.getFastMathFlags().all()); }); in mutate() 271 [&Inst] { Inst.setFast(!Inst.getFastMathFlags().none()); }); in mutate()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 286 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function 288 FastMathFlags &getFastMathFlags() { return FMF; } in getFastMathFlags() function 1468 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1495 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1522 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1549 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1575 FastMathFlags FMF = FMFSource->getFastMathFlags(); 1657 FastMathFlags FMF = FMFSource->getFastMathFlags();
|
| H A D | Operator.h | 288 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
| H A D | Instruction.h | 490 FastMathFlags getFastMathFlags() const LLVM_READONLY;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 638 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in execute() 902 O << getUnderlyingInstr()->getFastMathFlags(); in print() 1221 RdxDesc.getFastMathFlags()); in execute()
|
| H A D | LoopVectorize.cpp | 3155 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValue() 3353 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers() 3498 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost() 3910 Sel->setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction() 3971 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction() 6600 RdxDesc.getOpcode(), VectorTy, RdxDesc.getFastMathFlags(), CostKind); in getReductionPatternCost() 6662 RdxDesc.getFastMathFlags(), CostKind); in getReductionPatternCost() 9272 FMulRecipe->setFastMathFlags(R->getFastMathFlags()); in adjustRecipesForReductions() 9369 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in execute() 9557 IndDesc.getInductionBinOp()->getFastMathFlags()); in execute() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 643 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect() 779 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv() 961 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24Impl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1665 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall() 1739 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP() 1778 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs() 1807 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections() 2111 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow() 2255 FastMathFlags FMF = CI->getFastMathFlags(); in optimizeFMinFMax() 2469 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVModuleAnalysis.cpp | 945 static unsigned getFastMathFlags(const MachineInstr &I) { in getFastMathFlags() function 980 unsigned FMFlags = getFastMathFlags(I); in handleMIFlagDecoration()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/ |
| H A D | ReducerWorkItem.cpp | 623 FastMathFlags FMF = FPOp->getFastMathFlags(); in computeIRComplexityScoreImpl()
|