reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstructionCombining.cpp
 2560   if (match(&BI, m_Br(m_Not(m_Value(X)), m_BasicBlock(), m_BasicBlock())) &&
 2563     BI.setCondition(X);
 2564     BI.swapSuccessors();
 2565     return &BI;
 2570   if (BI.isConditional() && !isa<ConstantInt>(BI.getCondition()) &&
 2570   if (BI.isConditional() && !isa<ConstantInt>(BI.getCondition()) &&
 2571       BI.getSuccessor(0) == BI.getSuccessor(1)) {
 2571       BI.getSuccessor(0) == BI.getSuccessor(1)) {
 2572     BI.setCondition(ConstantInt::getFalse(BI.getCondition()->getType()));
 2572     BI.setCondition(ConstantInt::getFalse(BI.getCondition()->getType()));
 2573     return &BI;
 2578   if (match(&BI, m_Br(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())),
 2582     CmpInst *Cond = cast<CmpInst>(BI.getCondition());
 2584     BI.swapSuccessors();
 2586     return &BI;