A branch predictor is digital circuit which could guess which way a branch goes before this is nown definitely.
In computer architecture, a branch predictor is a digital circuit that tries to guess which way a branch (e.g. an if–then–else structure) will go before this is known definitively.