Home | History | Annotate | Download | only in Sema

Lines Matching defs:BuiltinID

115 Sema::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
121 Context.GetBuiltinType(BuiltinID, Error, &ICEArguments);
136 switch (BuiltinID) {
303 << (BuiltinID == Builtin::BI__builtin_operator_new
317 if (BuiltinID >= Builtin::FirstTSBuiltin) {
323 if (CheckARMBuiltinFunctionCall(BuiltinID, TheCall))
330 if (CheckAArch64BuiltinFunctionCall(BuiltinID, TheCall))
337 if (CheckMipsBuiltinFunctionCall(BuiltinID, TheCall))
342 if (CheckX86BuiltinFunctionCall(BuiltinID, TheCall))
420 bool Sema::CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
426 switch (BuiltinID) {
475 switch (BuiltinID) {
486 bool Sema::CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall,
488 assert((BuiltinID == ARM::BI__builtin_arm_ldrex ||
489 BuiltinID == ARM::BI__builtin_arm_ldaex ||
490 BuiltinID == ARM::BI__builtin_arm_strex ||
491 BuiltinID == ARM::BI__builtin_arm_stlex ||
492 BuiltinID == AArch64::BI__builtin_arm_ldrex ||
493 BuiltinID == AArch64::BI__builtin_arm_ldaex ||
494 BuiltinID == AArch64::BI__builtin_arm_strex ||
495 BuiltinID == AArch64::BI__builtin_arm_stlex) &&
497 bool IsLdrex = BuiltinID == ARM::BI__builtin_arm_ldrex ||
498 BuiltinID == ARM::BI__builtin_arm_ldaex ||
499 BuiltinID == AArch64::BI__builtin_arm_ldrex ||
500 BuiltinID == AArch64::BI__builtin_arm_ldaex;
603 bool Sema::CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
606 if (BuiltinID == ARM::BI__builtin_arm_ldrex ||
607 BuiltinID == ARM::BI__builtin_arm_ldaex ||
608 BuiltinID == ARM::BI__builtin_arm_strex ||
609 BuiltinID == ARM::BI__builtin_arm_stlex) {
610 return CheckARMBuiltinExclusiveCall(BuiltinID, TheCall, 64);
613 if (CheckNeonBuiltinFunctionCall(BuiltinID, TheCall))
619 switch (BuiltinID) {
634 bool Sema::CheckAArch64BuiltinFunctionCall(unsigned BuiltinID,
638 if (BuiltinID == AArch64::BI__builtin_arm_ldrex ||
639 BuiltinID == AArch64::BI__builtin_arm_ldaex ||
640 BuiltinID == AArch64::BI__builtin_arm_strex ||
641 BuiltinID == AArch64::BI__builtin_arm_stlex) {
642 return CheckARMBuiltinExclusiveCall(BuiltinID, TheCall, 128);
645 if (CheckNeonBuiltinFunctionCall(BuiltinID, TheCall))
651 bool Sema::CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
653 switch (BuiltinID) {
667 bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
668 switch (BuiltinID) {
1391 unsigned BuiltinID = FDecl->getBuiltinID();
1393 switch (BuiltinID) {
1550 if (NewBuiltinID == BuiltinID)
2157 unsigned BuiltinID = FD->getBuiltinID();
2158 if (BuiltinID == Builtin::BI__builtin___CFStringMakeConstantString ||
2159 BuiltinID == Builtin::BI__builtin___NSStringMakeConstantString) {