I think it's better for it to be stricter and only work for pointers. A better name might be getPointerBitCastOrAddrSpaceCast? IRBuilder equivalents of whatever is there is a good idea. http://llvm-reviews.chandlerc.com/D2205