Home
last modified time | relevance | path

Searched refs:FPFeatures (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp122 void CodeGenFunction::SetFastMathFlags(FPOptions FPFeatures) { in SetFastMathFlags() argument
124 FMF.setAllowReassoc(FPFeatures.getAllowFPReassociate()); in SetFastMathFlags()
125 FMF.setNoNaNs(FPFeatures.getNoHonorNaNs()); in SetFastMathFlags()
126 FMF.setNoInfs(FPFeatures.getNoHonorInfs()); in SetFastMathFlags()
127 FMF.setNoSignedZeros(FPFeatures.getNoSignedZero()); in SetFastMathFlags()
128 FMF.setAllowReciprocal(FPFeatures.getAllowReciprocal()); in SetFastMathFlags()
129 FMF.setApproxFunc(FPFeatures.getAllowApproxFunc()); in SetFastMathFlags()
130 FMF.setAllowContract(FPFeatures.allowFPContractAcrossStatement()); in SetFastMathFlags()
141 FPOptions FPFeatures) in CGFPOptionsRAII() argument
143 ConstructorHelper(FPFeatures); in CGFPOptionsRAII()
[all …]
DCGExprScalar.cpp96 FPOptions FPFeatures; member
746 CodeGenFunction::CGFPOptionsRAII FPOptsRAII(CGF, Ops.FPFeatures); in EmitMul()
2316 FPOptions FPFeatures) { in createBinOpInfoFromIncDec() argument
2322 BinOp.FPFeatures = FPFeatures; in createBinOpInfoFromIncDec()
2686 BinOp.FPFeatures = E->getFPFeaturesInEffect(CGF.getLangOpts()); in VisitUnaryMinus()
2910 Result.FPFeatures = E->getFPFeaturesInEffect(CGF.getLangOpts()); in EmitBinOps()
2930 OpInfo.FPFeatures = E->getFPFeaturesInEffect(CGF.getLangOpts()); in EmitCompoundAssignLValue()
3005 CodeGenFunction::CGFPOptionsRAII FPOptsRAII(CGF, OpInfo.FPFeatures); in EmitCompoundAssignLValue()
3120 CodeGenFunction::CGFPOptionsRAII FPOptsRAII(CGF, Ops.FPFeatures); in EmitDiv()
3438 if (!op.FPFeatures.allowFPContractWithinStatement()) in tryEmitFMulAdd()
[all …]
DCodeGenFunction.h630 CGFPOptionsRAII(CodeGenFunction &CGF, FPOptions FPFeatures);
635 void ConstructorHelper(FPOptions FPFeatures);
4502 void SetFastMathFlags(FPOptions FPFeatures);
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp540 FPOptionsOverride FPFeatures, in CXXOperatorCallExpr() argument
543 OperatorLoc, FPFeatures, /*MinNumArgs=*/0, UsesADL) {
561 FPOptionsOverride FPFeatures, ADLCallKind UsesADL) { in Create() argument
565 /*NumPreArgs=*/0, NumArgs, FPFeatures.requiresTrailingStorage()); in Create()
569 FPFeatures, UsesADL); in Create()
625 FPOptionsOverride FPFeatures, in Create() argument
630 /*NumPreArgs=*/0, NumArgs, FPFeatures.requiresTrailingStorage()); in Create()
634 CXXMemberCallExpr(Fn, Args, Ty, VK, RP, FPFeatures, MinNumArgs); in Create()
878 FPOptionsOverride FPFeatures) in UserDefinedLiteral() argument
880 LitEndLoc, FPFeatures, /*MinNumArgs=*/0, NotADL),
[all …]
DExpr.cpp1240 SourceLocation RParenLoc, FPOptionsOverride FPFeatures, in CallExpr() argument
1265 CallExprBits.HasFPFeatures = FPFeatures.requiresTrailingStorage(); in CallExpr()
1267 setStoredFPFeatures(FPFeatures); in CallExpr()
1286 FPOptionsOverride FPFeatures, unsigned MinNumArgs, in Create() argument
1290 /*NumPreArgs=*/0, NumArgs, FPFeatures.requiresTrailingStorage()); in Create()
1294 RParenLoc, FPFeatures, MinNumArgs, UsesADL); in Create()
4332 FPOptionsOverride FPFeatures) in BinaryOperator() argument
4340 BinaryOperatorBits.HasFPFeatures = FPFeatures.requiresTrailingStorage(); in BinaryOperator()
4342 setStoredFPFeatures(FPFeatures); in BinaryOperator()
4349 FPOptionsOverride FPFeatures, bool dead2) in BinaryOperator() argument
[all …]
/external/clang/lib/Sema/
DSemaAttr.cpp453 FPFeatures.fp_contract = 1; in ActOnPragmaFPContract()
456 FPFeatures.fp_contract = 0; in ActOnPragmaFPContract()
459 FPFeatures.fp_contract = getLangOpts().DefaultFPContract; in ActOnPragmaFPContract()
DSema.cpp78 isMultiplexExternalSource(false), FPFeatures(pp.getLangOpts()), in Sema()
DSemaOverload.cpp11703 OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11708 FPFeatures.fp_contract); in CreateOverloadedBinOp()
11722 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11837 FPFeatures.fp_contract); in CreateOverloadedBinOp()
DTreeTransform.h8684 getSema().FPFeatures.fp_contract = E->isFPContractable(); in TransformBinaryOperator()
9137 getSema().FPFeatures.fp_contract = E->isFPContractable(); in TransformCXXOperatorCallExpr()
DSemaExpr.cpp10974 OK, OpLoc, FPFeatures.fp_contract); in CreateBuiltinBinOp()
10982 OpLoc, FPFeatures.fp_contract); in CreateBuiltinBinOp()
/external/llvm-project/clang/include/clang/AST/
DExpr.h2118 bool CanOverflow, FPOptionsOverride FPFeatures);
2133 bool CanOverflow, FPOptionsOverride FPFeatures);
2795 SourceLocation RParenLoc, FPOptionsOverride FPFeatures,
2861 FPOptionsOverride FPFeatures, unsigned MinNumArgs = 0,
3753 SourceLocation opLoc, FPOptionsOverride FPFeatures);
3766 FPOptionsOverride FPFeatures);
3953 SourceLocation opLoc, FPOptionsOverride FPFeatures,
3986 SourceLocation OpLoc, FPOptionsOverride FPFeatures, in CompoundAssignOperator() argument
3988 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
4002 FPOptionsOverride FPFeatures, QualType CompLHSType = QualType(),
DExprCXX.h95 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
104 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
191 FPOptionsOverride FPFeatures,
242 FPOptionsOverride FPFeatures, unsigned MinNumArgs);
251 FPOptionsOverride FPFeatures,
640 SourceLocation SuffixLoc, FPOptionsOverride FPFeatures);
649 FPOptionsOverride FPFeatures);
/external/clang/include/clang/Sema/
DSema.h294 FPOptions FPFeatures; variable
1040 : S(S), OldFPContractState(S.FPFeatures.fp_contract) {} in FPContractStateRAII()
1042 S.FPFeatures.fp_contract = OldFPContractState; in ~FPContractStateRAII()
1063 FPOptions &getFPOptions() { return FPFeatures; } in getFPOptions()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp13757 FPOptionsOverride FPFeatures) { in convertHalfVecBinOp() argument
13776 ResultTy, VK, OK, OpLoc, FPFeatures, in convertHalfVecBinOp()
13781 BinOpResTy, VK, OK, OpLoc, FPFeatures); in convertHalfVecBinOp()
/external/clang/lib/Serialization/
DASTReader.cpp6921 SemaObj->FPFeatures.fp_contract = FPPragmaOptions[0]; in InitializeSema()