Lines Matching refs:NewNode
287 CfgNode *NewNode = Func->makeNode(); in splitIncomingEdge() local
291 NewNode->setLoopNestDepth( in splitIncomingEdge()
294 NewNode->setName("split_" + Pred->getName() + "_" + getName() + "_" + in splitIncomingEdge()
298 NewNode->setNeedsPlacement(true); in splitIncomingEdge()
303 I = NewNode; in splitIncomingEdge()
304 NewNode->InEdges.push_back(Pred); in splitIncomingEdge()
315 I = NewNode; in splitIncomingEdge()
316 NewNode->OutEdges.push_back(this); in splitIncomingEdge()
326 if (!I.isDeleted() && I.repointEdges(this, NewNode)) in splitIncomingEdge()
330 return NewNode; in splitIncomingEdge()
1579 auto *NewNode = Func->makeNode(); in shortCircuit() local
1580 NewNode->setLoopNestDepth(getLoopNestDepth()); in shortCircuit()
1584 NewNode->getInsts().splice(NewNode->getInsts().begin(), getInsts(), It, in shortCircuit()
1588 NewNode->setName(getName().append("_2")); in shortCircuit()
1593 NewNode->addInEdge(this); in shortCircuit()
1595 NewNode->addOutEdge(Out); in shortCircuit()
1596 Out->addInEdge(NewNode); in shortCircuit()
1599 addOutEdge(NewNode); in shortCircuit()
1602 for (auto *Succ : NewNode->getOutEdges()) { in shortCircuit()
1607 Phi->addArgument(Phi->getSrc(i), NewNode); in shortCircuit()
1619 InstBr::create(Func, FirstOperandDef->getDest(), JumpOnTrue, NewNode); in shortCircuit()
1624 InstBr::create(Func, FirstOperandDef->getDest(), NewNode, JumpOnFalse); in shortCircuit()
1643 return NewNode; in shortCircuit()