Check out my first novel, midnight's simulacra!
Static branch-prediction heuristics based on program structure, 1993.