Lines Matching refs:CastTy

1767 void LegalizerHelper::bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx) {  in bitcastSrc()  argument
1769 Op.setReg(MIRBuilder.buildBitcast(CastTy, Op).getReg(0)); in bitcastSrc()
1772 void LegalizerHelper::bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastDst() argument
1774 Register CastDst = MRI.createGenericVirtualRegister(CastTy); in bitcastDst()
3103 LLT CastTy) { in bitcastExtractVectorElt() argument
3110 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt()
3113 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt()
3114 Register CastVec = MIRBuilder.buildBitcast(CastTy, SrcVec).getReg(0); in bitcastExtractVectorElt()
3185 if (CastTy.isVector()) { in bitcastExtractVectorElt()
3239 LLT CastTy) { in bitcastInsertVectorElt() argument
3248 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastInsertVectorElt()
3252 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastInsertVectorElt()
3255 Register CastVec = MIRBuilder.buildBitcast(CastTy, SrcVec).getReg(0); in bitcastInsertVectorElt()
3273 if (CastTy.isVector()) { in bitcastInsertVectorElt()
3284 if (CastTy.isVector()) { in bitcastInsertVectorElt()
3286 CastTy, CastVec, InsertedElt, ScaledIdx).getReg(0); in bitcastInsertVectorElt()
3534 LegalizerHelper::bitcast(MachineInstr &MI, unsigned TypeIdx, LLT CastTy) { in bitcast() argument
3542 if (MMO.getMemoryType().getSizeInBits() != CastTy.getSizeInBits()) in bitcast()
3546 bitcastDst(MI, CastTy, 0); in bitcast()
3547 MMO.setType(CastTy); in bitcast()
3558 if (MMO.getMemoryType().getSizeInBits() != CastTy.getSizeInBits()) in bitcast()
3562 bitcastSrc(MI, CastTy, 0); in bitcast()
3563 MMO.setType(CastTy); in bitcast()
3578 bitcastSrc(MI, CastTy, 2); in bitcast()
3579 bitcastSrc(MI, CastTy, 3); in bitcast()
3580 bitcastDst(MI, CastTy, 0); in bitcast()
3588 bitcastSrc(MI, CastTy, 1); in bitcast()
3589 bitcastSrc(MI, CastTy, 2); in bitcast()
3590 bitcastDst(MI, CastTy, 0); in bitcast()
3595 return bitcastExtractVectorElt(MI, TypeIdx, CastTy); in bitcast()
3597 return bitcastInsertVectorElt(MI, TypeIdx, CastTy); in bitcast()