Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:Results

229       // The following calls must take care of *all* of the node's results,
230 // not just the illegal result they were passed (this includes results
231 // with a legal type). Results can be remapped using ReplaceValueWith,
282 // The following calls must either replace all of the node's results
333 "Node morphing changed the number of results!");
710 "Node morphing changed the number of results!");
895 /// CustomLowerNode - Replace the node's results with custom code provided
908 SmallVector<SDValue, 8> Results;
910 TLI.ReplaceNodeResults(N, Results, DAG);
912 TLI.LowerOperationWrapper(N, Results, DAG);
914 if (Results.empty())
918 // Make everything that once used N's values now use those in Results instead.
919 assert(Results.size() == N->getNumValues() &&
920 "Custom lowering returned the wrong number of results!");
921 for (unsigned i = 0, e = Results.size(); i != e; ++i)
922 ReplaceValueWith(SDValue(N, i), Results[i]);
927 /// CustomWidenLowerNode - Widen the node's results with custom code provided
934 SmallVector<SDValue, 8> Results;
935 TLI.ReplaceNodeResults(N, Results, DAG);
937 if (Results.empty())
942 assert(Results.size() == N->getNumValues() &&
943 "Custom lowering returned the wrong number of results!");
944 for (unsigned i = 0, e = Results.size(); i != e; ++i)
945 SetWidenedVector(SDValue(N, i), Results[i]);