Vegan and IBS-C

Okay so i really have a problem with bloating and contipation, not every day but it surely happens at least once a week.

I haven’t been to the doctor, i mean i will but now im really sad if its in fact ibs, the foods that irritate the system are basically all vegan foods, i think i read that spinach firm tofu rice and ginger dont fall in that group.

Any advice if i maybe have ibs? If u had it, did u stop being vegan?