TIOS bits allows to choose IC or OC.
TCTL1/TCTL2 registers determine toggle mode for each channel. One of 4 available modes is OMx=OLx=0, which is 'no output compare action on the timer output signal'. It means TFLG1 flag still is set on interrupt is generated when TIE bit is set, but pin is not toggled (toggle/set/clear) automatically. You also should set corresponding channel bit in OCPD register, else you won't be able to toggle pin writing to PTT, PTR or PTP registers. TIM pins are routable either to PTR or PTP, see PTRRR register.
To enable OC interrupt: enable timer (TEN bit), set up required TIOS bit, set up TCTL1/TCTL2 bits for your channel, set OCPD bit in case you don't want automatic toggle, set up TCx compare value, clear bit in TFLG1, set interrupt enable bit in TIE.
Automatic pin toggle/set/clear also generate interrupts. If you wish you may use OC pin action with OC interrupt disabled, just clear bit in TIE register.