Lines Matching defs:VA
347 auto &VA = ArgLocs[I];
349 if (VA.isRegLoc()) {
351 EVT RegVT = VA.getLocVT();
366 RegInfo.addLiveIn(VA.getLocReg(), VReg);
371 if (VA.getLocInfo() == CCValAssign::SExt)
373 DAG.getValueType(VA.getValVT()));
374 else if (VA.getLocInfo() == CCValAssign::ZExt)
376 DAG.getValueType(VA.getValVT()));
378 if (VA.getLocInfo() != CCValAssign::Full)
379 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue);
386 if (VA.isMemLoc())
390 InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
455 CCValAssign &VA = ArgLocs[i];
459 switch (VA.getLocInfo()) {
461 report_fatal_error("unhandled location info: " + Twine(VA.getLocInfo()));
465 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg);
468 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg);
471 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg);
476 if (VA.isRegLoc())
477 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg));
562 CCValAssign &VA = RVLocs[i];
563 if (!VA.isRegLoc())
566 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue);
571 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT()));