Lines Matching refs:FPFeatures
116 void CodeGenFunction::SetFastMathFlags(FPOptions FPFeatures) { in SetFastMathFlags() argument
118 FMF.setAllowReassoc(FPFeatures.getAllowFPReassociate()); in SetFastMathFlags()
119 FMF.setNoNaNs(FPFeatures.getNoHonorNaNs()); in SetFastMathFlags()
120 FMF.setNoInfs(FPFeatures.getNoHonorInfs()); in SetFastMathFlags()
121 FMF.setNoSignedZeros(FPFeatures.getNoSignedZero()); in SetFastMathFlags()
122 FMF.setAllowReciprocal(FPFeatures.getAllowReciprocal()); in SetFastMathFlags()
123 FMF.setApproxFunc(FPFeatures.getAllowApproxFunc()); in SetFastMathFlags()
124 FMF.setAllowContract(FPFeatures.allowFPContractAcrossStatement()); in SetFastMathFlags()
135 FPOptions FPFeatures) in CGFPOptionsRAII() argument
137 ConstructorHelper(FPFeatures); in CGFPOptionsRAII()
140 void CodeGenFunction::CGFPOptionsRAII::ConstructorHelper(FPOptions FPFeatures) { in ConstructorHelper() argument
142 CGF.CurFPFeatures = FPFeatures; in ConstructorHelper()
147 if (OldFPFeatures == FPFeatures) in ConstructorHelper()
152 llvm::RoundingMode NewRoundingBehavior = FPFeatures.getRoundingMode(); in ConstructorHelper()
156 FPFeatures.getExceptionMode())); in ConstructorHelper()
159 CGF.SetFastMathFlags(FPFeatures); in ConstructorHelper()
175 mergeFnAttrValue("no-infs-fp-math", FPFeatures.getNoHonorInfs()); in ConstructorHelper()
176 mergeFnAttrValue("no-nans-fp-math", FPFeatures.getNoHonorNaNs()); in ConstructorHelper()
177 mergeFnAttrValue("no-signed-zeros-fp-math", FPFeatures.getNoSignedZero()); in ConstructorHelper()
180 FPFeatures.getAllowFPReassociate() && FPFeatures.getAllowReciprocal() && in ConstructorHelper()
181 FPFeatures.getAllowApproxFunc() && FPFeatures.getNoSignedZero() && in ConstructorHelper()
182 FPFeatures.allowFPContractAcrossStatement()); in ConstructorHelper()