Lines Matching refs:Root
25 SDNode *Root; variable
28 EmptyMatchContext(SelectionDAG &DAG, const TargetLowering &TLI, SDNode *Root) in EmptyMatchContext() argument
29 : DAG(DAG), TLI(TLI), Root(Root) {} in EmptyMatchContext()
31 unsigned getRootBaseOpcode() { return Root->getOpcode(); } in getRootBaseOpcode()
56 SDNode *Root; variable
61 Root = _Root; in VPMatchContext()
62 assert(Root->isVPOpcode()); in VPMatchContext()
63 if (auto RootMaskPos = ISD::getVPMaskIdx(Root->getOpcode())) in VPMatchContext()
64 RootMaskOp = Root->getOperand(*RootMaskPos); in VPMatchContext()
65 else if (Root->getOpcode() == ISD::VP_SELECT) in VPMatchContext()
66 RootMaskOp = DAG.getAllOnesConstant(SDLoc(Root), in VPMatchContext()
67 Root->getOperand(0).getValueType()); in VPMatchContext()
69 if (auto RootVLenPos = ISD::getVPExplicitVectorLengthIdx(Root->getOpcode())) in VPMatchContext()
70 RootVectorLenOp = Root->getOperand(*RootVLenPos); in VPMatchContext()
75 Root->getOpcode(), !Root->getFlags().hasNoFPExcept()); in getRootBaseOpcode()