Foam rolling, before or after excercise?

Warm up, foam roll, do your workout.
I generally foam roll after unless something is tight, in which case I do the above.