@@ -1831,10 +1831,10 @@ class Sema final : public SemaBase {
1831
1831
bool IsVariadic, FormatStringInfo *FSI);
1832
1832
1833
1833
// Used by C++ template instantiation.
1834
- ExprResult SemaBuiltinShuffleVector (CallExpr *TheCall);
1835
- ExprResult SemaConvertVectorExpr (Expr *E, TypeSourceInfo *TInfo,
1836
- SourceLocation BuiltinLoc,
1837
- SourceLocation RParenLoc);
1834
+ ExprResult BuiltinShuffleVector (CallExpr *TheCall);
1835
+ ExprResult ConvertVectorExpr (Expr *E, TypeSourceInfo *TInfo,
1836
+ SourceLocation BuiltinLoc,
1837
+ SourceLocation RParenLoc);
1838
1838
1839
1839
enum FormatStringType {
1840
1840
FST_Scanf,
@@ -2056,62 +2056,59 @@ class Sema final : public SemaBase {
2056
2056
bool CheckNVPTXBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID,
2057
2057
CallExpr *TheCall);
2058
2058
2059
- bool SemaBuiltinVAStart(unsigned BuiltinID, CallExpr *TheCall);
2060
- bool SemaBuiltinVAStartARMMicrosoft(CallExpr *Call);
2061
- bool SemaBuiltinUnorderedCompare(CallExpr *TheCall, unsigned BuiltinID);
2062
- bool SemaBuiltinFPClassification(CallExpr *TheCall, unsigned NumArgs,
2063
- unsigned BuiltinID);
2064
- bool SemaBuiltinComplex(CallExpr *TheCall);
2065
- bool SemaBuiltinVSX(CallExpr *TheCall);
2066
- bool SemaBuiltinOSLogFormat(CallExpr *TheCall);
2067
- bool SemaValueIsRunOfOnes(CallExpr *TheCall, unsigned ArgNum);
2068
-
2069
- bool SemaBuiltinPrefetch(CallExpr *TheCall);
2070
- bool SemaBuiltinAllocaWithAlign(CallExpr *TheCall);
2071
- bool SemaBuiltinArithmeticFence(CallExpr *TheCall);
2072
- bool SemaBuiltinAssume(CallExpr *TheCall);
2073
- bool SemaBuiltinAssumeAligned(CallExpr *TheCall);
2074
- bool SemaBuiltinLongjmp(CallExpr *TheCall);
2075
- bool SemaBuiltinSetjmp(CallExpr *TheCall);
2076
- ExprResult SemaBuiltinAtomicOverloaded(ExprResult TheCallResult);
2077
- ExprResult SemaBuiltinNontemporalOverloaded(ExprResult TheCallResult);
2078
- ExprResult SemaAtomicOpsOverloaded(ExprResult TheCallResult,
2079
- AtomicExpr::AtomicOp Op);
2080
- bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
2081
- llvm::APSInt &Result);
2082
- bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, int Low,
2083
- int High, bool RangeIsError = true);
2084
- bool SemaBuiltinConstantArgMultiple(CallExpr *TheCall, int ArgNum,
2085
- unsigned Multiple);
2086
- bool SemaBuiltinConstantArgPower2(CallExpr *TheCall, int ArgNum);
2087
- bool SemaBuiltinConstantArgShiftedByte(CallExpr *TheCall, int ArgNum,
2088
- unsigned ArgBits);
2089
- bool SemaBuiltinConstantArgShiftedByteOrXXFF(CallExpr *TheCall, int ArgNum,
2090
- unsigned ArgBits);
2091
- bool SemaBuiltinARMSpecialReg(unsigned BuiltinID, CallExpr *TheCall,
2092
- int ArgNum, unsigned ExpectedFieldNum,
2093
- bool AllowName);
2094
- bool SemaBuiltinARMMemoryTaggingCall(unsigned BuiltinID, CallExpr *TheCall);
2095
- bool SemaBuiltinPPCMMACall(CallExpr *TheCall, unsigned BuiltinID,
2096
- const char *TypeDesc);
2059
+ bool BuiltinVAStart(unsigned BuiltinID, CallExpr *TheCall);
2060
+ bool BuiltinVAStartARMMicrosoft(CallExpr *Call);
2061
+ bool BuiltinUnorderedCompare(CallExpr *TheCall, unsigned BuiltinID);
2062
+ bool BuiltinFPClassification(CallExpr *TheCall, unsigned NumArgs,
2063
+ unsigned BuiltinID);
2064
+ bool BuiltinComplex(CallExpr *TheCall);
2065
+ bool BuiltinVSX(CallExpr *TheCall);
2066
+ bool BuiltinOSLogFormat(CallExpr *TheCall);
2067
+ bool ValueIsRunOfOnes(CallExpr *TheCall, unsigned ArgNum);
2068
+
2069
+ bool BuiltinPrefetch(CallExpr *TheCall);
2070
+ bool BuiltinAllocaWithAlign(CallExpr *TheCall);
2071
+ bool BuiltinArithmeticFence(CallExpr *TheCall);
2072
+ bool BuiltinAssume(CallExpr *TheCall);
2073
+ bool BuiltinAssumeAligned(CallExpr *TheCall);
2074
+ bool BuiltinLongjmp(CallExpr *TheCall);
2075
+ bool BuiltinSetjmp(CallExpr *TheCall);
2076
+ ExprResult BuiltinAtomicOverloaded(ExprResult TheCallResult);
2077
+ ExprResult BuiltinNontemporalOverloaded(ExprResult TheCallResult);
2078
+ ExprResult AtomicOpsOverloaded(ExprResult TheCallResult,
2079
+ AtomicExpr::AtomicOp Op);
2080
+ bool BuiltinConstantArg(CallExpr *TheCall, int ArgNum, llvm::APSInt &Result);
2081
+ bool BuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, int Low, int High,
2082
+ bool RangeIsError = true);
2083
+ bool BuiltinConstantArgMultiple(CallExpr *TheCall, int ArgNum,
2084
+ unsigned Multiple);
2085
+ bool BuiltinConstantArgPower2(CallExpr *TheCall, int ArgNum);
2086
+ bool BuiltinConstantArgShiftedByte(CallExpr *TheCall, int ArgNum,
2087
+ unsigned ArgBits);
2088
+ bool BuiltinConstantArgShiftedByteOrXXFF(CallExpr *TheCall, int ArgNum,
2089
+ unsigned ArgBits);
2090
+ bool BuiltinARMSpecialReg(unsigned BuiltinID, CallExpr *TheCall, int ArgNum,
2091
+ unsigned ExpectedFieldNum, bool AllowName);
2092
+ bool BuiltinARMMemoryTaggingCall(unsigned BuiltinID, CallExpr *TheCall);
2093
+ bool BuiltinPPCMMACall(CallExpr *TheCall, unsigned BuiltinID,
2094
+ const char *TypeDesc);
2097
2095
2098
2096
bool CheckPPCMMAType(QualType Type, SourceLocation TypeLoc);
2099
2097
2100
- bool SemaBuiltinElementwiseMath (CallExpr *TheCall);
2101
- bool SemaBuiltinElementwiseTernaryMath (CallExpr *TheCall,
2102
- bool CheckForFloatArgs = true);
2098
+ bool BuiltinElementwiseMath (CallExpr *TheCall);
2099
+ bool BuiltinElementwiseTernaryMath (CallExpr *TheCall,
2100
+ bool CheckForFloatArgs = true);
2103
2101
bool PrepareBuiltinElementwiseMathOneArgCall(CallExpr *TheCall);
2104
2102
bool PrepareBuiltinReduceMathOneArgCall(CallExpr *TheCall);
2105
2103
2106
- bool SemaBuiltinNonDeterministicValue (CallExpr *TheCall);
2104
+ bool BuiltinNonDeterministicValue (CallExpr *TheCall);
2107
2105
2108
2106
// Matrix builtin handling.
2109
- ExprResult SemaBuiltinMatrixTranspose(CallExpr *TheCall,
2110
- ExprResult CallResult);
2111
- ExprResult SemaBuiltinMatrixColumnMajorLoad(CallExpr *TheCall,
2112
- ExprResult CallResult);
2113
- ExprResult SemaBuiltinMatrixColumnMajorStore(CallExpr *TheCall,
2114
- ExprResult CallResult);
2107
+ ExprResult BuiltinMatrixTranspose(CallExpr *TheCall, ExprResult CallResult);
2108
+ ExprResult BuiltinMatrixColumnMajorLoad(CallExpr *TheCall,
2109
+ ExprResult CallResult);
2110
+ ExprResult BuiltinMatrixColumnMajorStore(CallExpr *TheCall,
2111
+ ExprResult CallResult);
2115
2112
2116
2113
// WebAssembly builtin handling.
2117
2114
bool BuiltinWasmRefNullExtern(CallExpr *TheCall);
@@ -6986,8 +6983,8 @@ class Sema final : public SemaBase {
6986
6983
SourceLocation ClosingBraceLoc);
6987
6984
6988
6985
private:
6989
- ExprResult SemaBuiltinOperatorNewDeleteOverloaded (ExprResult TheCallResult,
6990
- bool IsDelete);
6986
+ ExprResult BuiltinOperatorNewDeleteOverloaded (ExprResult TheCallResult,
6987
+ bool IsDelete);
6991
6988
6992
6989
void AnalyzeDeleteExprMismatch(const CXXDeleteExpr *DE);
6993
6990
void AnalyzeDeleteExprMismatch(FieldDecl *Field, SourceLocation DeleteLoc,
@@ -13160,8 +13157,8 @@ class Sema final : public SemaBase {
13160
13157
13161
13158
bool CheckHLSLBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
13162
13159
13163
- bool SemaBuiltinVectorMath (CallExpr *TheCall, QualType &Res);
13164
- bool SemaBuiltinVectorToScalarMath (CallExpr *TheCall);
13160
+ bool BuiltinVectorMath (CallExpr *TheCall, QualType &Res);
13161
+ bool BuiltinVectorToScalarMath (CallExpr *TheCall);
13165
13162
13166
13163
///@}
13167
13164
0 commit comments