I want to write a machine function pass adopting the MachineBlockFrequency pass. But I am a beginner, I can write the IR analisy pass but I don\'t know how to write a pass