Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Results

227       // The following calls must take care of *all* of the node's results,
228 // not just the illegal result they were passed (this includes results
229 // with a legal type). Results can be remapped using ReplaceValueWith,
278 // The following calls must either replace all of the node's results
329 "Node morphing changed the number of results!");
707 "Node morphing changed the number of results!");
896 /// CustomLowerNode - Replace the node's results with custom code provided
909 SmallVector<SDValue, 8> Results;
911 TLI.ReplaceNodeResults(N, Results, DAG);
913 TLI.LowerOperationWrapper(N, Results, DAG);
915 if (Results.empty())
919 // Make everything that once used N's values now use those in Results instead.
920 assert(Results.size() == N->getNumValues() &&
921 "Custom lowering returned the wrong number of results!");
922 for (unsigned i = 0, e = Results.size(); i != e; ++i)
923 ReplaceValueWith(SDValue(N, i), Results[i]);
928 /// CustomWidenLowerNode - Widen the node's results with custom code provided
935 SmallVector<SDValue, 8> Results;
936 TLI.ReplaceNodeResults(N, Results, DAG);
938 if (Results.empty())
943 assert(Results.size() == N->getNumValues() &&
944 "Custom lowering returned the wrong number of results!");
945 for (unsigned i = 0, e = Results.size(); i != e; ++i)
946 SetWidenedVector(SDValue(N, i), Results[i]);