Lines Matching refs:FPFeatures

123 void CodeGenFunction::SetFastMathFlags(FPOptions FPFeatures) {  in SetFastMathFlags()  argument
125 FMF.setAllowReassoc(FPFeatures.getAllowFPReassociate()); in SetFastMathFlags()
126 FMF.setNoNaNs(FPFeatures.getNoHonorNaNs()); in SetFastMathFlags()
127 FMF.setNoInfs(FPFeatures.getNoHonorInfs()); in SetFastMathFlags()
128 FMF.setNoSignedZeros(FPFeatures.getNoSignedZero()); in SetFastMathFlags()
129 FMF.setAllowReciprocal(FPFeatures.getAllowReciprocal()); in SetFastMathFlags()
130 FMF.setApproxFunc(FPFeatures.getAllowApproxFunc()); in SetFastMathFlags()
131 FMF.setAllowContract(FPFeatures.allowFPContractAcrossStatement()); in SetFastMathFlags()
142 FPOptions FPFeatures) in CGFPOptionsRAII() argument
144 ConstructorHelper(FPFeatures); in CGFPOptionsRAII()
147 void CodeGenFunction::CGFPOptionsRAII::ConstructorHelper(FPOptions FPFeatures) { in ConstructorHelper() argument
149 CGF.CurFPFeatures = FPFeatures; in ConstructorHelper()
154 if (OldFPFeatures == FPFeatures) in ConstructorHelper()
159 llvm::RoundingMode NewRoundingBehavior = FPFeatures.getRoundingMode(); in ConstructorHelper()
163 FPFeatures.getExceptionMode())); in ConstructorHelper()
166 CGF.SetFastMathFlags(FPFeatures); in ConstructorHelper()
182 mergeFnAttrValue("no-infs-fp-math", FPFeatures.getNoHonorInfs()); in ConstructorHelper()
183 mergeFnAttrValue("no-nans-fp-math", FPFeatures.getNoHonorNaNs()); in ConstructorHelper()
184 mergeFnAttrValue("no-signed-zeros-fp-math", FPFeatures.getNoSignedZero()); in ConstructorHelper()
187 FPFeatures.getAllowFPReassociate() && FPFeatures.getAllowReciprocal() && in ConstructorHelper()
188 FPFeatures.getAllowApproxFunc() && FPFeatures.getNoSignedZero() && in ConstructorHelper()
189 FPFeatures.allowFPContractAcrossStatement()); in ConstructorHelper()