void addExtraParent(ConditionalContextInfo * nextParent, bool noteManyUnconditionalParents) { hasSharedParent = true; //We only care about parents of conditional expressions if (!isUnconditional() || noteManyUnconditionalParents || canSurroundWithAlias(original)) { extraParents.append(nextParent); } }
void InstBr::dump(const Cfg *Func) const { Ostream &Str = Func->getContext()->getStrDump(); dumpDest(Func); Str << "br "; if (!isUnconditional()) { Str << "i1 "; getCondition()->dump(Func); Str << ", label %" << getTargetTrue()->getName() << ", "; } Str << "label %" << getTargetFalse()->getName(); }