Irpagratinib is primarily used to treat advanced solid tumors, particularly HCC, CCA, and BC with abnormalities in the FGFR4 signaling pathway. Here, FGFR4 is linked to cholangiocarcinoma.