A multi-threaded work queue for LLVM functions