Lines Matching full:glue
165 static bool AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) {
166 SDNode *GlueDestNode = Glue.getNode();
168 // Don't add glue from a node to itself.
171 // Don't add a glue operand to something that already uses glue.
173 N->getOperand(N->getNumOperands()-1).getValueType() == MVT::Glue) {
176 // Don't add glue to something that already has a glue value.
177 if (N->getValueType(N->getNumValues() - 1) == MVT::Glue) return false;
181 VTs.push_back(MVT::Glue);
183 CloneNodeWithValues(N, DAG, VTs, Glue);
191 assert((N->getValueType(N->getNumValues() - 1) == MVT::Glue &&
193 "expected an unused glue value");
201 /// offsets are not far apart (target specific), it add MVT::Glue inputs and
214 // added glue may introduce a cycle.
290 // Cluster loads by adding MVT::Glue outputs and inputs. This also
300 // If AddGlue fails, we could leave an unsused glue value. This should not
370 // nodes. Nodes can have at most one glue input and one glue output. Glue
376 N->getOperand(N->getNumOperands()-1).getValueType() == MVT::Glue) {
386 while (N->getValueType(N->getNumValues()-1) == MVT::Glue) {
389 // There are either zero or one users of the Glue result.
413 // If there are glue operands involved, N is now the bottom-most node
487 assert(OpVT != MVT::Glue && "Glued nodes should be in same sunit!");