This plant is called the black nightshade (𝘚𝘰𝘭𝘢𝘯𝘶𝘮 𝘯𝘪𝘨𝘳𝘶𝘮) and it's very common in the Cordillera region. It belongs to the same genus with potatoes, tomatoes, and eggplants.
The young leaves/shoots are often collected and eaten. They have a bitter taste even when cooked but it's easy to get used to.
The Kankana-eys call it 𝗮𝗺𝘁𝗶.