According to the Rock Cycle (image below), which type(s) of rock can melt into magma.

Rocks cannot melt into magma. Rocks cannot melt into magma. Igneous Rocks only since they are formed from cooled magma. Igneous Rocks only since they are formed from cooled magma. All rocks can melt back into magma. All rocks can melt back into magma. Metamorphic and Sedimentary Only

According to the Rock Cycle, all rocks can potentially melt back into magma.