Lines Matching defs:ValVT
1981 static bool CC_MipsO32(unsigned ValNo, MVT ValVT,
1999 State.HandleByVal(ValNo, ValVT, LocVT, LocInfo,
2027 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8);
2029 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) {
2036 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) {
2044 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) {
2046 if (ValVT == MVT::f32) {
2059 llvm_unreachable("Cannot handle this ValVT.");
2061 unsigned SizeInBytes = ValVT.getSizeInBits() >> 3;
2065 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
2067 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));
2079 static bool CC_Mips64Byval(unsigned ValNo, MVT ValVT, MVT LocVT,
2102 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Mips64IntRegs[FirstIdx],
2105 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
2418 MVT ValVT = VA.getValVT(), LocVT = VA.getLocVT();
2441 if ((ValVT == MVT::f32 && LocVT == MVT::i32) ||
2442 (ValVT == MVT::f64 && LocVT == MVT::i64))
2444 else if (ValVT == MVT::f64 && LocVT == MVT::i32) {
2481 LastFI = MFI->CreateFixedObject(ValVT.getSizeInBits()/8,
2753 EVT ValVT = VA.getValVT();
2808 DAG.getValueType(ValVT));
2809 ArgValue = DAG.getNode(ISD::TRUNCATE, dl, ValVT, ArgValue);
2813 if ((RegVT == MVT::i32 && ValVT == MVT::f32) ||
2814 (RegVT == MVT::i64 && ValVT == MVT::f64))
2815 ArgValue = DAG.getNode(ISD::BITCAST, dl, ValVT, ArgValue);
2816 else if (IsO32 && RegVT == MVT::i32 && ValVT == MVT::f64) {
2833 LastFI = MFI->CreateFixedObject(ValVT.getSizeInBits()/8,
2838 InVals.push_back(DAG.getLoad(ValVT, dl, Chain, FIN,