Lines Matching refs:LocVT
106 MVT LocVT, CCValAssign::LocInfo LocInfo,
111 MVT LocVT, CCValAssign::LocInfo LocInfo,
116 MVT LocVT, CCValAssign::LocInfo LocInfo,
121 MVT LocVT, CCValAssign::LocInfo LocInfo,
126 MVT LocVT, CCValAssign::LocInfo LocInfo,
131 MVT LocVT, CCValAssign::LocInfo LocInfo,
136 MVT LocVT, CCValAssign::LocInfo LocInfo,
141 MVT LocVT, CCValAssign::LocInfo LocInfo,
146 MVT LocVT, CCValAssign::LocInfo LocInfo, in CC_Hexagon_VarArg() argument
152 return CC_Hexagon(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State); in CC_Hexagon_VarArg()
162 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
165 if (LocVT == MVT::i1 || LocVT == MVT::i8 || LocVT == MVT::i16) { in CC_Hexagon_VarArg()
166 LocVT = MVT::i32; in CC_Hexagon_VarArg()
175 if (LocVT == MVT::i32 || LocVT == MVT::f32) { in CC_Hexagon_VarArg()
177 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
180 if (LocVT == MVT::i64 || LocVT == MVT::f64) { in CC_Hexagon_VarArg()
182 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
185 if (LocVT == MVT::v2i64 || LocVT == MVT::v4i32 || LocVT == MVT::v8i16 || in CC_Hexagon_VarArg()
186 LocVT == MVT::v16i8) { in CC_Hexagon_VarArg()
188 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
191 if (LocVT == MVT::v4i64 || LocVT == MVT::v8i32 || LocVT == MVT::v16i16 || in CC_Hexagon_VarArg()
192 LocVT == MVT::v32i8) { in CC_Hexagon_VarArg()
194 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
197 if (LocVT == MVT::v8i64 || LocVT == MVT::v16i32 || LocVT == MVT::v32i16 || in CC_Hexagon_VarArg()
198 LocVT == MVT::v64i8 || LocVT == MVT::v512i1) { in CC_Hexagon_VarArg()
200 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
203 if (LocVT == MVT::v16i64 || LocVT == MVT::v32i32 || LocVT == MVT::v64i16 || in CC_Hexagon_VarArg()
204 LocVT == MVT::v128i8 || LocVT == MVT::v1024i1) { in CC_Hexagon_VarArg()
206 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
209 if (LocVT == MVT::v32i64 || LocVT == MVT::v64i32 || LocVT == MVT::v128i16 || in CC_Hexagon_VarArg()
210 LocVT == MVT::v256i8) { in CC_Hexagon_VarArg()
212 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
220 static bool CC_Hexagon (unsigned ValNo, MVT ValVT, MVT LocVT, in CC_Hexagon() argument
226 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Hexagon()
230 if (LocVT == MVT::i1 || LocVT == MVT::i8 || LocVT == MVT::i16) { in CC_Hexagon()
231 LocVT = MVT::i32; in CC_Hexagon()
239 } else if (LocVT == MVT::v4i8 || LocVT == MVT::v2i16) { in CC_Hexagon()
240 LocVT = MVT::i32; in CC_Hexagon()
242 } else if (LocVT == MVT::v8i8 || LocVT == MVT::v4i16 || LocVT == MVT::v2i32) { in CC_Hexagon()
243 LocVT = MVT::i64; in CC_Hexagon()
247 if (LocVT == MVT::i32 || LocVT == MVT::f32) { in CC_Hexagon()
248 if (!CC_Hexagon32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in CC_Hexagon()
252 if (LocVT == MVT::i64 || LocVT == MVT::f64) { in CC_Hexagon()
253 if (!CC_Hexagon64(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in CC_Hexagon()
257 if (LocVT == MVT::v8i32 || LocVT == MVT::v16i16 || LocVT == MVT::v32i8) { in CC_Hexagon()
259 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Hexagon()
263 if (IsHvxVectorType(LocVT)) { in CC_Hexagon()
264 if (!CC_HexagonVector(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in CC_Hexagon()
273 MVT LocVT, CCValAssign::LocInfo LocInfo, in CC_Hexagon32() argument
281 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Hexagon32()
286 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Hexagon32()
291 MVT LocVT, CCValAssign::LocInfo LocInfo, in CC_Hexagon64() argument
295 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Hexagon64()
306 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Hexagon64()
311 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Hexagon64()
316 MVT LocVT, CCValAssign::LocInfo LocInfo, in CC_HexagonVector() argument
337 (LocVT == MVT::v8i64 || LocVT == MVT::v16i32 || LocVT == MVT::v32i16 || in CC_HexagonVector()
338 LocVT == MVT::v64i8 || LocVT == MVT::v512i1)) { in CC_HexagonVector()
340 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_HexagonVector()
344 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_HexagonVector()
348 (LocVT == MVT::v16i64 || LocVT == MVT::v32i32 || LocVT == MVT::v64i16 || in CC_HexagonVector()
349 LocVT == MVT::v128i8)) { in CC_HexagonVector()
351 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_HexagonVector()
355 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_HexagonVector()
360 (LocVT == MVT::v32i64 || LocVT == MVT::v64i32 || LocVT == MVT::v128i16 || in CC_HexagonVector()
361 LocVT == MVT::v256i8)) { in CC_HexagonVector()
363 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_HexagonVector()
367 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_HexagonVector()
371 (LocVT == MVT::v16i64 || LocVT == MVT::v32i32 || LocVT == MVT::v64i16 || in CC_HexagonVector()
372 LocVT == MVT::v128i8 || LocVT == MVT::v1024i1)) { in CC_HexagonVector()
374 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_HexagonVector()
378 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_HexagonVector()
385 MVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_Hexagon() argument
392 if (LocVT == MVT::i1) { in RetCC_Hexagon()
396 LocVT = MVT::i32; in RetCC_Hexagon()
397 } else if (LocVT == MVT::i8 || LocVT == MVT::i16) { in RetCC_Hexagon()
398 LocVT = MVT::i32; in RetCC_Hexagon()
406 } else if (LocVT == MVT::v4i8 || LocVT == MVT::v2i16) { in RetCC_Hexagon()
407 LocVT = MVT::i32; in RetCC_Hexagon()
409 } else if (LocVT == MVT::v8i8 || LocVT == MVT::v4i16 || LocVT == MVT::v2i32) { in RetCC_Hexagon()
410 LocVT = MVT::i64; in RetCC_Hexagon()
412 } else if (LocVT == MVT::v64i8 || LocVT == MVT::v32i16 || in RetCC_Hexagon()
413 LocVT == MVT::v16i32 || LocVT == MVT::v8i64 || in RetCC_Hexagon()
414 LocVT == MVT::v512i1) { in RetCC_Hexagon()
415 LocVT = MVT::v16i32; in RetCC_Hexagon()
418 } else if (LocVT == MVT::v128i8 || LocVT == MVT::v64i16 || in RetCC_Hexagon()
419 LocVT == MVT::v32i32 || LocVT == MVT::v16i64 || in RetCC_Hexagon()
420 (LocVT == MVT::v1024i1 && UseHVX && UseHVXDbl)) { in RetCC_Hexagon()
421 LocVT = MVT::v32i32; in RetCC_Hexagon()
424 } else if (LocVT == MVT::v256i8 || LocVT == MVT::v128i16 || in RetCC_Hexagon()
425 LocVT == MVT::v64i32 || LocVT == MVT::v32i64) { in RetCC_Hexagon()
426 LocVT = MVT::v64i32; in RetCC_Hexagon()
430 if (LocVT == MVT::i32 || LocVT == MVT::f32) { in RetCC_Hexagon()
431 if (!RetCC_Hexagon32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in RetCC_Hexagon()
435 if (LocVT == MVT::i64 || LocVT == MVT::f64) { in RetCC_Hexagon()
436 if (!RetCC_Hexagon64(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in RetCC_Hexagon()
439 if (LocVT == MVT::v16i32 || LocVT == MVT::v32i32 || LocVT == MVT::v64i32) { in RetCC_Hexagon()
440 if (!RetCC_HexagonVector(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State)) in RetCC_Hexagon()
447 MVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_Hexagon32() argument
449 if (LocVT == MVT::i32 || LocVT == MVT::f32) { in RetCC_Hexagon32()
451 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in RetCC_Hexagon32()
457 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in RetCC_Hexagon32()
462 MVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_Hexagon64() argument
464 if (LocVT == MVT::i64 || LocVT == MVT::f64) { in RetCC_Hexagon64()
466 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in RetCC_Hexagon64()
472 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in RetCC_Hexagon64()
477 MVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_HexagonVector() argument
485 if (LocVT == MVT::v16i32) { in RetCC_HexagonVector()
487 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in RetCC_HexagonVector()
490 } else if (LocVT == MVT::v32i32) { in RetCC_HexagonVector()
493 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in RetCC_HexagonVector()
497 } else if (LocVT == MVT::v64i32) { in RetCC_HexagonVector()
499 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in RetCC_HexagonVector()
506 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in RetCC_HexagonVector()