Lines Matching defs:VA
302 CCValAssign &VA = ArgLocs[i];
306 switch (VA.getLocInfo()) {
312 Arg = DAG.getNode(ISD::SIGN_EXTEND, dl, VA.getLocVT(), Arg);
315 Arg = DAG.getNode(ISD::ZERO_EXTEND, dl, VA.getLocVT(), Arg);
318 Arg = DAG.getNode(ISD::ANY_EXTEND, dl, VA.getLocVT(), Arg);
324 if (VA.isRegLoc()) {
325 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg));
327 assert(VA.isMemLoc() && "Must be register or memory argument.");
332 SDValue SOffset = DAG.getIntPtrConstant(VA.getLocMemOffset(), dl);
415 const CCValAssign &VA = RVLocs[i];
416 if (VA.isRegLoc()) {
419 DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), VA.getValVT(), Glue);
424 assert(VA.isMemLoc() && "Must be memory location.");
426 std::make_pair(VA.getLocMemOffset(), InVals.size()));
518 CCValAssign &VA = ArgLocs[i];
521 if (VA.isRegLoc()) {
523 EVT RegVT = VA.getLocVT();
532 RegInfo.addLiveIn(VA.getLocReg(), VReg);
538 assert(VA.isMemLoc());
540 unsigned ObjSize = VA.getLocVT().getStoreSize();
544 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true);
549 ArgIn = DAG.getLoad(VA.getLocVT(), dl, Chain, FIN,
672 CCValAssign &VA = RVLocs[i];
673 if (VA.isRegLoc())
675 assert(VA.isMemLoc());
680 int Offset = VA.getLocMemOffset();
681 unsigned ObjSize = VA.getLocVT().getStoreSize();
700 CCValAssign &VA = RVLocs[i];
701 if (!VA.isRegLoc())
704 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Glue);
709 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT()));