Fjord :)
If it is inundated by the sea it is called a "Fjord", if not is just a glacial valley.
A stream-carved valley typically has a V-shape with a narrower and deeper profile due to the erosive force of flowing water. In contrast, a glacial-carved valley has a U-shape with a wider and shallower profile due to the movement of glaciers scooping out the landscape.
Cirque... i am sure
Cirques
As hinted by your question, the valley in Yosemite is carved out by none other than glaciers! Over time, the movement of these large chunks of ice eroded the rocks into the valley we know of today.
A glacial valley filled with sea water is a fjord (pronounced ford)
Cirque... i am sure
A glacial valley typically has a U-shaped cross-section, with steep walls and a flat or gently sloping bottom. These valleys often have a wide floor and are characteristic of being carved out by the movement of glaciers.
The beautiful glacial valley Yosemite Valley is located in California. To be more specific it is located in the Sierra Nevada mountain range and is carved out by the Merced River.
A glacial trough is a U-shaped valley carved out by a glacier as it moves downhill. It forms through a process called glacial erosion where the glacier scours and deepens the valley over time by plucking and grinding the bedrock beneath it. The vast weight and movement of the glacier cause it to scrape and shape the landscape into a distinctive U-shaped trough.
A U-shaped valley produced by the erosion of a valley glacier is called a glacial trough. This distinct feature is carved out by the movement of ice over time, shaping the landscape into a broad and deep valley with steep sides.
Cirques are the rounded basins carved into the sides of mountains by valley glaciers. They are typically characterized by steep walls and a bowl-like shape. The process of glacial erosion forming cirques is known as plucking and abrasion.