cudgel one's brains

[cudgel one's brains] See: BEAT ONE'S BRAINS OUT.