Clang option to dump the results of intermediate passes

Hello, I’m new to llvm framework. Is there an option in clang to dump the results of all passes? I’m looking for gcc equivalent -fdump-tree-all, -fdump-ipa-all…

Thanks

Try -mllvm -print-after-all

– Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation