# US 2021/0332064 A1 · Isoquinoline compounds for the treatment of cancer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0332064 A1
- Document ID: US20210332064A1
- Status: Published application
- Kind: A1
- Application number: 17/220,307
- Filed: 2021-04-01
- Published: 2021-10-28
- Earliest claimed: 2018-10-02
- Assignees: Genentech, Inc.
- Applicants: Genentech, Inc.
- Inventors: Jun Liang; Rohan V. Mendonca; Michael Siu; John Tellis; Weiru Wang; BinQing Wei; Bryan Chan; Edna F. Choo; Joy Drobnick; Lewis J. Gazzard; Timothy Heffron
- Web page: https://patentgrep.com/patent/US20210332064A1

## CPC

- C07D 498/04: Ortho-condensed systems
- A61P 35/00: Antineoplastic agents
- C07D 401/04: directly linked by a ring-member-to-ring-member bond
- C07D 401/14: containing three or more hetero rings
- C07D 471/04: Ortho-condensed systems
- C07D 519/00: Heterocyclic compounds containing more than one system of two or more relevant hetero rings condensed among themselves or condensed with a common carbocyclic ring system not provided for in groups C07D453/00 or C07D455/00
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS

## Abstract

3-Carbonylaminoisoquinoline compounds of formula (I): variations thereof, and their use as inhibitors of HPK1 (hematopoietic kinase 1) are described. The compounds are useful in treating HPK1-dependent disorders and enhancing an immune response. Also described are methods of inhibiting HPK1, methods of treating HPK1-dependent disorders, methods for enhancing an immune response, and methods for preparing the 3-carbonylaminoisoquinoline compounds.

## Claims

### Claim 1

A compound of Formula (I)
or a pharmaceutically acceptable salt thereof, wherein:
R1 is hydrogen, halogen, hydroxyl, C1-6 alkyl, C1-6 haloalkyl, C3-4 cycloalkyl, —O(C1-6 alkyl), or —O(C1-6 haloalkyl);
R15 is —OR16, —SR16, —NR17R18, or D;
each R16 is independently C1-6 alkyl, C3-10cycloalkyl, or 3- to 14-membered heterocyclyl; wherein the C1-6 alkyl, C3-10cycloalkyl and 3- to 14-membered heterocyclyl of R16 are each independently optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
R17 is hydrogen or C1-6 alkyl;
R18 is 3- to 14-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10; C3-10cycloalkyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10; or C1-6 alkyl substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
or R17 and R18 are taken together with the nitrogen atom to which they are attached to form a 4- to 12-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
D is
wherein the wavy line represents the attachment point to the parent structure;
R30, R11, R32, R33 and R34 are independently hydrogen or R10; optionally two of R30, R31, R32, R33 and R34 taken together with the carbon atoms to which they are attached form a C3-8 cycloalkyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10 or 3- to 10-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10; provided that at least one of R30, R31, R32, R33 and R34 is other than hydrogen;
R3 is hydrogen, halogen, cyano, C1-6 alkyl, C3-8 cycloalkyl, 3- to 14-membered heterocyclyl, or —OR7; wherein the C1-6 alkyl, C3-8 cycloalkyl and 3- to 14-membered heterocyclyl of R3 are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
R4 is 5- to 14-membered heteroaryl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
R5 is hydrogen, halogen, cyano, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl, 3- to 14-membered heterocyclyl, —C(O)R6, —C(O)OR7, —C(O)NR8aR8b, —OR7, —OC(O)R6, —OC(O)NR8aR8b, —SR7, —S(O)R9, —S(O)2R9, —S(O)2NR8aR8b, —P(O)R9aR9b, —NR8aR8b, —N(R8)C(O)R6, —N(R8)C(O)OR7, —N(R8)C(O)NR8aR8b, —N(R8)S(O)2R9, or —N(R8)S(O)2NR8aR8b, wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl and 3- to 14-membered heterocyclyl of R5 are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
each R6 is independently hydrogen, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 12-membered heterocyclyl of R6 are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
each R7 is independently hydrogen, C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 12-membered heterocyclyl of R7 are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
each R8 is independently hydrogen or C1-6 alkyl;
each R8a and R8b is independently hydrogen, C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 12-membered heterocyclyl of R8a and R8b are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
or R8a and R8b are taken together with the nitrogen atom to which they are attached to form a 4- to 12-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.
each R9 is independently C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 12-membered heterocyclyl of R9 are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.
each R9a and R9b is independently C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl, 3- to 12-membered heterocyclyl, or —O—C1-6 alkyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 12-membered heterocyclyl of R9a and R9b are each optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
or R9a and R9b are taken together with the phosphorus atom to which they are attached to form a 4- to 12-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10;
each R10 is independently oxo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl, 3- to 12-membered heterocyclyl, halogen, cyano, —C(O)Ra, —C(O)ORb, —C(O)NRcRd, —ORb, —OC(O)Ra, —OC(O)NRcRd, —SRb, —S(O)Re, —S(O)2Re, —S(O)(═NH)Rc, —S(O)2NRcRd, —NRcRd, —N(Rf)C(O)Ra, —N(Rf)C(O)ORb, —N(Rf)C(O)NRcRd, —N(Rf)S(O)2Re, —N(Rf)S(O)2NRcRd, or —P(O)RgRh; wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 14-membered heterocyclyl of R10 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
each IV is independently hydrogen, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 12-membered heterocyclyl of IV are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11;
each Rb is independently hydrogen, C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 12-membered heterocyclyl of Rb are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
each Rc and Rd is independently hydrogen, C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 12-membered heterocyclyl of Rc and Rd are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
or Rc and Rd are taken together with the nitrogen atom to which they are attached to form a 4- to 12-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
each Re is independently C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 12-membered heterocyclyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 12-membered heterocyclyl of Re are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
each Rf is independently hydrogen or C1-6 alkyl;
each Rg and Rh is independently C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl, 3- to 12-membered heterocyclyl, or —O—C1-6 alkyl; wherein the C1-6 alkyl, C3-8 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 12-membered heterocyclyl of Rg and Rh are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11 ;
or Rg and Rh are taken together with the phosphorus atom to which they are attached to form a 4- to 12-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11;
each R11 is independently oxo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl, 3- to 8-membered heterocyclyl, halogen, cyano, —C(O)Ra1, —C(O)ORb1, —C(O)NRc1Rd1, —ORb1, —OC(O)Ra1, —OC(O)NRc1Rd1, —S(O)Re1, —S(O)2Re1, —S(O)2NRc1Rd1, —NRc1Rd1, —N(Rf1)C(O)Ra1, —N(Rf1)C(O)ORb1, —N(Rf1)C(NRc1Rd1, —N(Rf1)S(O)2Re1,—N(Rf1)S(O)2NRc1Rd1, or —P(O)Rg1Rh1; wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 14-membered heteroaryl and 3- to 14-membered heterocyclyl of R11 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each Ra1 is independently hydrogen, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 8-membered heterocyclyl; wherein the C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 8-membered heterocyclyl of Ra1 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each Rb1 is independently hydrogen, C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 8-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 8-membered heterocyclyl of Rb1 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each Rc1 and Rd1 is independently hydrogen, C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 8-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 8-membered heterocyclyl of Rc1 and Rd1 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
or Rc1 and Rd1 are taken together with the nitrogen atom to which they are attached to form a 4- to 8-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each Re1 is independently C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl or 3- to 8-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 8-membered heterocyclyl of Re1 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each Rf1 is independently hydrogen or C1-6 alkyl;
each Rg1 and Rh1 is independently C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl, 3- to 8-membered heterocyclyl, or -0-C1-6 alkyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6-10 aryl, 5- to 10-membered heteroaryl and 3- to 8-membered heterocyclyl of Rg1 and Rh1 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
or Rg1 and Rh1 are taken together with the phosphorus atom to which they are attached to form a 4- to 8-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R12;
each R12 is independently oxo, C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl, 3- to 6-membered heterocyclyl, halogen, cyano, —C(O)Ra2, —C(O)ORb2, —C(O)NRc2Rd2, —ORb2, —OC(O)Ra2, —OC(O)NRc2Rd2, —S(O)2Re2, —S(O)2NRc2Rd2, —NRc2Rd2, —N(Rf2)C(O)Ra2, —N(Rf2)C(O)ORb2, —N(Rf2)C(O)NRc2Rd2, —N(Rf2)S(O)2Re2, —N(Rf2)S(O)2NRc2Rd2, or —P(O)Rg2Rh2; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl and 3- to 6-membered heterocyclyl of R12 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
each Ra2 is independently hydrogen, C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl or 3- to 6-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl and 3- to 6-membered heterocyclyl of Rae are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
each Rb2 is independently hydrogen, C1-6 alkyl, C3-6 cycloalkyl or 3- to 6-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl and 3- to 6-membered heterocyclyl of Rb2 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
each Rc2 and Rd2 is independently hydrogen, C1-6 alkyl, C3-6 cycloalkyl or 3- to 8-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl and 3- to 8-membered heterocyclyl of Rc2 and Rd2 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
or Rc2 and Rd2 are taken together with the nitrogen atom to which they are attached to form a 4- to 6-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
each Re2 is independently C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl or 3- to 6-membered heterocyclyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, C6 aryl, 5- to 6-membered heteroaryl and 3- to 6-membered heterocyclyl of Re2 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
each Rf2 is independently hydrogen or C1-6 alkyl;
each Rg2 and Rh2 is independently C1-6 alkyl, C3-6 cycloalkyl, 3- to 8-membered heterocyclyl, or —O—C1-6 alkyl; wherein the C1-6 alkyl, C3-6 cycloalkyl, and 3- to 8-membered heterocyclyl of Rg2 and Rh2 are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13;
or Rg2 and Rh2 are taken together with the phosphorus atom to which they are attached to form a 4- to 6-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R13; and
each R13 is independently oxo, halogen, hydroxyl, —O(C1-6 alkyl), cyano, C1-6 alkyl or C1-6 haloalkyl;
provided that the compound is other than Compound No. 1x-161x in Table 1X and salts thereof.

### Claim 2 (depends on 1)

The compound of claim 1, wherein R3 is hydrogen.

### Claim 3 (depends on 1)

The compound of claim 1, wherein R5 is hydrogen, fluoro or chloro.

### Claim 4 (depends on 3)

The compound of claim 3, wherein R5 is fluoro.

### Claim 5 (depends on 1)

The compound of claim 1, wherein R4 is
wherein the wavy line represents the attachment point to the parent structure, R4a, R4b and R4c are each independently hydrogen or R10, or two vicinal R4(a-c) are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10 or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 6 (depends on 5)

The compound of claim 5, wherein R4 is

### Claim 7 (depends on 5)

The compound of claim 5, wherein R4 is
wherein R4a is halogen, C1-6 alkyl or C3-6 cycloalkyl; and R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano.

### Claim 8 (depends on 7)

The compound of claim 7, wherein R4 is selected from the group consisting of:

### Claim 9 (depends on 1)

The compound of claim 1, wherein R15 is —OR16.

### Claim 10 (depends on 9)

The compound of claim 9, wherein R16 is 3- to 14-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 11 (depends on 10)

The compound of claim 10, wherein R16 is a 4- to 7-membered monocyclic heterocyclyl having 1 or 2 heteroatoms independently selected from the group consisting of N, O and S, and optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 12 (depends on 10)

The compound of claim 10, wherein R16 is 6- to 10-membered bicyclic heterocyclyl having 1 or 2 heteroatoms independently selected from the group consisting of N, O and S, and optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 13 (depends on 9)

The compound of claim 9, wherein R16 is C3-10cycloalkyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 14 (depends on 9)

The compound of claim 9, wherein R16 is C1-6 alkyl or C1-6 haloalkyl.

### Claim 15 (depends on 9)

The compound of claim 9, wherein R16 is —(C1-6 alkylene)-R19, wherein R19 is C3-10cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl, 3- to 14-membered heterocyclyl, cyano, —OR7, —NR8aR8b, or —S(O)2R9; wherein the C3-10cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl and 3- to 14-membered heterocyclyl of R19 are each independently optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 16 (depends on 15)

The compound of claim 15, wherein R19 is a 5- or 6-membered heteroaryl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10; or 3- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 17 (depends on 15)

The compound of claim 15, wherein R19 is a C3-10cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10; or phenyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 18 (depends on 15)

The compound of claim 15, wherein R19 is cyano, —OR7, —NR8aR8b, or —S(O)2R9.

### Claim 19 (depends on 9)

The compound of claim 9, wherein R16 is selected from the group consisting of:
wherein the wavy line represents the attachment point to the parent structure.

### Claim 20 (depends on 1)

The compound of claim 1, wherein R15 is —NR17R18.

### Claim 21 (depends on 16)

The compound of claim 16, wherein R17 is hydrogen.

### Claim 22 (depends on 20)

The compound of claim 20, wherein R18 is 3- to 14-membered heterocyclyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 23 (depends on 22)

The compound of claim 22, wherein R18 is selected from the group consisting of:
wherein the wavy line represents the attachment point to the parent structure.

### Claim 24 (depends on 20)

The compound of claim 20, wherein R′' is C3-10cycloalkyl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 25 (depends on 24)

The compound of claim 24, wherein R18 is selected from the group consisting of:
wherein the wavy line represents the attachment point to the parent structure.

### Claim 26 (depends on 20)

The compound of claim 20, wherein R18 is C1-6 haloalkyl or —(C1-6 alkylene)-R19, wherein R19 is C3-10cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl, 3- to 14-membered heterocyclyl, cyano, —OR7, —NR8aR8b, or —S(O)2R9; wherein the C3-10cycloalkyl, C6-14 aryl, 5- to 14-membered heteroaryl and 3- to 14-membered heterocyclyl of R19 are each independently optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10.

### Claim 27 (depends on 26)

The compound of claim 26, wherein R18 is selected from the group consisting of:
wherein the wavy line represents the attachment point to the parent structure.

### Claim 28 (depends on 1)

The compound of claim 1, wherein R15 is D.

### Claim 29 (depends on 28)

The compound of claim 28, wherein R30 is hydrogen.

### Claim 30 (depends on 28)

The compound of claim 28, wherein R31 is 5- to 14-membered heteroaryl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11.

### Claim 31 (depends on 30)

The compound of claim 30, wherein R31 is 5- or 6-membered heteroaryl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R11.

### Claim 32 (depends on 30)

The compound of claim 30, wherein R31 is 1-methylpyrazol-4-yl, pyrazol-4-yl, pyrazol-5-yl, imidazol-4-yl or imidazol-5-yl.

### Claim 33 (depends on 28)

The compound of any one of claims 28, wherein R32, R33 and R34 are independently selected from the group consisting of hydrogen, halogen, cyano, C1-6 alkyl, cyanomethyl, and dimethylaminomethyl.

### Claim 34 (depends on 28)

The compound of claim 28, wherein D is

### Claim 35 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IA):
wherein R1, R3, R4, R5 and R16 are as defined in claim 1.

### Claim 36 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IA-1):
wherein R1, R4 and R16 are as defined in claim 1.

### Claim 37 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IA-2):
wherein R4a is C1-6 alkyl; R4b and R4c are independently hydrogen or R10, or R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano; and R1, R10 and R16 are as defined in claim 1.

### Claim 38 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IB):
wherein R1, R3, R4, R5, R17 and R18 are as defined in claim 1.

### Claim 39 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IB-1):
wherein R1, R3, R4, R5 and R18 are as defined in claim 1.

### Claim 40 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IB-2):
wherein R1, R3, R4, R5 and R18 are as defined in claim 1.

### Claim 41 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IB-3):
wherein R4a is C1-6 alkyl; R4b and R4c are independently hydrogen or R10, or R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano; and R1, R10 and R18 are as defined in claim 1.

### Claim 42 (depends on 1)

The compound of claim 1, wherein the compound is of the formula (IC):
wherein R1, R3, R4, R5 and D are as defined in claim 1.

### Claim 43 (depends on 1, 29, 30, 31, 32, 33, 34)

The compound of claim 1, wherein the compound is of the formula (IC-1):
wherein R4a is C1-6 alkyl; R4b and R4c are independently hydrogen or R10, or R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano; and R1, R3, R5, R10, R30, R31, R32, R33 and R34 are as defined in claim 1 or 29-34.

### Claim 44 (depends on 1, 29, 30, 31, 32, 33, 34)

The compound of claim 1, wherein the compound is of the formula (IC-2):
wherein R4a is C1-6 alkyl; R4b and R4c are independently hydrogen or R10, or R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano; and R1, R10, R30, R31, R32, R33 and R34 are as defined in claim 1 or 29-34.

### Claim 45 (depends on 1, 30, 31, 32, 33, 34)

The compound of claim 1, wherein the compound is of the formula (IC-3):
wherein R4a is C1-6 alkyl; R4b and R4c are independently hydrogen or R10, or R4b and R4c are taken together with the atoms to which they are attached form a fused 5- to 10-membered heterocyclyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano, or a fused C5-8 cycloalkyl optionally substituted with 1, 2, 3 or 4 substituents independently selected from the group consisting of C1-6 alkyl, hydroxyl, halogen and cyano; R30 is 5- to 14-membered heteroaryl optionally substituted with 1, 2, 3, 4 or 5 substituents independently selected from R10; n is 0, 1, 2, 3 or 4; each R31, where present, is independently selected from R10; and R1, R10, R31, and R33 are as defined in claim 1 or 30-34.

### Claim 46 (depends on 1)

The compound of claim 1, wherein the compound is selected from the group consisting of Compound Nos. 101-142, 201-207 and 301-302 in Table 1, or a pharmaceutically acceptable salt thereof.

### Claim 47 (depends on 1)

A pharmaceutical composition comprising the compound of claim 1, or a pharmaceutically acceptable salt thereof; and a pharmaceutically acceptable excipient.

### Claim 48

(canceled)

### Claim 49 (depends on 1)

A method of inhibiting HPK1, said method comprising contacting HPK1 in a subject with an effective amount of the compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 50 (depends on 1)

A method for enhancing an immune response in a subject in need thereof, wherein the method comprises administering to said subject an effective amount of the compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 51

(canceled)

### Claim 52 (depends on 1)

A method for treating a HPK1-dependent disorder, said method comprising administering to a subject in need thereof an effective amount of the compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 53 (depends on 52)

The method of claim 52, wherein said HPK1-dependent disorder is a cancer.

### Claim at position 54

-58. (canceled)
