I had originally placed the UnaryOperator class in llvm/IR/Instructions.h, with the other UnaryInstructions. However, I'm now thinking that it makes more sense to live in llvm/IR/InstrTypes.h, with BinaryOperator. It is more similar to BinaryOperator than any of the other UnaryInstructions.
It could go either way though, so basically just looking for opinions...