Now My project use two TCPWM as pwm and another two TCPWM component as timer, my tcpwm pin is fixed with P1.0 and P1.2 on my hardware, which are TCPWM.lineout and TCPWM.lineout in cydwr file pin assignment. But now I found my pwm0 is assigned to CYREG_TCPWM_CNT3 and pwm1 is assigned to CYREG_TCPWM_CNT2, two timer counter occupied CYREG_TCPWM_CNT1 and CYREG_TCPWM_CNT0 in code. So the problem seems the pin assignment is conflicted to the code generated by PSOC creator?
I suppose that this is n ot an error. Make a test: Rename your TCPWMs having meaningful names to easily distinguish their associated pins. Change the API names accordingly. Then check again for errors. If still in doubt post your project. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.