Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp5299 static bool isContractableFMul(MachineInstr &MI, bool AllowFusionGlobally) { in isContractableFMul() argument
5302 return AllowFusionGlobally || MI.getFlag(MachineInstr::MIFlag::FmContract); in isContractableFMul()
5314 bool &AllowFusionGlobally, in canCombineFMadOrFMA() argument
5336 AllowFusionGlobally = Options.AllowFPOpFusion == FPOpFusion::Fast || in canCombineFMadOrFMA()
5339 if (!AllowFusionGlobally && !MI.getFlag(MachineInstr::MIFlag::FmContract)) in canCombineFMadOrFMA()
5350 bool AllowFusionGlobally, HasFMAD, Aggressive; in matchCombineFAddFMulToFMadOrFMA() local
5351 if (!canCombineFMadOrFMA(MI, AllowFusionGlobally, HasFMAD, Aggressive)) in matchCombineFAddFMulToFMadOrFMA()
5363 if (Aggressive && isContractableFMul(*LHS.MI, AllowFusionGlobally) && in matchCombineFAddFMulToFMadOrFMA()
5364 isContractableFMul(*RHS.MI, AllowFusionGlobally)) { in matchCombineFAddFMulToFMadOrFMA()
5370 if (isContractableFMul(*LHS.MI, AllowFusionGlobally) && in matchCombineFAddFMulToFMadOrFMA()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
DCombinerHelper.h711 bool canCombineFMadOrFMA(MachineInstr &MI, bool &AllowFusionGlobally,
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14612 bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast || in visitFADDForFMACombine() local
14615 if (!AllowFusionGlobally && !N->getFlags().hasAllowContract()) in visitFADDForFMACombine()
14632 auto isContractableFMUL = [AllowFusionGlobally](SDValue N) { in visitFADDForFMACombine()
14635 return AllowFusionGlobally || N->getFlags().hasAllowContract(); in visitFADDForFMACombine()
14835 bool AllowFusionGlobally = (Options.AllowFPOpFusion == FPOpFusion::Fast || in visitFSUBForFMACombine() local
14839 if (!AllowFusionGlobally && !N->getFlags().hasAllowContract()) in visitFSUBForFMACombine()
14852 auto isContractableFMUL = [AllowFusionGlobally](SDValue N) { in visitFSUBForFMACombine()
14855 return AllowFusionGlobally || N->getFlags().hasAllowContract(); in visitFSUBForFMACombine()