Lines Matching refs:FPFeatures

113 void CodeGenFunction::SetFastMathFlags(FPOptions FPFeatures) {  in SetFastMathFlags()  argument
115 FMF.setAllowReassoc(FPFeatures.getAllowFPReassociate()); in SetFastMathFlags()
116 FMF.setNoNaNs(FPFeatures.getNoHonorNaNs()); in SetFastMathFlags()
117 FMF.setNoInfs(FPFeatures.getNoHonorInfs()); in SetFastMathFlags()
118 FMF.setNoSignedZeros(FPFeatures.getNoSignedZero()); in SetFastMathFlags()
119 FMF.setAllowReciprocal(FPFeatures.getAllowReciprocal()); in SetFastMathFlags()
120 FMF.setApproxFunc(FPFeatures.getAllowApproxFunc()); in SetFastMathFlags()
121 FMF.setAllowContract(FPFeatures.allowFPContractAcrossStatement()); in SetFastMathFlags()
132 FPOptions FPFeatures) in CGFPOptionsRAII() argument
134 ConstructorHelper(FPFeatures); in CGFPOptionsRAII()
137 void CodeGenFunction::CGFPOptionsRAII::ConstructorHelper(FPOptions FPFeatures) { in ConstructorHelper() argument
139 CGF.CurFPFeatures = FPFeatures; in ConstructorHelper()
144 if (OldFPFeatures == FPFeatures) in ConstructorHelper()
149 llvm::RoundingMode NewRoundingBehavior = FPFeatures.getRoundingMode(); in ConstructorHelper()
153 FPFeatures.getExceptionMode())); in ConstructorHelper()
156 CGF.SetFastMathFlags(FPFeatures); in ConstructorHelper()
172 mergeFnAttrValue("no-infs-fp-math", FPFeatures.getNoHonorInfs()); in ConstructorHelper()
173 mergeFnAttrValue("no-nans-fp-math", FPFeatures.getNoHonorNaNs()); in ConstructorHelper()
174 mergeFnAttrValue("no-signed-zeros-fp-math", FPFeatures.getNoSignedZero()); in ConstructorHelper()
175 mergeFnAttrValue("unsafe-fp-math", FPFeatures.getAllowFPReassociate() && in ConstructorHelper()
176 FPFeatures.getAllowReciprocal() && in ConstructorHelper()
177 FPFeatures.getAllowApproxFunc() && in ConstructorHelper()
178 FPFeatures.getNoSignedZero()); in ConstructorHelper()