Lines Matching defs:VA
5032 CCValAssign VA = PendingLocs[0];
5036 return CC_LoongArchAssign2GRLen(GRLen, State, VA, AF, ValNo, ValVT, LocVT,
5137 const CCValAssign &VA, const SDLoc &DL) {
5138 switch (VA.getLocInfo()) {
5145 if (VA.getLocVT() == MVT::i64 && VA.getValVT() == MVT::f32)
5148 Val = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), Val);
5155 const CCValAssign &VA, const SDLoc &DL,
5160 EVT LocVT = VA.getLocVT();
5164 RegInfo.addLiveIn(VA.getLocReg(), VReg);
5182 return convertLocVTToValVT(DAG, Val, VA, DL);
5188 const CCValAssign &VA, const SDLoc &DL) {
5191 EVT ValVT = VA.getValVT();
5192 int FI = MFI.CreateFixedObject(ValVT.getStoreSize(), VA.getLocMemOffset(),
5198 switch (VA.getLocInfo()) {
5208 ExtType, DL, VA.getLocVT(), Chain, FIN,
5213 const CCValAssign &VA, const SDLoc &DL) {
5214 EVT LocVT = VA.getLocVT();
5216 switch (VA.getLocInfo()) {
5222 if (VA.getLocVT() == MVT::i64 && VA.getValVT() == MVT::f32)
5310 CCValAssign &VA = ArgLocs[i];
5312 if (VA.isRegLoc())
5313 ArgValue = unpackFromRegLoc(DAG, Chain, VA, DL, Ins[i], *this);
5315 ArgValue = unpackFromMemLoc(DAG, Chain, VA, DL);
5316 if (VA.getLocInfo() == CCValAssign::Indirect) {
5319 InVals.push_back(DAG.getLoad(VA.getValVT(), DL, Chain, ArgValue,
5456 for (auto &VA : ArgLocs)
5457 if (VA.getLocInfo() == CCValAssign::Indirect)
5561 CCValAssign &VA = ArgLocs[i];
5567 if (VA.getLocInfo() == CCValAssign::Indirect) {
5609 ArgValue = convertValVTToLocVT(DAG, ArgValue, VA, DL);
5616 if (VA.isRegLoc()) {
5618 RegsToPass.push_back(std::make_pair(VA.getLocReg(), ArgValue));
5620 assert(VA.isMemLoc() && "Argument not register or memory");
5629 DAG.getIntPtrConstant(VA.getLocMemOffset(), DL));
5727 for (auto &VA : RVLocs) {
5730 DAG.getCopyFromReg(Chain, DL, VA.getLocReg(), VA.getLocVT(), Glue);
5735 RetValue = convertLocVTToValVT(DAG, RetValue, VA, DL);
5782 CCValAssign &VA = RVLocs[i];
5783 assert(VA.isRegLoc() && "Can only return in registers!");
5786 SDValue Val = convertValVTToLocVT(DAG, OutVals[i], VA, DL);
5787 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Val, Glue);
5791 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT()));