GO:0007440: foregut morphogenesis
The process in which the anatomical structures of the foregut are generated and organized.