The HideFlags tag can be used to hide various tooltips, including enchantments, attribute modifiers, and CanPlaceOn. However, it will not hide tooltips on potion effects, such as "Speed (3:00) When Applied: +20% Speed".
To demonstrate, "HideFlags:1023" will hide all tooltips (except those made by F3+H) on any item, except for the potion effect flags. Sample commands:
/give @p minecraft:potion 1 8194 {HideFlags:1023} /give @p minecraft:potion 1 8194 {HideFlags:31} /give @p minecraft:potion 1 8194 {HideFlags:1} /give @p minecraft:potion 1 8194 {HideFlags:2} /give @p minecraft:potion 1 8194 {HideFlags:4} /give @p minecraft:potion 1 8194 {HideFlags:8} /give @p minecraft:potion 1 8194 {HideFlags:16} /give @p minecraft:potion 1 8194 {HideFlags:32}
All of the above will fail; there is no bit tested for potion effects (and the attribute modifiers produced by them).