fixed parentValue now it is working to some extent, but has some problem with bitcast operator. also getElementptr is not implemented yet.