The realm of code optimization continuously seeks innovative approaches to enhance performance while minimizing overhead. In this context, BCLUP emerges as a novel framework designed to streamline the refinement process for efficient code. BCLUP leverages a sophisticated strategy that meticulously examines code structures, identifying opportunities