code: static final void addPassFactoryBefore(
        List<PassFactory> factoryList, PassFactory factory, String passName) {
      factoryList.add(
          findPassIndexByName(factoryList, passName), factory);
    }
docs: Insert the given pass factory before the factory of the given name.