Pyrimidines of formula (I):
wherein R
1
to R
4
, X and Y are defined in the specification are inhibitors of PI3K and may thus be used to treat diseases and disorders arising from abnormal cell growth, function or behavior associated with PI3 kinase such as cancer, immune disorders, cardiovascular disease, viral infection, inflammation, metabolism/endocrine function disorders and neurological disorders.