pytorch/torch/csrc/jit/passes/onnx
Yuanyuan Chen 36871622f1 [2/N] Mark unused parameters in C++ code (#165121)
This is follow-up of #164912 to mark unused C++ parameters to improve code readability.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165121
Approved by: https://github.com/Skylion007
2025-10-15 03:04:39 +00:00
..
pattern_conversion
cast_all_constant_to_floating.cpp
cast_all_constant_to_floating.h
constant_fold.cpp
constant_fold.h
constant_map.cpp
constant_map.h
deduplicate_initializers.cpp
deduplicate_initializers.h
eliminate_unused_items.cpp
eliminate_unused_items.h
eval_peephole.cpp
eval_peephole.h
fixup_onnx_controlflow.cpp
fixup_onnx_controlflow.h
function_extraction.cpp [2/N] Mark unused parameters in C++ code (#165121) 2025-10-15 03:04:39 +00:00
function_extraction.h
function_substitution.cpp
function_substitution.h
helper.cpp
helper.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
list_model_parameters.cpp
list_model_parameters.h
naming.cpp [2/N] Mark unused parameters in C++ code (#165121) 2025-10-15 03:04:39 +00:00
naming.h
onnx_log.cpp
onnx_log.h
peephole.cpp
peephole.h
prepare_division_for_onnx.cpp Revert "[BC-Breaking] Remove long-deprecated casting functions from native_functions.yaml (#164641)" 2025-10-09 15:42:51 +00:00
prepare_division_for_onnx.h
preprocess_for_onnx.cpp
preprocess_for_onnx.h
README.md
remove_inplace_ops_for_onnx.cpp
remove_inplace_ops_for_onnx.h
scalar_type_analysis.cpp
scalar_type_analysis.h
shape_type_inference.cpp [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
shape_type_inference.h
unpack_quantized_weights.cpp
unpack_quantized_weights.h

The optimization passes in this directory work exclusively on ONNX-style IRs, e.g., IRs that have had ToONNX applied to them. ONNX defines operators differently from ATen, so there are different opportunities for peephole optimization.