Lines Matching refs:AtomicExpr
357 static void emitAtomicCmpXchg(CodeGenFunction &CGF, AtomicExpr *E, bool IsWeak, in emitAtomicCmpXchg()
405 static void emitAtomicCmpXchgFailureSet(CodeGenFunction &CGF, AtomicExpr *E, in emitAtomicCmpXchgFailureSet()
488 static void EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr *E, Address Dest, in EmitAtomicOp()
496 case AtomicExpr::AO__c11_atomic_init: in EmitAtomicOp()
499 case AtomicExpr::AO__c11_atomic_compare_exchange_strong: in EmitAtomicOp()
503 case AtomicExpr::AO__c11_atomic_compare_exchange_weak: in EmitAtomicOp()
507 case AtomicExpr::AO__atomic_compare_exchange: in EmitAtomicOp()
508 case AtomicExpr::AO__atomic_compare_exchange_n: { in EmitAtomicOp()
537 case AtomicExpr::AO__c11_atomic_load: in EmitAtomicOp()
538 case AtomicExpr::AO__atomic_load_n: in EmitAtomicOp()
539 case AtomicExpr::AO__atomic_load: { in EmitAtomicOp()
547 case AtomicExpr::AO__c11_atomic_store: in EmitAtomicOp()
548 case AtomicExpr::AO__atomic_store: in EmitAtomicOp()
549 case AtomicExpr::AO__atomic_store_n: { in EmitAtomicOp()
557 case AtomicExpr::AO__c11_atomic_exchange: in EmitAtomicOp()
558 case AtomicExpr::AO__atomic_exchange_n: in EmitAtomicOp()
559 case AtomicExpr::AO__atomic_exchange: in EmitAtomicOp()
563 case AtomicExpr::AO__atomic_add_fetch: in EmitAtomicOp()
566 case AtomicExpr::AO__c11_atomic_fetch_add: in EmitAtomicOp()
567 case AtomicExpr::AO__atomic_fetch_add: in EmitAtomicOp()
571 case AtomicExpr::AO__atomic_sub_fetch: in EmitAtomicOp()
574 case AtomicExpr::AO__c11_atomic_fetch_sub: in EmitAtomicOp()
575 case AtomicExpr::AO__atomic_fetch_sub: in EmitAtomicOp()
579 case AtomicExpr::AO__atomic_and_fetch: in EmitAtomicOp()
582 case AtomicExpr::AO__c11_atomic_fetch_and: in EmitAtomicOp()
583 case AtomicExpr::AO__atomic_fetch_and: in EmitAtomicOp()
587 case AtomicExpr::AO__atomic_or_fetch: in EmitAtomicOp()
590 case AtomicExpr::AO__c11_atomic_fetch_or: in EmitAtomicOp()
591 case AtomicExpr::AO__atomic_fetch_or: in EmitAtomicOp()
595 case AtomicExpr::AO__atomic_xor_fetch: in EmitAtomicOp()
598 case AtomicExpr::AO__c11_atomic_fetch_xor: in EmitAtomicOp()
599 case AtomicExpr::AO__atomic_fetch_xor: in EmitAtomicOp()
603 case AtomicExpr::AO__atomic_nand_fetch: in EmitAtomicOp()
606 case AtomicExpr::AO__atomic_fetch_nand: in EmitAtomicOp()
621 if (E->getOp() == AtomicExpr::AO__atomic_nand_fetch) in EmitAtomicOp()
661 RValue CodeGenFunction::EmitAtomicExpr(AtomicExpr *E) { in EmitAtomicExpr()
680 if (E->getOp() == AtomicExpr::AO__c11_atomic_init) { in EmitAtomicExpr()
689 case AtomicExpr::AO__c11_atomic_init: in EmitAtomicExpr()
692 case AtomicExpr::AO__c11_atomic_load: in EmitAtomicExpr()
693 case AtomicExpr::AO__atomic_load_n: in EmitAtomicExpr()
696 case AtomicExpr::AO__atomic_load: in EmitAtomicExpr()
700 case AtomicExpr::AO__atomic_store: in EmitAtomicExpr()
704 case AtomicExpr::AO__atomic_exchange: in EmitAtomicExpr()
709 case AtomicExpr::AO__c11_atomic_compare_exchange_strong: in EmitAtomicExpr()
710 case AtomicExpr::AO__c11_atomic_compare_exchange_weak: in EmitAtomicExpr()
711 case AtomicExpr::AO__atomic_compare_exchange_n: in EmitAtomicExpr()
712 case AtomicExpr::AO__atomic_compare_exchange: in EmitAtomicExpr()
714 if (E->getOp() == AtomicExpr::AO__atomic_compare_exchange) in EmitAtomicExpr()
723 case AtomicExpr::AO__c11_atomic_fetch_add: in EmitAtomicExpr()
724 case AtomicExpr::AO__c11_atomic_fetch_sub: in EmitAtomicExpr()
741 case AtomicExpr::AO__atomic_fetch_add: in EmitAtomicExpr()
742 case AtomicExpr::AO__atomic_fetch_sub: in EmitAtomicExpr()
743 case AtomicExpr::AO__atomic_add_fetch: in EmitAtomicExpr()
744 case AtomicExpr::AO__atomic_sub_fetch: in EmitAtomicExpr()
745 case AtomicExpr::AO__c11_atomic_store: in EmitAtomicExpr()
746 case AtomicExpr::AO__c11_atomic_exchange: in EmitAtomicExpr()
747 case AtomicExpr::AO__atomic_store_n: in EmitAtomicExpr()
748 case AtomicExpr::AO__atomic_exchange_n: in EmitAtomicExpr()
749 case AtomicExpr::AO__c11_atomic_fetch_and: in EmitAtomicExpr()
750 case AtomicExpr::AO__c11_atomic_fetch_or: in EmitAtomicExpr()
751 case AtomicExpr::AO__c11_atomic_fetch_xor: in EmitAtomicExpr()
752 case AtomicExpr::AO__atomic_fetch_and: in EmitAtomicExpr()
753 case AtomicExpr::AO__atomic_fetch_or: in EmitAtomicExpr()
754 case AtomicExpr::AO__atomic_fetch_xor: in EmitAtomicExpr()
755 case AtomicExpr::AO__atomic_fetch_nand: in EmitAtomicExpr()
756 case AtomicExpr::AO__atomic_and_fetch: in EmitAtomicExpr()
757 case AtomicExpr::AO__atomic_or_fetch: in EmitAtomicExpr()
758 case AtomicExpr::AO__atomic_xor_fetch: in EmitAtomicExpr()
759 case AtomicExpr::AO__atomic_nand_fetch: in EmitAtomicExpr()
786 case AtomicExpr::AO__c11_atomic_init: in EmitAtomicExpr()
789 case AtomicExpr::AO__c11_atomic_fetch_add: in EmitAtomicExpr()
790 case AtomicExpr::AO__atomic_fetch_add: in EmitAtomicExpr()
791 case AtomicExpr::AO__c11_atomic_fetch_and: in EmitAtomicExpr()
792 case AtomicExpr::AO__atomic_fetch_and: in EmitAtomicExpr()
793 case AtomicExpr::AO__c11_atomic_fetch_or: in EmitAtomicExpr()
794 case AtomicExpr::AO__atomic_fetch_or: in EmitAtomicExpr()
795 case AtomicExpr::AO__atomic_fetch_nand: in EmitAtomicExpr()
796 case AtomicExpr::AO__c11_atomic_fetch_sub: in EmitAtomicExpr()
797 case AtomicExpr::AO__atomic_fetch_sub: in EmitAtomicExpr()
798 case AtomicExpr::AO__c11_atomic_fetch_xor: in EmitAtomicExpr()
799 case AtomicExpr::AO__atomic_fetch_xor: in EmitAtomicExpr()
800 case AtomicExpr::AO__atomic_add_fetch: in EmitAtomicExpr()
801 case AtomicExpr::AO__atomic_and_fetch: in EmitAtomicExpr()
802 case AtomicExpr::AO__atomic_nand_fetch: in EmitAtomicExpr()
803 case AtomicExpr::AO__atomic_or_fetch: in EmitAtomicExpr()
804 case AtomicExpr::AO__atomic_sub_fetch: in EmitAtomicExpr()
805 case AtomicExpr::AO__atomic_xor_fetch: in EmitAtomicExpr()
810 case AtomicExpr::AO__c11_atomic_load: in EmitAtomicExpr()
811 case AtomicExpr::AO__c11_atomic_store: in EmitAtomicExpr()
812 case AtomicExpr::AO__c11_atomic_exchange: in EmitAtomicExpr()
813 case AtomicExpr::AO__c11_atomic_compare_exchange_weak: in EmitAtomicExpr()
814 case AtomicExpr::AO__c11_atomic_compare_exchange_strong: in EmitAtomicExpr()
815 case AtomicExpr::AO__atomic_load_n: in EmitAtomicExpr()
816 case AtomicExpr::AO__atomic_load: in EmitAtomicExpr()
817 case AtomicExpr::AO__atomic_store_n: in EmitAtomicExpr()
818 case AtomicExpr::AO__atomic_store: in EmitAtomicExpr()
819 case AtomicExpr::AO__atomic_exchange_n: in EmitAtomicExpr()
820 case AtomicExpr::AO__atomic_exchange: in EmitAtomicExpr()
821 case AtomicExpr::AO__atomic_compare_exchange_n: in EmitAtomicExpr()
822 case AtomicExpr::AO__atomic_compare_exchange: in EmitAtomicExpr()
846 case AtomicExpr::AO__c11_atomic_init: in EmitAtomicExpr()
856 case AtomicExpr::AO__c11_atomic_compare_exchange_weak: in EmitAtomicExpr()
857 case AtomicExpr::AO__c11_atomic_compare_exchange_strong: in EmitAtomicExpr()
858 case AtomicExpr::AO__atomic_compare_exchange: in EmitAtomicExpr()
859 case AtomicExpr::AO__atomic_compare_exchange_n: in EmitAtomicExpr()
873 case AtomicExpr::AO__c11_atomic_exchange: in EmitAtomicExpr()
874 case AtomicExpr::AO__atomic_exchange_n: in EmitAtomicExpr()
875 case AtomicExpr::AO__atomic_exchange: in EmitAtomicExpr()
882 case AtomicExpr::AO__c11_atomic_store: in EmitAtomicExpr()
883 case AtomicExpr::AO__atomic_store: in EmitAtomicExpr()
884 case AtomicExpr::AO__atomic_store_n: in EmitAtomicExpr()
893 case AtomicExpr::AO__c11_atomic_load: in EmitAtomicExpr()
894 case AtomicExpr::AO__atomic_load: in EmitAtomicExpr()
895 case AtomicExpr::AO__atomic_load_n: in EmitAtomicExpr()
900 case AtomicExpr::AO__atomic_add_fetch: in EmitAtomicExpr()
903 case AtomicExpr::AO__c11_atomic_fetch_add: in EmitAtomicExpr()
904 case AtomicExpr::AO__atomic_fetch_add: in EmitAtomicExpr()
911 case AtomicExpr::AO__atomic_and_fetch: in EmitAtomicExpr()
914 case AtomicExpr::AO__c11_atomic_fetch_and: in EmitAtomicExpr()
915 case AtomicExpr::AO__atomic_fetch_and: in EmitAtomicExpr()
922 case AtomicExpr::AO__atomic_or_fetch: in EmitAtomicExpr()
925 case AtomicExpr::AO__c11_atomic_fetch_or: in EmitAtomicExpr()
926 case AtomicExpr::AO__atomic_fetch_or: in EmitAtomicExpr()
933 case AtomicExpr::AO__atomic_sub_fetch: in EmitAtomicExpr()
936 case AtomicExpr::AO__c11_atomic_fetch_sub: in EmitAtomicExpr()
937 case AtomicExpr::AO__atomic_fetch_sub: in EmitAtomicExpr()
944 case AtomicExpr::AO__atomic_xor_fetch: in EmitAtomicExpr()
947 case AtomicExpr::AO__c11_atomic_fetch_xor: in EmitAtomicExpr()
948 case AtomicExpr::AO__atomic_fetch_xor: in EmitAtomicExpr()
955 case AtomicExpr::AO__atomic_nand_fetch: in EmitAtomicExpr()
958 case AtomicExpr::AO__atomic_fetch_nand: in EmitAtomicExpr()
1004 if (E->getOp() == AtomicExpr::AO__atomic_nand_fetch) in EmitAtomicExpr()
1020 bool IsStore = E->getOp() == AtomicExpr::AO__c11_atomic_store || in EmitAtomicExpr()
1021 E->getOp() == AtomicExpr::AO__atomic_store || in EmitAtomicExpr()
1022 E->getOp() == AtomicExpr::AO__atomic_store_n; in EmitAtomicExpr()
1023 bool IsLoad = E->getOp() == AtomicExpr::AO__c11_atomic_load || in EmitAtomicExpr()
1024 E->getOp() == AtomicExpr::AO__atomic_load || in EmitAtomicExpr()
1025 E->getOp() == AtomicExpr::AO__atomic_load_n; in EmitAtomicExpr()