/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerHelper.h | 70 LegalizeResult narrowScalar(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); 84 LLT NarrowTy); 109 void narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx); 120 void narrowScalarDst(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx, 171 ArrayRef<Register> Src2Regs, LLT NarrowTy); 175 unsigned TypeIdx, LLT NarrowTy); 180 LLT NarrowTy); 186 unsigned TypeIdx, LLT NarrowTy); 189 LLT NarrowTy); 192 fewerElementsVectorCmp(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerHelper.h | 88 LegalizeResult narrowScalar(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy); 105 LLT NarrowTy); 129 void narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx); 140 void narrowScalarDst(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx, 206 LLT NarrowTy, Register SrcReg); 229 LLT buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, 244 ArrayRef<Register> Src2Regs, LLT NarrowTy); 264 unsigned TypeIdx, LLT NarrowTy); 270 unsigned TypeIdx, LLT NarrowTy); 273 LLT NarrowTy); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 41 getNarrowTypeBreakDown(LLT OrigTy, LLT NarrowTy, LLT &LeftoverTy) { in getNarrowTypeBreakDown() argument 45 unsigned NarrowSize = NarrowTy.getSizeInBits(); in getNarrowTypeBreakDown() 53 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown() 599 LLT NarrowTy) { in narrowScalar() argument 603 uint64_t NarrowSize = NarrowTy.getSizeInBits(); in narrowScalar() 618 MIRBuilder.buildUndef(NarrowTy)->getOperand(0).getReg()); in narrowScalar() 632 unsigned NarrowSize = NarrowTy.getSizeInBits(); in narrowScalar() 638 auto K = MIRBuilder.buildConstant(NarrowTy, in narrowScalar() 655 Ty, NarrowTy, PartRegs, LeftoverTy, LeftoverRegs); in narrowScalar() 670 SrcTy.getSizeInBits() != NarrowTy.getSizeInBits()) { in narrowScalar() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 43 getNarrowTypeBreakDown(LLT OrigTy, LLT NarrowTy, LLT &LeftoverTy) { in getNarrowTypeBreakDown() argument 47 unsigned NarrowSize = NarrowTy.getSizeInBits(); in getNarrowTypeBreakDown() 55 if (NarrowTy.isVector()) { in getNarrowTypeBreakDown() 273 LLT NarrowTy, Register SrcReg) { in extractGCDType() argument 275 LLT GCDTy = getGCDType(getGCDType(SrcTy, NarrowTy), DstTy); in extractGCDType() 280 LLT LegalizerHelper::buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, in buildLCMMergePieces() argument 283 LLT LCMTy = getLCMType(DstTy, NarrowTy); in buildLCMMergePieces() 285 int NumParts = LCMTy.getSizeInBits() / NarrowTy.getSizeInBits(); in buildLCMMergePieces() 286 int NumSubParts = NarrowTy.getSizeInBits() / GCDTy.getSizeInBits(); in buildLCMMergePieces() 342 AllPadReg = MIRBuilder.buildUndef(NarrowTy).getReg(0); in buildLCMMergePieces() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 373 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in eliminateOverflowIntrinsic() local 375 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in eliminateOverflowIntrinsic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 428 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in willNotOverflow() local 430 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in willNotOverflow()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64InstructionSelector.cpp | 2965 const LLT NarrowTy = MRI.getType(DstReg); in selectExtractElt() local 2969 assert(WideTy.getSizeInBits() >= NarrowTy.getSizeInBits() && in selectExtractElt() 2971 assert(NarrowTy.isScalar() && "cannot extract vector into vector!"); in selectExtractElt() 2991 MachineInstr *Extract = emitExtractVectorElt(DstReg, DstRB, NarrowTy, SrcReg, in selectExtractElt() 3004 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectSplitVectorUnmerge() local 3007 assert(NarrowTy.isVector() && "Expected an unmerge into vectors"); in selectSplitVectorUnmerge() 3022 emitExtractVectorElt(Dst, DstRB, NarrowTy, SrcReg, OpIdx, MIB); in selectSplitVectorUnmerge() 3049 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectUnmergeValues() local 3054 assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && in selectUnmergeValues() 3057 if (!NarrowTy.isScalar()) in selectUnmergeValues() [all …]
|
D | AArch64ISelLowering.cpp | 6530 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 6533 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector() 10510 MVT NarrowTy = N.getSimpleValueType(); in tryExtendDUPToExtractHigh() local 10511 if (!NarrowTy.is64BitVector()) in tryExtendDUPToExtractHigh() 10514 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh() 10515 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh() 10519 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, NarrowTy, in tryExtendDUPToExtractHigh()
|
D | AArch64ISelDAGToDAG.cpp | 1407 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 1409 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64InstructionSelector.cpp | 3731 const LLT NarrowTy = MRI.getType(DstReg); in selectExtractElt() local 3735 assert(WideTy.getSizeInBits() >= NarrowTy.getSizeInBits() && in selectExtractElt() 3737 assert(!NarrowTy.isVector() && "cannot extract vector into vector!"); in selectExtractElt() 3757 MachineInstr *Extract = emitExtractVectorElt(DstReg, DstRB, NarrowTy, SrcReg, in selectExtractElt() 3770 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectSplitVectorUnmerge() local 3773 assert(NarrowTy.isVector() && "Expected an unmerge into vectors"); in selectSplitVectorUnmerge() 3788 emitExtractVectorElt(Dst, DstRB, NarrowTy, SrcReg, OpIdx, MIB); in selectSplitVectorUnmerge() 3815 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg()); in selectUnmergeValues() local 3820 assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() && in selectUnmergeValues() 3823 if (!NarrowTy.isScalar()) in selectUnmergeValues() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 430 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in willNotOverflow() local 432 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in willNotOverflow()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4104 Type *NarrowTy; in hasSameExtUse() local 4108 NarrowTy = CurTy; in hasSameExtUse() 4111 NarrowTy = ExtTy; in hasSameExtUse() 4115 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5202 Type *NarrowTy; in hasSameExtUse() local 5206 NarrowTy = CurTy; in hasSameExtUse() 5209 NarrowTy = ExtTy; in hasSameExtUse() 5213 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5488 Type *NarrowTy; in hasSameExtUse() local 5492 NarrowTy = CurTy; in hasSameExtUse() 5495 NarrowTy = ExtTy; in hasSameExtUse() 5499 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4919 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 4922 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector() 8206 MVT NarrowTy = N.getSimpleValueType(); in tryExtendDUPToExtractHigh() local 8207 if (!NarrowTy.is64BitVector()) in tryExtendDUPToExtractHigh() 8210 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh() 8211 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh() 8215 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, NarrowTy, in tryExtendDUPToExtractHigh()
|
D | AArch64ISelDAGToDAG.cpp | 1253 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 1255 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2515 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local 2516 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2670 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local 2671 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2692 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local 2693 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 3576 llvm::Type *NarrowTy = in EmitCommonNeonBuiltinExpr() local 3578 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr() 3586 llvm::Type *NarrowTy = in EmitCommonNeonBuiltinExpr() local 3588 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 1588 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 1590 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
|
D | AArch64ISelLowering.cpp | 7814 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local 7817 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector() 12616 MVT NarrowTy = N.getSimpleValueType(); in tryExtendDUPToExtractHigh() local 12617 if (!NarrowTy.is64BitVector()) in tryExtendDUPToExtractHigh() 12620 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh() 12621 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh() 12625 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, NarrowTy, in tryExtendDUPToExtractHigh()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7185 auto *NarrowTy = IntegerType::get(getContext(), NarrowWidth); in howFarToZero() local 7189 getZeroExtendExpr(getTruncateExpr(ModuloResult, NarrowTy), WideTy); in howFarToZero()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 6437 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local 6439 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr() 6447 auto *NarrowTy = in EmitCommonNeonBuiltinExpr() local 6449 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
|