Clean up some cases by splitting pattern matching out into more reusable bits
Clean up some cases by splitting pattern matching out into more reusable bits

travitch/llvm-analysis,travitch/llvm-analysis,wangxiayang/llvm-analysis,wangxiayang/llvm-analysis