Lines Matching refs:Chain
48 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemset() argument
88 CLI.setDebugLoc(dl).setChain(Chain) in EmitTargetCodeForMemset()
143 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT), in EmitTargetCodeForMemset()
145 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
149 Chain = DAG.getCopyToReg(Chain, dl, X86::AL, Src, InFlag); in EmitTargetCodeForMemset()
150 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
153 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
155 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
156 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemset()
158 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
161 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemset()
162 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
165 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
171 Chain = DAG.getCopyToReg(Chain, dl, (CVT == MVT::i64) ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
173 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
175 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag }; in EmitTargetCodeForMemset()
176 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
183 Chain = DAG.getMemset(Chain, dl, in EmitTargetCodeForMemset()
193 return Chain; in EmitTargetCodeForMemset()
197 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
247 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemcpy()
249 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
250 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RDI : X86::EDI, in EmitTargetCodeForMemcpy()
252 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
253 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RSI : X86::ESI, in EmitTargetCodeForMemcpy()
255 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
258 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemcpy()
269 Results.push_back(DAG.getMemcpy(Chain, dl, in EmitTargetCodeForMemcpy()