Add constant expression metadata