Factor out the code for mapping LLVM IR condition opcodes to