There’s plenty of driver code available. All of Linux and BSD, plus whatever internal stuff they have. Optimization is pretty generic.
Chip design maybe not, but I imagine you can train an AI on the principles and generate a bunch of candidates, then benchmark them in simulation.