What does ‘knock up’ mean?

( v ) To get someone pregnant. He knocked up his girl friend and had to marry her.