Lines Matching refs:BuiltinID
683 static bool SemaOpenCLBuiltinToAddr(Sema &S, unsigned BuiltinID, in SemaOpenCLBuiltinToAddr() argument
701 switch (BuiltinID) { in SemaOpenCLBuiltinToAddr()
718 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID, in CheckBuiltinFunctionCall() argument
725 Context.GetBuiltinType(BuiltinID, Error, &ICEArguments); in CheckBuiltinFunctionCall()
740 switch (BuiltinID) { in CheckBuiltinFunctionCall()
959 << (BuiltinID == Builtin::BI__builtin_operator_new in CheckBuiltinFunctionCall()
1055 if (SemaOpenCLBuiltinToAddr(*this, BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1071 if (Context.BuiltinInfo.isTSBuiltin(BuiltinID)) { in CheckBuiltinFunctionCall()
1077 if (CheckARMBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1082 if (CheckAArch64BuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1089 if (CheckMipsBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1093 if (CheckSystemZBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1098 if (CheckX86BuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1104 if (CheckPPCBuiltinFunctionCall(BuiltinID, TheCall)) in CheckBuiltinFunctionCall()
1185 bool Sema::CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckNeonBuiltinFunctionCall() argument
1191 switch (BuiltinID) { in CheckNeonBuiltinFunctionCall()
1239 switch (BuiltinID) { in CheckNeonBuiltinFunctionCall()
1250 bool Sema::CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, in CheckARMBuiltinExclusiveCall() argument
1252 assert((BuiltinID == ARM::BI__builtin_arm_ldrex || in CheckARMBuiltinExclusiveCall()
1253 BuiltinID == ARM::BI__builtin_arm_ldaex || in CheckARMBuiltinExclusiveCall()
1254 BuiltinID == ARM::BI__builtin_arm_strex || in CheckARMBuiltinExclusiveCall()
1255 BuiltinID == ARM::BI__builtin_arm_stlex || in CheckARMBuiltinExclusiveCall()
1256 BuiltinID == AArch64::BI__builtin_arm_ldrex || in CheckARMBuiltinExclusiveCall()
1257 BuiltinID == AArch64::BI__builtin_arm_ldaex || in CheckARMBuiltinExclusiveCall()
1258 BuiltinID == AArch64::BI__builtin_arm_strex || in CheckARMBuiltinExclusiveCall()
1259 BuiltinID == AArch64::BI__builtin_arm_stlex) && in CheckARMBuiltinExclusiveCall()
1261 bool IsLdrex = BuiltinID == ARM::BI__builtin_arm_ldrex || in CheckARMBuiltinExclusiveCall()
1262 BuiltinID == ARM::BI__builtin_arm_ldaex || in CheckARMBuiltinExclusiveCall()
1263 BuiltinID == AArch64::BI__builtin_arm_ldrex || in CheckARMBuiltinExclusiveCall()
1264 BuiltinID == AArch64::BI__builtin_arm_ldaex; in CheckARMBuiltinExclusiveCall()
1366 bool Sema::CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckARMBuiltinFunctionCall() argument
1369 if (BuiltinID == ARM::BI__builtin_arm_ldrex || in CheckARMBuiltinFunctionCall()
1370 BuiltinID == ARM::BI__builtin_arm_ldaex || in CheckARMBuiltinFunctionCall()
1371 BuiltinID == ARM::BI__builtin_arm_strex || in CheckARMBuiltinFunctionCall()
1372 BuiltinID == ARM::BI__builtin_arm_stlex) { in CheckARMBuiltinFunctionCall()
1373 return CheckARMBuiltinExclusiveCall(BuiltinID, TheCall, 64); in CheckARMBuiltinFunctionCall()
1376 if (BuiltinID == ARM::BI__builtin_arm_prefetch) { in CheckARMBuiltinFunctionCall()
1381 if (BuiltinID == ARM::BI__builtin_arm_rsr64 || in CheckARMBuiltinFunctionCall()
1382 BuiltinID == ARM::BI__builtin_arm_wsr64) in CheckARMBuiltinFunctionCall()
1383 return SemaBuiltinARMSpecialReg(BuiltinID, TheCall, 0, 3, false); in CheckARMBuiltinFunctionCall()
1385 if (BuiltinID == ARM::BI__builtin_arm_rsr || in CheckARMBuiltinFunctionCall()
1386 BuiltinID == ARM::BI__builtin_arm_rsrp || in CheckARMBuiltinFunctionCall()
1387 BuiltinID == ARM::BI__builtin_arm_wsr || in CheckARMBuiltinFunctionCall()
1388 BuiltinID == ARM::BI__builtin_arm_wsrp) in CheckARMBuiltinFunctionCall()
1389 return SemaBuiltinARMSpecialReg(BuiltinID, TheCall, 0, 5, true); in CheckARMBuiltinFunctionCall()
1391 if (CheckNeonBuiltinFunctionCall(BuiltinID, TheCall)) in CheckARMBuiltinFunctionCall()
1397 switch (BuiltinID) { in CheckARMBuiltinFunctionCall()
1413 bool Sema::CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, in CheckAArch64BuiltinFunctionCall() argument
1417 if (BuiltinID == AArch64::BI__builtin_arm_ldrex || in CheckAArch64BuiltinFunctionCall()
1418 BuiltinID == AArch64::BI__builtin_arm_ldaex || in CheckAArch64BuiltinFunctionCall()
1419 BuiltinID == AArch64::BI__builtin_arm_strex || in CheckAArch64BuiltinFunctionCall()
1420 BuiltinID == AArch64::BI__builtin_arm_stlex) { in CheckAArch64BuiltinFunctionCall()
1421 return CheckARMBuiltinExclusiveCall(BuiltinID, TheCall, 128); in CheckAArch64BuiltinFunctionCall()
1424 if (BuiltinID == AArch64::BI__builtin_arm_prefetch) { in CheckAArch64BuiltinFunctionCall()
1431 if (BuiltinID == AArch64::BI__builtin_arm_rsr64 || in CheckAArch64BuiltinFunctionCall()
1432 BuiltinID == AArch64::BI__builtin_arm_wsr64) in CheckAArch64BuiltinFunctionCall()
1433 return SemaBuiltinARMSpecialReg(BuiltinID, TheCall, 0, 5, true); in CheckAArch64BuiltinFunctionCall()
1435 if (BuiltinID == AArch64::BI__builtin_arm_rsr || in CheckAArch64BuiltinFunctionCall()
1436 BuiltinID == AArch64::BI__builtin_arm_rsrp || in CheckAArch64BuiltinFunctionCall()
1437 BuiltinID == AArch64::BI__builtin_arm_wsr || in CheckAArch64BuiltinFunctionCall()
1438 BuiltinID == AArch64::BI__builtin_arm_wsrp) in CheckAArch64BuiltinFunctionCall()
1439 return SemaBuiltinARMSpecialReg(BuiltinID, TheCall, 0, 5, true); in CheckAArch64BuiltinFunctionCall()
1441 if (CheckNeonBuiltinFunctionCall(BuiltinID, TheCall)) in CheckAArch64BuiltinFunctionCall()
1447 switch (BuiltinID) { in CheckAArch64BuiltinFunctionCall()
1457 bool Sema::CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckMipsBuiltinFunctionCall() argument
1459 switch (BuiltinID) { in CheckMipsBuiltinFunctionCall()
1473 bool Sema::CheckPPCBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckPPCBuiltinFunctionCall() argument
1475 bool Is64BitBltin = BuiltinID == PPC::BI__builtin_divde || in CheckPPCBuiltinFunctionCall()
1476 BuiltinID == PPC::BI__builtin_divdeu || in CheckPPCBuiltinFunctionCall()
1477 BuiltinID == PPC::BI__builtin_bpermd; in CheckPPCBuiltinFunctionCall()
1482 bool IsBltinExtDiv = BuiltinID == PPC::BI__builtin_divwe || in CheckPPCBuiltinFunctionCall()
1483 BuiltinID == PPC::BI__builtin_divweu || in CheckPPCBuiltinFunctionCall()
1484 BuiltinID == PPC::BI__builtin_divde || in CheckPPCBuiltinFunctionCall()
1485 BuiltinID == PPC::BI__builtin_divdeu; in CheckPPCBuiltinFunctionCall()
1492 (BuiltinID == PPC::BI__builtin_bpermd && in CheckPPCBuiltinFunctionCall()
1497 switch (BuiltinID) { in CheckPPCBuiltinFunctionCall()
1516 bool Sema::CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, in CheckSystemZBuiltinFunctionCall() argument
1518 if (BuiltinID == SystemZ::BI__builtin_tabort) { in CheckSystemZBuiltinFunctionCall()
1530 switch (BuiltinID) { in CheckSystemZBuiltinFunctionCall()
1592 bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckX86BuiltinFunctionCall() argument
1594 switch (BuiltinID) { in CheckX86BuiltinFunctionCall()
2759 unsigned BuiltinID = FDecl->getBuiltinID(); in SemaBuiltinAtomicOverloaded() local
2762 switch (BuiltinID) { in SemaBuiltinAtomicOverloaded()
2944 if (NewBuiltinID == BuiltinID) in SemaBuiltinAtomicOverloaded()
3020 unsigned BuiltinID = FDecl->getBuiltinID(); in SemaBuiltinNontemporalOverloaded() local
3021 assert((BuiltinID == Builtin::BI__builtin_nontemporal_store || in SemaBuiltinNontemporalOverloaded()
3022 BuiltinID == Builtin::BI__builtin_nontemporal_load) && in SemaBuiltinNontemporalOverloaded()
3024 bool isStore = BuiltinID == Builtin::BI__builtin_nontemporal_store; in SemaBuiltinNontemporalOverloaded()
3606 bool Sema::SemaBuiltinARMSpecialReg(unsigned BuiltinID, CallExpr *TheCall, in SemaBuiltinARMSpecialReg() argument
3609 bool IsARMBuiltin = BuiltinID == ARM::BI__builtin_arm_rsr64 || in SemaBuiltinARMSpecialReg()
3610 BuiltinID == ARM::BI__builtin_arm_wsr64 || in SemaBuiltinARMSpecialReg()
3611 BuiltinID == ARM::BI__builtin_arm_rsr || in SemaBuiltinARMSpecialReg()
3612 BuiltinID == ARM::BI__builtin_arm_rsrp || in SemaBuiltinARMSpecialReg()
3613 BuiltinID == ARM::BI__builtin_arm_wsr || in SemaBuiltinARMSpecialReg()
3614 BuiltinID == ARM::BI__builtin_arm_wsrp; in SemaBuiltinARMSpecialReg()
3615 bool IsAArch64Builtin = BuiltinID == AArch64::BI__builtin_arm_rsr64 || in SemaBuiltinARMSpecialReg()
3616 BuiltinID == AArch64::BI__builtin_arm_wsr64 || in SemaBuiltinARMSpecialReg()
3617 BuiltinID == AArch64::BI__builtin_arm_rsr || in SemaBuiltinARMSpecialReg()
3618 BuiltinID == AArch64::BI__builtin_arm_rsrp || in SemaBuiltinARMSpecialReg()
3619 BuiltinID == AArch64::BI__builtin_arm_wsr || in SemaBuiltinARMSpecialReg()
3620 BuiltinID == AArch64::BI__builtin_arm_wsrp; in SemaBuiltinARMSpecialReg()
3972 unsigned BuiltinID = FD->getBuiltinID(); in checkFormatStringExpr() local
3973 if (BuiltinID == Builtin::BI__builtin___CFStringMakeConstantString || in checkFormatStringExpr()
3974 BuiltinID == Builtin::BI__builtin___NSStringMakeConstantString) { in checkFormatStringExpr()