Clean up codes in compiler plugin

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>