Use tabs for views, segments for filters
Default
Rule. Use tabs to switch views of one object, and a segmented control to filter or change a range.
Why. Tabs change what the screen shows. A filter changes which items the same view lists.
Do. Tabs switch views. Segments switch the range.
Don't. The shapes are swapped, so the roles are unclear.