Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h106 LLT NarrowTy);
124 unsigned TypeIdx, LLT NarrowTy);
148 LLVM_ABI void narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx);
159 LLVM_ABI void narrowScalarDst(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx,
220 LLT NarrowTy, Register SrcReg);
243 LLT buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy,
258 ArrayRef<Register> Src2Regs, LLT NarrowTy);
263 LLT SrcTy, LLT NarrowTy,
349 LLT NarrowTy);
352 LLT NarrowTy);
[all …]
H A DCallLowering.h339 LLT NarrowTy);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp57 getNarrowTypeBreakDown(LLT OrigTy, LLT NarrowTy, LLT &LeftoverTy) { in getNarrowTypeBreakDown() argument
61 unsigned NarrowSize = NarrowTy.getSizeInBits(); in getNarrowTypeBreakDown()
69 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown()
251 LLT NarrowTy, Register SrcReg) { in extractGCDType() argument
253 LLT GCDTy = getGCDType(getGCDType(SrcTy, NarrowTy), DstTy); in extractGCDType()
258 LLT LegalizerHelper::buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, in buildLCMMergePieces() argument
261 LLT LCMTy = getLCMType(DstTy, NarrowTy); in buildLCMMergePieces()
263 int NumParts = LCMTy.getSizeInBits() / NarrowTy.getSizeInBits(); in buildLCMMergePieces()
264 int NumSubParts = NarrowTy.getSizeInBits() / GCDTy.getSizeInBits(); in buildLCMMergePieces()
320 AllPadReg = MIRBuilder.buildUndef(NarrowTy).getReg(0); in buildLCMMergePieces()
[all …]
H A DCallLowering.cpp1343 const CCValAssign &VA, Register SrcReg, LLT NarrowTy) { in buildExtensionHint() argument
1348 NarrowTy.getScalarSizeInBits()) in buildExtensionHint()
1354 NarrowTy.getScalarSizeInBits()) in buildExtensionHint()
H A DUtils.cpp611 LLT NarrowTy = (NumElts == 1) ? EltTy : LLT::fixed_vector(NumElts, EltTy); in extractVectorParts() local
618 return extractParts(Reg, NarrowTy, NumNarrowTyPieces, VRegs, MIRBuilder, in extractVectorParts()
631 VRegs.push_back(MIRBuilder.buildMergeLikeInstr(NarrowTy, Pieces).getReg(0)); in extractVectorParts()
H A DCombinerHelper.cpp5160 LLT NarrowTy = LLT::scalar(NarrowWidth); in matchNarrowBinopFeedingAnd() local
5166 if (!TLI.isTruncateFree(WideTy, NarrowTy, Ctx) || in matchNarrowBinopFeedingAnd()
5167 !TLI.isZExtFree(NarrowTy, WideTy, Ctx)) in matchNarrowBinopFeedingAnd()
5169 if (!isLegalOrBeforeLegalizer({TargetOpcode::G_TRUNC, {NarrowTy, WideTy}}) || in matchNarrowBinopFeedingAnd()
5170 !isLegalOrBeforeLegalizer({TargetOpcode::G_ZEXT, {WideTy, NarrowTy}})) in matchNarrowBinopFeedingAnd()
5175 auto NarrowLHS = Builder.buildTrunc(NarrowTy, BinOpLHS); in matchNarrowBinopFeedingAnd()
5176 auto NarrowRHS = Builder.buildTrunc(NarrowTy, BinOpRHS); in matchNarrowBinopFeedingAnd()
5178 Builder.buildInstr(LHSOpc, {NarrowTy}, {NarrowLHS, NarrowRHS}); in matchNarrowBinopFeedingAnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4083 const LLT NarrowTy = MRI.getType(DstReg); in selectExtractElt() local
4087 assert(WideTy.getSizeInBits() >= NarrowTy.getSizeInBits() && in selectExtractElt()
4089 assert(!NarrowTy.isVector() && "cannot extract vector into vector!"); in selectExtractElt()
4108 MachineInstr *Extract = emitExtractVectorElt(DstReg, DstRB, NarrowTy, SrcReg, in selectExtractElt()
4121 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectSplitVectorUnmerge() local
4124 assert(NarrowTy.isVector() && "Expected an unmerge into vectors"); in selectSplitVectorUnmerge()
4137 emitExtractVectorElt(Dst, DstRB, NarrowTy, SrcReg, OpIdx, MIB); in selectSplitVectorUnmerge()
4164 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectUnmergeValues() local
4169 assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && in selectUnmergeValues()
4172 if (!NarrowTy.isScalar()) in selectUnmergeValues()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6449 Type *NarrowTy; in hasSameExtUse() local
6453 NarrowTy = CurTy; in hasSameExtUse()
6456 NarrowTy = ExtTy; in hasSameExtUse()
6460 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3151 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local
3152 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DARM.cpp2115 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local
2117 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
2125 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local
2127 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2327 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in willNotOverflow() local
2329 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in willNotOverflow()
15911 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); in rewrite() local
15912 auto *NarrowExt = SE.getZeroExtendExpr(Op, NarrowTy); in rewrite()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2380 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
2382 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()