Dear Michael
Welcome to Ireland Reaching Out!
As you can see from the link below, Tullowphelim is a Civil Parish in Co. Carlow:
http://www.irishtimes.com/ancestor/fuses/townlands/index.cfm?fuseaction=TownlandsInCivil&civilparishid=510&civilparish=Tullowphelim&citycounty=Carlow
Records for the corresponding Roman Catholic Parish of Tullow begin in 1763 for baptisms and 1775 for marriages. There are also gaps in the series at various points. In order to find out if the Mary born in 1829 and the Mary who married Patrick in the 1840s are one and the same, we would need to find her baptism and compare the details with her marriage record. At the very least her father?s name will be recorded on her marriage and this will give you a basic indication. If she was born in Tullow she was most likely married there too, though given the time, the 1840s she may have emigrated before marrying (unless you know she didn't).
According to www.rootsireland.ie there are 180,000 baptismal and marriage records to be made available online in the coming weeks: http://www.rootsireland.ie/index.php?id=31
I had a quick look on Ancestry.com and there is one baptism for a Mary Thornton in Carlow - Father: James, Mother: Catherine. The sponsors were Elizabeth Nolan and Thomas D'arcy. Mary was batised on 10th Oct. 1829. I assume this is the Mary you already know about. Do the Nolan and D'arcy names appear elsewhere in your family and do you know if Mary married in Ireland or elsewhere? I haven't been able to find a marriage record for a Patrick Deveney and a Thornton bride in Ireland so far.
Regards
Clare Doyle
Genealogy Support