| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 119 LLT NarrowTy); 213 LLT NarrowTy, Register SrcReg); 236 LLT buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, 251 ArrayRef<Register> Src2Regs, LLT NarrowTy); 256 LLT SrcTy, LLT NarrowTy, 319 LLT NarrowTy); 321 LLT NarrowTy); 330 LLT NarrowTy); 339 LLT NarrowTy); 342 LLT NarrowTy); [all …]
|
| H A D | CallLowering.h | 327 LLT NarrowTy);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 68 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown() 1199 LLT ImplicitTy = NarrowTy; in narrowScalar() 1610 MIRBuilder.buildConstant(NarrowTy, NarrowTy.getScalarSizeInBits() - 1) in narrowScalar() 4256 if (NarrowTy == SrcTy) in fewerElementsVectorMerge() 4507 unsigned NumElts = NarrowTy.isVector() ? NarrowTy.getNumElements() : 1; in fewerElementsVector() 4679 NarrowTy = in fewerElementsVectorShuffle() 4808 if (NarrowTy.isVector() && in fewerElementsVectorReductions() 4816 NarrowTy.isVector() ? SrcTy.getNumElements() / NarrowTy.getNumElements() in fewerElementsVectorReductions() 4820 if (NarrowTy.isScalar()) { in fewerElementsVectorReductions() 4821 if (DstTy != NarrowTy) in fewerElementsVectorReductions() [all …]
|
| H A D | CallLowering.cpp | 1228 const CCValAssign &VA, Register SrcReg, LLT NarrowTy) { in buildExtensionHint() argument 1233 NarrowTy.getScalarSizeInBits()) in buildExtensionHint() 1239 NarrowTy.getScalarSizeInBits()) in buildExtensionHint()
|
| H A D | Utils.cpp | 592 LLT NarrowTy = (NumElts == 1) ? EltTy : LLT::fixed_vector(NumElts, EltTy); in extractVectorParts() local 599 return extractParts(Reg, NarrowTy, NumNarrowTyPieces, VRegs, MIRBuilder, in extractVectorParts() 612 VRegs.push_back(MIRBuilder.buildMergeLikeInstr(NarrowTy, Pieces).getReg(0)); in extractVectorParts()
|
| H A D | CombinerHelper.cpp | 4867 LLT NarrowTy = LLT::scalar(NarrowWidth); in matchNarrowBinopFeedingAnd() local 4874 if (!TLI.isTruncateFree(WideTy, NarrowTy, DL, Ctx) || in matchNarrowBinopFeedingAnd() 4875 !TLI.isZExtFree(NarrowTy, WideTy, DL, Ctx)) in matchNarrowBinopFeedingAnd() 4877 if (!isLegalOrBeforeLegalizer({TargetOpcode::G_TRUNC, {NarrowTy, WideTy}}) || in matchNarrowBinopFeedingAnd() 4878 !isLegalOrBeforeLegalizer({TargetOpcode::G_ZEXT, {WideTy, NarrowTy}})) in matchNarrowBinopFeedingAnd() 4883 auto NarrowLHS = Builder.buildTrunc(NarrowTy, BinOpLHS); in matchNarrowBinopFeedingAnd() 4884 auto NarrowRHS = Builder.buildTrunc(NarrowTy, BinOpRHS); in matchNarrowBinopFeedingAnd() 4886 Builder.buildInstr(LHSOpc, {NarrowTy}, {NarrowLHS, NarrowRHS}); in matchNarrowBinopFeedingAnd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 4100 const LLT NarrowTy = MRI.getType(DstReg); in selectExtractElt() local 4104 assert(WideTy.getSizeInBits() >= NarrowTy.getSizeInBits() && in selectExtractElt() 4106 assert(!NarrowTy.isVector() && "cannot extract vector into vector!"); in selectExtractElt() 4138 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectSplitVectorUnmerge() local 4141 assert(NarrowTy.isVector() && "Expected an unmerge into vectors"); in selectSplitVectorUnmerge() 4154 emitExtractVectorElt(Dst, DstRB, NarrowTy, SrcReg, OpIdx, MIB); in selectSplitVectorUnmerge() 4181 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectUnmergeValues() local 4186 assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && in selectUnmergeValues() 4189 if (!NarrowTy.isScalar()) in selectUnmergeValues() 4196 if (!getLaneCopyOpcode(CopyOpc, ExtractSubReg, NarrowTy.getSizeInBits())) in selectUnmergeValues() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5943 Type *NarrowTy; in hasSameExtUse() local 5947 NarrowTy = CurTy; in hasSameExtUse() 5950 NarrowTy = ExtTy; in hasSameExtUse() 5954 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3093 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local 3094 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2322 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in willNotOverflow() local 2324 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in willNotOverflow() 14968 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); in visitZeroExtendExpr() local 14969 auto *NarrowExt = SE.getZeroExtendExpr(Op, NarrowTy); in visitZeroExtendExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 2125 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 2127 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 7770 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local 7772 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr() 7780 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local 7782 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
|