Why SimplifyInference use CreateFunctionPass to create Pass

yes,you are right. but SimplifyInferencePass ,this pass add some new node to the graph. but CreateFunctionPass just update one node of raw IRModule.