Lines Matching refs:DISPATCH
726 #define DISPATCH(cmpPredicate, spirvOp) \ in matchAndRewrite() macro
737 DISPATCH(arith::CmpIPredicate::eq, spirv::IEqualOp); in matchAndRewrite()
738 DISPATCH(arith::CmpIPredicate::ne, spirv::INotEqualOp); in matchAndRewrite()
739 DISPATCH(arith::CmpIPredicate::slt, spirv::SLessThanOp); in matchAndRewrite()
740 DISPATCH(arith::CmpIPredicate::sle, spirv::SLessThanEqualOp); in matchAndRewrite()
741 DISPATCH(arith::CmpIPredicate::sgt, spirv::SGreaterThanOp); in matchAndRewrite()
742 DISPATCH(arith::CmpIPredicate::sge, spirv::SGreaterThanEqualOp); in matchAndRewrite()
743 DISPATCH(arith::CmpIPredicate::ult, spirv::ULessThanOp); in matchAndRewrite()
744 DISPATCH(arith::CmpIPredicate::ule, spirv::ULessThanEqualOp); in matchAndRewrite()
745 DISPATCH(arith::CmpIPredicate::ugt, spirv::UGreaterThanOp); in matchAndRewrite()
746 DISPATCH(arith::CmpIPredicate::uge, spirv::UGreaterThanEqualOp); in matchAndRewrite()
748 #undef DISPATCH in matchAndRewrite()
761 #define DISPATCH(cmpPredicate, spirvOp) \ in matchAndRewrite() macro
768 DISPATCH(arith::CmpFPredicate::OEQ, spirv::FOrdEqualOp); in matchAndRewrite()
769 DISPATCH(arith::CmpFPredicate::OGT, spirv::FOrdGreaterThanOp); in matchAndRewrite()
770 DISPATCH(arith::CmpFPredicate::OGE, spirv::FOrdGreaterThanEqualOp); in matchAndRewrite()
771 DISPATCH(arith::CmpFPredicate::OLT, spirv::FOrdLessThanOp); in matchAndRewrite()
772 DISPATCH(arith::CmpFPredicate::OLE, spirv::FOrdLessThanEqualOp); in matchAndRewrite()
773 DISPATCH(arith::CmpFPredicate::ONE, spirv::FOrdNotEqualOp); in matchAndRewrite()
775 DISPATCH(arith::CmpFPredicate::UEQ, spirv::FUnordEqualOp); in matchAndRewrite()
776 DISPATCH(arith::CmpFPredicate::UGT, spirv::FUnordGreaterThanOp); in matchAndRewrite()
777 DISPATCH(arith::CmpFPredicate::UGE, spirv::FUnordGreaterThanEqualOp); in matchAndRewrite()
778 DISPATCH(arith::CmpFPredicate::ULT, spirv::FUnordLessThanOp); in matchAndRewrite()
779 DISPATCH(arith::CmpFPredicate::ULE, spirv::FUnordLessThanEqualOp); in matchAndRewrite()
780 DISPATCH(arith::CmpFPredicate::UNE, spirv::FUnordNotEqualOp); in matchAndRewrite()
782 #undef DISPATCH in matchAndRewrite()