BitVector can be used to implement IFDS data flow framework. The transfer function can be defined in the following form:
$$ f(x) = (x - Kill) \cup Gen $$
Here, Kill and Gen are represented by BitVector, which is an 0-1 array.
The operations of BitVector
bitVector1(10, true);bitVector1 &= bitVector2;bitVector1 |= bitVector3;bitVector1.flip()Refer to CFG.h()
getParentpred_begin, pred_end