Lines Matching defs:CCValAssign

18949 static bool CC_RISCVAssign2XLen(unsigned XLen, CCState &State, CCValAssign VA1,
18960 State.addLoc(CCValAssign::getReg(VA1.getValNo(), VA1.getValVT(), Reg,
18961 VA1.getLocVT(), CCValAssign::Full));
18970 CCValAssign::getMem(VA1.getValNo(), VA1.getValVT(),
18972 VA1.getLocVT(), CCValAssign::Full));
18973 State.addLoc(CCValAssign::getMem(
18975 LocVT2, CCValAssign::Full));
18982 CCValAssign::getReg(ValNo2, ValVT2, Reg, LocVT2, CCValAssign::Full));
18985 State.addLoc(CCValAssign::getMem(
18987 LocVT2, CCValAssign::Full));
18995 MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo,
19007 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19056 LocInfo = CCValAssign::BCvt;
19059 LocInfo = CCValAssign::BCvt;
19084 SmallVectorImpl<CCValAssign> &PendingLocs = State.getPendingLocs();
19103 CCValAssign::getMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
19107 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19111 CCValAssign::getCustomReg(ValNo, ValVT, HiReg, LocVT, LocInfo));
19115 CCValAssign::getCustomMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
19130 LocInfo = CCValAssign::Indirect;
19132 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo));
19146 CCValAssign VA = PendingLocs[0];
19178 LocInfo = CCValAssign::Indirect;
19181 LocInfo = CCValAssign::Indirect;
19221 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19227 if (ValVT.isFloatingPoint() && LocInfo != CCValAssign::Indirect) {
19230 LocInfo = CCValAssign::Full;
19232 State.addLoc(CCValAssign::getMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
19274 if (Fn(MF.getDataLayout(), ABI, i, ArgVT, ArgVT, CCValAssign::Full,
19304 if (Fn(MF.getDataLayout(), ABI, i, ArgVT, ArgVT, CCValAssign::Full,
19314 // Convert Val to a ValVT. Should not be called for CCValAssign::Indirect
19317 const CCValAssign &VA, const SDLoc &DL,
19321 llvm_unreachable("Unexpected CCValAssign::LocInfo");
19322 case CCValAssign::Full:
19326 case CCValAssign::BCvt:
19346 // passed with CCValAssign::Indirect.
19348 const CCValAssign &VA, const SDLoc &DL,
19374 if (VA.getLocInfo() == CCValAssign::Indirect)
19381 const CCValAssign &VA, const SDLoc &DL,
19387 llvm_unreachable("Unexpected CCValAssign::LocInfo");
19388 case CCValAssign::Full:
19392 case CCValAssign::BCvt:
19412 // passed with CCValAssign::Indirect.
19414 const CCValAssign &VA, const SDLoc &DL) {
19434 llvm_unreachable("Unexpected CCValAssign::LocInfo");
19435 case CCValAssign::Full:
19436 case CCValAssign::Indirect:
19437 case CCValAssign::BCvt:
19448 const CCValAssign &VA,
19449 const CCValAssign &HiVA,
19483 CCValAssign::LocInfo LocInfo,
19490 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19505 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19517 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19529 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19541 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19548 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset2, LocVT, LocInfo));
19554 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset4, LocVT, LocInfo));
19560 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset5, LocVT, LocInfo));
19572 CCValAssign::getReg(ValNo, ValVT, AllocatedVReg, LocVT, LocInfo));
19576 LocInfo = CCValAssign::Indirect;
19578 State.addLoc(CCValAssign::getReg(ValNo, ValVT, GPRReg, LocVT, LocInfo));
19585 CCValAssign::getMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
19599 CCValAssign::LocInfo LocInfo,
19614 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19629 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19641 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19650 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
19705 SmallVector<CCValAssign, 16> ArgLocs;
19716 CCValAssign &VA = ArgLocs[i];
19728 if (VA.getLocInfo() == CCValAssign::Indirect) {
19740 CCValAssign &PartVA = ArgLocs[i + 1];
19757 [](CCValAssign &VA) { return VA.getLocVT().isScalableVector(); }))
19829 const SmallVector<CCValAssign, 16> &ArgLocs) const {
19854 // != 0 check is not enough and we need to check if any CCValAssign ArgsLocs
19855 // are passed CCValAssign::Indirect.
19857 if (VA.getLocInfo() == CCValAssign::Indirect)
19911 SmallVector<CCValAssign, 16> ArgLocs;
19968 CCValAssign &VA = ArgLocs[i];
19984 // Get the CCValAssign for the Hi part.
19985 CCValAssign &HiVA = ArgLocs[++i];
20007 if (VA.getLocInfo() == CCValAssign::Indirect) {
20162 SmallVector<CCValAssign, 16> RVLocs;
20197 SmallVector<CCValAssign, 16> RVLocs;
20206 if (RISCV::CC_RISCV(MF.getDataLayout(), ABI, i, VT, VT, CCValAssign::Full,
20224 SmallVector<CCValAssign, 16> RVLocs;
20242 CCValAssign &VA = RVLocs[i];
20292 [](CCValAssign &VA) { return VA.getLocVT().isScalableVector(); }))