SDValue Table = DAG.getJumpTable(JT.JTI, PTy);
DAG.setRoot(DAG.getNode(ISD::BR_JT, MVT::Other, Index.getValue(1),
Table, Index));
- return;
}
/// visitJumpTableHeader - This function emits necessary code to produce index
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, BrCond,
DAG.getBasicBlock(JT.MBB)));
-
- return;
}
/// visitBitTestHeader - This function emits necessary code to produce value
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, CopyTo,
DAG.getBasicBlock(MBB)));
-
- return;
}
/// visitBitTestCase - this function produces one "bit test"
else
DAG.setRoot(DAG.getNode(ISD::BR, MVT::Other, BrAnd,
DAG.getBasicBlock(NextMBB)));
-
- return;
}
void SelectionDAGLowering::visitInvoke(InvokeInst &I) {