A compound having the formula: or a pharmaceutically acceptable salt thereof, wherein: A is O; B is selected from one of the following groups: Q is O; V is H, halo or -N(R 12) 2; W is N, CH or CF; R 1 is -(CH 2) m -C OR 13; R 2 is methyl; R 3 is selected from C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl and -N(R 12) 2; R 4, R 5, R 7 and R 8 are each independently selected from H, C 1 -C 6 alkyl, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, halo, -OR 14, -SR 14 and -N(R 14) 2; R 6, R 9, R 10 and R 11 are each independently selected from H, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, C 3 -C 7 cycloalkyl, 5- or 6-membered monocyclic heteroaryl, 9- or 10-membered bicyclic heteroaryl, halo, -OR 14, -SR 14, -S R 14, -S 2 R 14, -S 2 N(R 14) 2, - NHC OR 14, -NHC N(R 14) 2, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, -O-(C 1 -C 6 haloalkyl), - CN, -NO 2, -N(R 14) 2, -NH(C 1 -C 6 alkylene)-(5- or 6-membered monocyclic heteroaryl), -NH(C 1 -C 6 alkylene)-(9- or 10-membered bicyclic heteroaryl), -C R 14, -C OR 14, -C N(R 14) 2 and - NHC R 14, wherein said C 2 -C 6 alkenyl group and said C 2 -C 6 alkynyl group may be optionally substituted with halo; each occurrence of R 12 is independently selected from H, C 1 -C 6 alkyl, -C R 14 and -C OR 14; each occurrence of R 13 is independently selected from C 1 -C 6 alkyl, C 3 -C 7 cycloalkyl and C 6 -C 10 aryl; each occurrence of R 14 is independently selected from H, C 1 -C 6 alkyl, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, -(C 1 -C 3 alkylene) n -(C 3 -C 7 cycloalkyl), -(C 1 -C 3 alkylene) n -(C 6 -C 10 aryl), -(C 1 -C 3 alkylene) n -(4 to 7-membered heterocycloalkyl), -(C 1 -C 3 alkylene) n -(5- or 6-membered monocyclic heteroaryl) and -(C 1 -C 3 alkylene) n -(9- or 10-membered bicyclic heteroaryl); m is 1, 2, 3, 4 or 5; and each occurrence of n is independently 0 or 1. A is O; B is selected from one of the following groups: Q is O; V is H, halo or -N(R 12) 2; W is N, CH or CF; R 1 is -(CH 2) m -C OR 13; R 2 is methyl; R 3 is selected from C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl and -N(R 12) 2; R 4, R 5, R 7 and R 8 are each independently selected from H, C 1 -C 6 alkyl, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, halo, -OR 14, -SR 14 and -N(R 14) 2; R 6, R 9, R 10 and R 11 are each independently selected from H, C 1 -C 6 alkyl, C 2 -C 6 alkenyl, C 2 -C 6 alkynyl, C 3 -C 7 cycloalkyl, 5- or 6-membered monocyclic heteroaryl, 9- or 10-membered bicyclic heteroaryl, halo, -OR 14, -SR 14, -S R 14, -S 2 R 14, -S 2 N(R 14) 2, - NHC OR 14, -NHC N(R 14) 2, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, -O-(C 1 -C 6 haloalkyl), - CN, -NO 2, -N(R 14) 2, -NH(C 1 -C 6 alkylene)-(5- or 6-membered monocyclic heteroaryl), -NH(C 1 -C 6 alkylene)-(9- or 10-membered bicyclic heteroaryl), -C R 14, -C OR 14, -C N(R 14) 2 and - NHC R 14, wherein said C 2 -C 6 alkenyl group and said C 2 -C 6 alkynyl group may be optionally substituted with halo; each occurrence of R 12 is independently selected from H, C 1 -C 6 alkyl, -C R 14 and -C OR 14; each occurrence of R 13 is independently selected from C 1 -C 6 alkyl, C 3 -C 7 cycloalkyl and C 6 -C 10 aryl; each occurrence of R 14 is independently selected from H, C 1 -C 6 alkyl, C 1 -C 6 haloalkyl, C 1 -C 6 hydroxyalkyl, -(C 1 -C 3 alkylene) n -(C 3 -C 7 cycloalkyl), -(C 1 -C 3 alkylene) n -(C 6 -C 10 aryl), -(C 1 -C 3 alkylene) n -(4 to 7-membered heterocycloalkyl), -(C 1 -C 3 alkylene) n -(5- or 6-membered monocyclic heteroaryl) and -(C 1 -C 3 alkylene) n -(9- or 10-membered bicyclic heteroaryl); m is 1, 2, 3, 4 or 5; and each occurrence of n is independently 0 or 1.