add Resolver

Signed-off-by: xiehuc <xiehuc@gmail.com>
add a simple UseOnlyResolve

Signed-off-by: xiehuc <xiehuc@gmail.com>
change to template useage

Signed-off-by: xiehuc <xiehuc@gmail.com>
add UseOnlyResolve recursive ConstantExpr

Signed-off-by: xiehuc <xiehuc@gmail.com>