Lines Matching defs:VA
346 auto &VA = ArgLocs[I];
348 if (VA.isRegLoc()) {
350 EVT RegVT = VA.getLocVT();
365 RegInfo.addLiveIn(VA.getLocReg(), VReg);
370 if (VA.getLocInfo() == CCValAssign::SExt)
372 DAG.getValueType(VA.getValVT()));
373 else if (VA.getLocInfo() == CCValAssign::ZExt)
375 DAG.getValueType(VA.getValVT()));
377 if (VA.getLocInfo() != CCValAssign::Full)
378 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue);
385 if (VA.isMemLoc())
389 InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
469 CCValAssign &VA = ArgLocs[i];
473 switch (VA.getLocInfo()) {
475 report_fatal_error("unhandled location info: " + Twine(VA.getLocInfo()));
479 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg);
482 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg);
485 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg);
490 if (VA.isRegLoc())
491 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg));
592 CCValAssign &VA = RVLocs[i];
593 if (!VA.isRegLoc())
596 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue);
601 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT()));