Home
last modified time | relevance | path

Searched refs:AllowFusionGlobally (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5677 static bool isContractableFMul(MachineInstr &MI, bool AllowFusionGlobally) { in isContractableFMul() argument
5680 return AllowFusionGlobally || MI.getFlag(MachineInstr::MIFlag::FmContract); in isContractableFMul()
5692 bool &AllowFusionGlobally, in canCombineFMadOrFMA() argument
5714 AllowFusionGlobally = Options.AllowFPOpFusion == FPOpFusion::Fast || in canCombineFMadOrFMA()
5717 if (!AllowFusionGlobally && !MI.getFlag(MachineInstr::MIFlag::FmContract)) in canCombineFMadOrFMA()
5728 bool AllowFusionGlobally, HasFMAD, Aggressive; in matchCombineFAddFMulToFMadOrFMA() local
5729 if (!canCombineFMadOrFMA(MI, AllowFusionGlobally, HasFMAD, Aggressive)) in matchCombineFAddFMulToFMadOrFMA()
5741 if (Aggressive && isContractableFMul(*LHS.MI, AllowFusionGlobally) && in matchCombineFAddFMulToFMadOrFMA()
5742 isContractableFMul(*RHS.MI, AllowFusionGlobally)) { in matchCombineFAddFMulToFMadOrFMA()
5748 if (isContractableFMul(*LHS.MI, AllowFusionGlobally) && in matchCombineFAddFMulToFMadOrFMA()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h729 bool canCombineFMadOrFMA(MachineInstr &MI, bool &AllowFusionGlobally,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp15887 bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast || in visitFADDForFMACombine() local
15890 if (!AllowFusionGlobally && !N->getFlags().hasAllowContract()) in visitFADDForFMACombine()
15913 auto isContractableFMUL = [AllowFusionGlobally, &matcher](SDValue N) { in visitFADDForFMACombine()
15916 return AllowFusionGlobally || N->getFlags().hasAllowContract(); in visitFADDForFMACombine()
16125 bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast || in visitFSUBForFMACombine() local
16129 if (!AllowFusionGlobally && !N->getFlags().hasAllowContract()) in visitFSUBForFMACombine()
16142 auto isContractableFMUL = [AllowFusionGlobally, &matcher](SDValue N) { in visitFSUBForFMACombine()
16145 return AllowFusionGlobally || N->getFlags().hasAllowContract(); in visitFSUBForFMACombine()