Rename Proc class to Function to match the LLVM naming.