Are ED applicants and RD applicants from the same school ever compared?

If I apply regular decision, will I be compared to early decision or early action applicants from my school as a reference?

No you will be compared against other RD applicants