1. A computer implemented method managing a cache system, the computer implemented method comprising: analyzing loop constructs to identify data usage characteristics for cache and prefetching conditions in instructions to form identified prefetch conditions; inserting a set of control instructions into the instructions based on the data usage characteristics and the identified prefetch conditions to form a plurality of modified instructions; and compiling the plurality of modified instructions to generate code for execution to form compiled instructions, wherein the set of control instructions in the compiled instructions forms a cache management policy to control movement of data in a memory system during execution of the compiled instructions.