Home
last modified time | relevance | path

Searched refs:FixupNode (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4984 SDNode *FixupNode = nullptr; in BackwardsPropagateMask() local
4985 if (SearchForAndLoads(N, Loads, NodesWithConsts, Mask, FixupNode)) { in BackwardsPropagateMask()
4994 if (FixupNode) { in BackwardsPropagateMask()
4995 LLVM_DEBUG(dbgs() << "First, need to fix up: "; FixupNode->dump()); in BackwardsPropagateMask()
4996 SDValue And = DAG.getNode(ISD::AND, SDLoc(FixupNode), in BackwardsPropagateMask()
4997 FixupNode->getValueType(0), in BackwardsPropagateMask()
4998 SDValue(FixupNode, 0), MaskOp); in BackwardsPropagateMask()
4999 DAG.ReplaceAllUsesOfValueWith(SDValue(FixupNode, 0), And); in BackwardsPropagateMask()
5001 DAG.UpdateNodeOperands(And.getNode(), SDValue(FixupNode, 0), MaskOp); in BackwardsPropagateMask()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5269 SDNode *FixupNode = nullptr; in BackwardsPropagateMask() local
5270 if (SearchForAndLoads(N, Loads, NodesWithConsts, Mask, FixupNode)) { in BackwardsPropagateMask()
5279 if (FixupNode) { in BackwardsPropagateMask()
5280 LLVM_DEBUG(dbgs() << "First, need to fix up: "; FixupNode->dump()); in BackwardsPropagateMask()
5281 SDValue And = DAG.getNode(ISD::AND, SDLoc(FixupNode), in BackwardsPropagateMask()
5282 FixupNode->getValueType(0), in BackwardsPropagateMask()
5283 SDValue(FixupNode, 0), MaskOp); in BackwardsPropagateMask()
5284 DAG.ReplaceAllUsesOfValueWith(SDValue(FixupNode, 0), And); in BackwardsPropagateMask()
5286 DAG.UpdateNodeOperands(And.getNode(), SDValue(FixupNode, 0), MaskOp); in BackwardsPropagateMask()