Home
last modified time | relevance | path

Searched refs:NarrowTy (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h115 LLT NarrowTy);
150 void narrowScalarDst(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx,
225 LLT NarrowTy, Register SrcReg);
248 LLT buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy,
263 ArrayRef<Register> Src2Regs, LLT NarrowTy);
268 LLT SrcTy, LLT NarrowTy,
320 LLT NarrowTy);
322 LLT NarrowTy);
328 LLT NarrowTy);
337 LLT NarrowTy);
[all …]
H A DCallLowering.h321 Register buildExtensionHint(CCValAssign &VA, Register SrcReg, LLT NarrowTy);
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp63 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown()
919 LLT ImplicitTy = NarrowTy; in narrowScalar()
1330 MIRBuilder.buildConstant(NarrowTy, NarrowTy.getScalarSizeInBits() - 1) in narrowScalar()
3651 DstOps.push_back(NarrowTy); in makeDstOps()
3866 if (NarrowTy == SrcTy) in fewerElementsVectorMerge()
4116 unsigned NumElts = NarrowTy.isVector() ? NarrowTy.getNumElements() : 1; in fewerElementsVector()
4277 NarrowTy = in fewerElementsVectorShuffle()
4460 if (NarrowTy.isVector() && in fewerElementsVectorReductions()
4468 NarrowTy.isVector() ? SrcTy.getNumElements() / NarrowTy.getNumElements() in fewerElementsVectorReductions()
4472 if (NarrowTy.isScalar()) { in fewerElementsVectorReductions()
[all …]
H A DCallLowering.cpp1162 LLT NarrowTy) { in buildExtensionHint() argument
1167 NarrowTy.getScalarSizeInBits()) in buildExtensionHint()
1173 NarrowTy.getScalarSizeInBits()) in buildExtensionHint()
H A DCombinerHelper.cpp4702 LLT NarrowTy = LLT::scalar(NarrowWidth); in matchNarrowBinopFeedingAnd() local
4709 if (!TLI.isTruncateFree(WideTy, NarrowTy, DL, Ctx) || in matchNarrowBinopFeedingAnd()
4710 !TLI.isZExtFree(NarrowTy, WideTy, DL, Ctx)) in matchNarrowBinopFeedingAnd()
4712 if (!isLegalOrBeforeLegalizer({TargetOpcode::G_TRUNC, {NarrowTy, WideTy}}) || in matchNarrowBinopFeedingAnd()
4713 !isLegalOrBeforeLegalizer({TargetOpcode::G_ZEXT, {WideTy, NarrowTy}})) in matchNarrowBinopFeedingAnd()
4718 auto NarrowLHS = Builder.buildTrunc(NarrowTy, BinOpLHS); in matchNarrowBinopFeedingAnd()
4719 auto NarrowRHS = Builder.buildTrunc(NarrowTy, BinOpRHS); in matchNarrowBinopFeedingAnd()
4721 Builder.buildInstr(LHSOpc, {NarrowTy}, {NarrowLHS, NarrowRHS}); in matchNarrowBinopFeedingAnd()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4135 const LLT NarrowTy = MRI.getType(DstReg); in selectExtractElt() local
4139 assert(WideTy.getSizeInBits() >= NarrowTy.getSizeInBits() && in selectExtractElt()
4141 assert(!NarrowTy.isVector() && "cannot extract vector into vector!"); in selectExtractElt()
4173 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectSplitVectorUnmerge() local
4176 assert(NarrowTy.isVector() && "Expected an unmerge into vectors"); in selectSplitVectorUnmerge()
4189 emitExtractVectorElt(Dst, DstRB, NarrowTy, SrcReg, OpIdx, MIB); in selectSplitVectorUnmerge()
4216 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectUnmergeValues() local
4221 assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && in selectUnmergeValues()
4224 if (!NarrowTy.isScalar()) in selectUnmergeValues()
4231 if (!getLaneCopyOpcode(CopyOpc, ExtractSubReg, NarrowTy.getSizeInBits())) in selectUnmergeValues()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5706 Type *NarrowTy; in hasSameExtUse() local
5710 NarrowTy = CurTy; in hasSameExtUse()
5713 NarrowTy = ExtTy; in hasSameExtUse()
5717 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2666 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local
2667 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1712 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
1714 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
H A DAArch64ISelLowering.cpp9346 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
9349 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp2310 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in willNotOverflow() local
2312 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in willNotOverflow()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp6916 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local
6918 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
6926 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local
6928 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()