Lines Matching defs:VA
4806 CCValAssign VA = PendingLocs[0];
4810 return CC_LoongArchAssign2GRLen(GRLen, State, VA, AF, ValNo, ValVT, LocVT,
4911 const CCValAssign &VA, const SDLoc &DL) {
4912 switch (VA.getLocInfo()) {
4919 if (VA.getLocVT() == MVT::i64 && VA.getValVT() == MVT::f32)
4922 Val = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), Val);
4929 const CCValAssign &VA, const SDLoc &DL,
4934 EVT LocVT = VA.getLocVT();
4938 RegInfo.addLiveIn(VA.getLocReg(), VReg);
4956 return convertLocVTToValVT(DAG, Val, VA, DL);
4962 const CCValAssign &VA, const SDLoc &DL) {
4965 EVT ValVT = VA.getValVT();
4966 int FI = MFI.CreateFixedObject(ValVT.getStoreSize(), VA.getLocMemOffset(),
4972 switch (VA.getLocInfo()) {
4982 ExtType, DL, VA.getLocVT(), Chain, FIN,
4987 const CCValAssign &VA, const SDLoc &DL) {
4988 EVT LocVT = VA.getLocVT();
4990 switch (VA.getLocInfo()) {
4996 if (VA.getLocVT() == MVT::i64 && VA.getValVT() == MVT::f32)
5084 CCValAssign &VA = ArgLocs[i];
5086 if (VA.isRegLoc())
5087 ArgValue = unpackFromRegLoc(DAG, Chain, VA, DL, Ins[i], *this);
5089 ArgValue = unpackFromMemLoc(DAG, Chain, VA, DL);
5090 if (VA.getLocInfo() == CCValAssign::Indirect) {
5093 InVals.push_back(DAG.getLoad(VA.getValVT(), DL, Chain, ArgValue,
5230 for (auto &VA : ArgLocs)
5231 if (VA.getLocInfo() == CCValAssign::Indirect)
5335 CCValAssign &VA = ArgLocs[i];
5341 if (VA.getLocInfo() == CCValAssign::Indirect) {
5383 ArgValue = convertValVTToLocVT(DAG, ArgValue, VA, DL);
5390 if (VA.isRegLoc()) {
5392 RegsToPass.push_back(std::make_pair(VA.getLocReg(), ArgValue));
5394 assert(VA.isMemLoc() && "Argument not register or memory");
5403 DAG.getIntPtrConstant(VA.getLocMemOffset(), DL));
5501 for (auto &VA : RVLocs) {
5504 DAG.getCopyFromReg(Chain, DL, VA.getLocReg(), VA.getLocVT(), Glue);
5509 RetValue = convertLocVTToValVT(DAG, RetValue, VA, DL);
5555 CCValAssign &VA = RVLocs[i];
5556 assert(VA.isRegLoc() && "Can only return in registers!");
5559 SDValue Val = convertValVTToLocVT(DAG, OutVals[i], VA, DL);
5560 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Val, Glue);
5564 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT()));