reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/Sparc/SparcISelLowering.cpp
  735   CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs,
  736                  *DAG.getContext());
  745   MachineFrameInfo &MFI = DAG.getMachineFunction().getFrameInfo();
  760       SDValue FIPtr = DAG.getFrameIndex(FI, getPointerTy(DAG.getDataLayout()));
  760       SDValue FIPtr = DAG.getFrameIndex(FI, getPointerTy(DAG.getDataLayout()));
  761       SDValue SizeNode = DAG.getConstant(Size, dl, MVT::i32);
  763       Chain = DAG.getMemcpy(Chain, dl, FIPtr, Arg, SizeNode, Align,
  776   Chain = DAG.getCALLSEQ_START(Chain, ArgsSize, 0, dl);
  806       Arg = DAG.getNode(ISD::SIGN_EXTEND, dl, VA.getLocVT(), Arg);
  809       Arg = DAG.getNode(ISD::ZERO_EXTEND, dl, VA.getLocVT(), Arg);
  812       Arg = DAG.getNode(ISD::ANY_EXTEND, dl, VA.getLocVT(), Arg);
  815       Arg = DAG.getNode(ISD::BITCAST, dl, VA.getLocVT(), Arg);
  822       SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32);
  823       SDValue PtrOff = DAG.getIntPtrConstant(64, dl);
  824       PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  826           DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()));
  832       SRetArgSize = DAG.getDataLayout().getTypeAllocSize(ElementTy);
  843           SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32);
  844           SDValue PtrOff = DAG.getIntPtrConstant(Offset, dl);
  845           PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  847               DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()));
  856           Arg = bitcastConstantFPToInt(C, dl, DAG);
  858           Arg = DAG.getNode(ISD::BITCAST, dl, MVT::v2i32, Arg);
  861       SDValue Part0 = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i32,
  863                                   DAG.getConstant(0, dl, getVectorIdxTy(DAG.getDataLayout())));
  863                                   DAG.getConstant(0, dl, getVectorIdxTy(DAG.getDataLayout())));
  864       SDValue Part1 = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i32,
  866                                   DAG.getConstant(1, dl, getVectorIdxTy(DAG.getDataLayout())));
  866                                   DAG.getConstant(1, dl, getVectorIdxTy(DAG.getDataLayout())));
  877           SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32);
  878           SDValue PtrOff = DAG.getIntPtrConstant(Offset, dl);
  879           PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  881               DAG.getStore(Chain, dl, Part1, PtrOff, MachinePointerInfo()));
  886         SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32);
  887         SDValue PtrOff = DAG.getIntPtrConstant(Offset, dl);
  888         PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  890             DAG.getStore(Chain, dl, Part0, PtrOff, MachinePointerInfo()));
  892         PtrOff = DAG.getIntPtrConstant(Offset + 4, dl);
  893         PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  895             DAG.getStore(Chain, dl, Part1, PtrOff, MachinePointerInfo()));
  907       Arg = DAG.getNode(ISD::BITCAST, dl, MVT::i32, Arg);
  915     SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32);
  916     SDValue PtrOff = DAG.getIntPtrConstant(VA.getLocMemOffset() + StackOffset,
  918     PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff);
  920         DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()));
  926     Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOpChains);
  935     Chain = DAG.getCopyToReg(Chain, dl, Reg, RegsToPass[i].second, InFlag);
  939   bool hasReturnsTwice = hasReturnsTwiceAttr(DAG, Callee, CLI.CS);
  946     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, MVT::i32, 0, TF);
  948     Callee = DAG.getTargetExternalSymbol(E->getSymbol(), MVT::i32, TF);
  951   SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue);
  956     Ops.push_back(DAG.getTargetConstant(SRetArgSize, dl, MVT::i32));
  958     Ops.push_back(DAG.getRegister(toCallerWindow(RegsToPass[i].first),
  966            : TRI->getCallPreservedMask(DAG.getMachineFunction(), CallConv));
  968   Ops.push_back(DAG.getRegisterMask(Mask));
  973   Chain = DAG.getNode(SPISD::CALL, dl, NodeTys, Ops);
  976   Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(ArgsSize, dl, true),
  976   Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(ArgsSize, dl, true),
  977                              DAG.getIntPtrConstant(0, dl, true), InFlag, dl);
  982   CCState RVInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs,
  983                  *DAG.getContext());
  990       SDValue Vec = DAG.getNode(ISD::UNDEF, dl, MVT::v2i32);
  991       SDValue Lo = DAG.getCopyFromReg(
  995       Vec = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v2i32, Vec, Lo,
  996                         DAG.getConstant(0, dl, MVT::i32));
  997       SDValue Hi = DAG.getCopyFromReg(
 1001       Vec = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v2i32, Vec, Hi,
 1002                         DAG.getConstant(1, dl, MVT::i32));
 1006           DAG.getCopyFromReg(Chain, dl, toCallerWindow(RVLocs[i].getLocReg()),