Lines Matching refs:Chain

568     SDValue Chain, CallingConv::ID CallConv, bool isVarArg,  in LowerFormalArguments()  argument
577 return LowerCCCArguments(Chain, CallConv, isVarArg, Ins, dl, DAG, InVals); in LowerFormalArguments()
580 return Chain; in LowerFormalArguments()
593 SDValue Chain = CLI.Chain; in LowerCall() local
608 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall, in LowerCall()
619 SDValue Chain, CallingConv::ID CallConv, bool isVarArg, in LowerCCCArguments() argument
656 SDValue ArgValue = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerCCCArguments()
699 VA.getLocVT(), dl, Chain, FIN, in LowerCCCArguments()
716 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Copy, Chain); in LowerCCCArguments()
720 return Chain; in LowerCCCArguments()
735 MSP430TargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv, in LowerReturn() argument
758 SmallVector<SDValue, 4> RetOps(1, Chain); in LowerReturn()
765 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), in LowerReturn()
770 Glue = Chain.getValue(1); in LowerReturn()
783 DAG.getCopyFromReg(Chain, dl, Reg, PtrVT); in LowerReturn()
786 Chain = DAG.getCopyToReg(Chain, dl, R12, Val, Glue); in LowerReturn()
787 Glue = Chain.getValue(1); in LowerReturn()
794 RetOps[0] = Chain; // Update chain. in LowerReturn()
806 SDValue Chain, SDValue Callee, CallingConv::ID CallConv, bool isVarArg, in LowerCCCCallTo() argument
821 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, dl); in LowerCCCCallTo()
856 StackPtr = DAG.getCopyFromReg(Chain, dl, MSP430::SP, PtrVT); in LowerCCCCallTo()
867 MemOp = DAG.getMemcpy(Chain, dl, PtrOff, Arg, SizeNode, in LowerCCCCallTo()
874 MemOp = DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()); in LowerCCCCallTo()
884 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOpChains); in LowerCCCCallTo()
891 Chain = DAG.getCopyToReg(Chain, dl, RegsToPass[i].first, in LowerCCCCallTo()
893 InGlue = Chain.getValue(1); in LowerCCCCallTo()
907 Ops.push_back(Chain); in LowerCCCCallTo()
919 Chain = DAG.getNode(MSP430ISD::CALL, dl, NodeTys, Ops); in LowerCCCCallTo()
920 InGlue = Chain.getValue(1); in LowerCCCCallTo()
923 Chain = DAG.getCALLSEQ_END(Chain, NumBytes, 0, InGlue, dl); in LowerCCCCallTo()
924 InGlue = Chain.getValue(1); in LowerCCCCallTo()
928 return LowerCallResult(Chain, InGlue, CallConv, isVarArg, Ins, dl, in LowerCCCCallTo()
936 SDValue Chain, SDValue InGlue, CallingConv::ID CallConv, bool isVarArg, in LowerCallResult() argument
949 Chain = DAG.getCopyFromReg(Chain, dl, RVLocs[i].getLocReg(), in LowerCallResult()
951 InGlue = Chain.getValue(2); in LowerCallResult()
952 InVals.push_back(Chain.getValue(0)); in LowerCallResult()
955 return Chain; in LowerCallResult()
1129 SDValue Chain = Op.getOperand(0); in LowerBR_CC() local
1140 Chain, Dest, TargetCC, Flag); in LowerBR_CC()