Lines Matching refs:BC
21 BinaryContext &BC = Function.getBinaryContext(); in shouldRunOnFunction() local
24 if (BC.MIB->isPacked(Inst)) in shouldRunOnFunction()
30 BinaryContext &BC = Function.getBinaryContext(); in runOnFunction() local
31 MCContext *Ctx = BC.Ctx.get(); in runOnFunction()
80 unsigned FirstCC = BC.MIB->getCondCode(*FirstJump); in runOnFunction()
82 FirstCC = BC.MIB->getInvertedCondCode(FirstCC); in runOnFunction()
86 BC.MIB->getInvertedCondCode(BC.MIB->getCondCodesLogicalOr( in runOnFunction()
87 BC.MIB->getInvertedCondCode(BC.MIB->getCondCode(*SecondJump)), in runOnFunction()
92 BC.MIB->getInvertedCondCode(BC.MIB->getCondCodesLogicalOr( in runOnFunction()
93 BC.MIB->getCondCode(*SecondJump), FirstCC)); in runOnFunction()
95 if (!BC.MIB->isValidCondCode(FirstCC) || in runOnFunction()
96 !BC.MIB->isValidCondCode(ThirdCC) || !BC.MIB->isValidCondCode(SecondCC)) in runOnFunction()
134 BC.MIB->replaceBranchCondition(*FirstJump, Blocks[2].first->getLabel(), in runOnFunction()
137 BC.MIB->replaceBranchCondition( in runOnFunction()
139 BC.MIB->getInvertedCondCode(Blocks[2].second)); in runOnFunction()
143 BC.MIB->replaceBranchCondition(*SecondJump, Blocks[0].first->getLabel(), in runOnFunction()
150 void ThreeWayBranch::runOnFunctions(BinaryContext &BC) { in runOnFunctions() argument
151 for (auto &It : BC.getBinaryFunctions()) { in runOnFunctions()