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

References

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2313   SDValue CondLHS = getValue(CB.CmpLHS);
 2314   SDLoc dl = CB.DL;
 2316   if (CB.CC == ISD::SETTRUE) {
 2318     addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb);
 2318     addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb);
 2320     if (CB.TrueBB != NextBlock(SwitchBB)) {
 2322                               DAG.getBasicBlock(CB.TrueBB)));
 2328   EVT MemVT = TLI.getMemValueType(DAG.getDataLayout(), CB.CmpLHS->getType());
 2331   if (!CB.CmpMHS) {
 2334     if (CB.CmpRHS == ConstantInt::getTrue(*DAG.getContext()) &&
 2335         CB.CC == ISD::SETEQ)
 2337     else if (CB.CmpRHS == ConstantInt::getFalse(*DAG.getContext()) &&
 2338              CB.CC == ISD::SETEQ) {
 2342       SDValue CondRHS = getValue(CB.CmpRHS);
 2351       Cond = DAG.getSetCC(dl, MVT::i1, CondLHS, CondRHS, CB.CC);
 2354     assert(CB.CC == ISD::SETLE && "Can handle only LE ranges now");
 2356     const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue();
 2357     const APInt& High = cast<ConstantInt>(CB.CmpRHS)->getValue();
 2359     SDValue CmpOp = getValue(CB.CmpMHS);
 2362     if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) {
 2374   addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb);
 2374   addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb);
 2377   if (CB.TrueBB != CB.FalseBB)
 2377   if (CB.TrueBB != CB.FalseBB)
 2378     addSuccessorWithProb(SwitchBB, CB.FalseBB, CB.FalseProb);
 2378     addSuccessorWithProb(SwitchBB, CB.FalseBB, CB.FalseProb);
 2383   if (CB.TrueBB == NextBlock(SwitchBB)) {
 2384     std::swap(CB.TrueBB, CB.FalseBB);
 2384     std::swap(CB.TrueBB, CB.FalseBB);
 2391                                DAG.getBasicBlock(CB.TrueBB));
 2397                        DAG.getBasicBlock(CB.FalseBB));