Home
last modified time | relevance | path

Searched refs:VTSize (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp153 unsigned VTSize = 4; in EmitTargetCodeForMemcpy() local
191 DstPtrInfo = DstPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
192 SrcPtrInfo = SrcPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
206 VTSize = 2; in EmitTargetCodeForMemcpy()
209 VTSize = 1; in EmitTargetCodeForMemcpy()
219 SrcOff += VTSize; in EmitTargetCodeForMemcpy()
220 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
230 VTSize = 2; in EmitTargetCodeForMemcpy()
233 VTSize = 1; in EmitTargetCodeForMemcpy()
241 DstOff += VTSize; in EmitTargetCodeForMemcpy()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp152 unsigned VTSize = 4; in EmitTargetCodeForMemcpy() local
190 DstPtrInfo = DstPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
191 SrcPtrInfo = SrcPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
211 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
218 SrcOff += VTSize; in EmitTargetCodeForMemcpy()
219 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
228 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
234 DstOff += VTSize; in EmitTargetCodeForMemcpy()
235 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
DARMCallLowering.cpp75 unsigned VTSize = VT.getSimpleVT().getSizeInBits(); in isSupportedType() local
77 if (VTSize == 64) in isSupportedType()
81 return VTSize == 1 || VTSize == 8 || VTSize == 16 || VTSize == 32; in isSupportedType()
/external/llvm-project/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp152 unsigned VTSize = 4; in EmitTargetCodeForMemcpy() local
190 DstPtrInfo = DstPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
191 SrcPtrInfo = SrcPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
211 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
218 SrcOff += VTSize; in EmitTargetCodeForMemcpy()
219 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
228 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
234 DstOff += VTSize; in EmitTargetCodeForMemcpy()
235 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
DARMCallLowering.cpp75 unsigned VTSize = VT.getSimpleVT().getSizeInBits(); in isSupportedType() local
77 if (VTSize == 64) in isSupportedType()
81 return VTSize == 1 || VTSize == 8 || VTSize == 16 || VTSize == 32; in isSupportedType()
DARMISelLowering.cpp7772 uint64_t VTSize = VT.getFixedSizeInBits(); in ReconstructShuffle() local
7773 if (SrcVTSize == VTSize) in ReconstructShuffle()
7779 unsigned NumSrcElts = VTSize / EltVT.getFixedSizeInBits(); in ReconstructShuffle()
7782 if (SrcVTSize < VTSize) { in ReconstructShuffle()
7783 if (2 * SrcVTSize != VTSize) in ReconstructShuffle()
7793 if (SrcVTSize != 2 * VTSize) in ReconstructShuffle()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4230 unsigned VTSize = VT.getSizeInBits() / 8; in FindOptimalMemOpLowering() local
4231 while (VTSize > Size) { in FindOptimalMemOpLowering()
4266 VTSize >= 8 && NewVTSize < Size && in FindOptimalMemOpLowering()
4268 VTSize = Size; in FindOptimalMemOpLowering()
4271 VTSize = NewVTSize; in FindOptimalMemOpLowering()
4279 Size -= VTSize; in FindOptimalMemOpLowering()
4358 unsigned VTSize = VT.getSizeInBits() / 8; in getMemcpyLoadsAndStores() local
4361 if (VTSize > Size) { in getMemcpyLoadsAndStores()
4365 SrcOff -= VTSize - Size; in getMemcpyLoadsAndStores()
4366 DstOff -= VTSize - Size; in getMemcpyLoadsAndStores()
[all …]
DTargetLowering.cpp750 unsigned VTSize = VT.getSizeInBits(); in SimplifyDemandedBits() local
769 if (ShAmt && (NewMask & APInt::getHighBitsSet(VTSize, ShAmt)) == 0) { in SimplifyDemandedBits()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp884 unsigned VTSize = VT.getScalarSizeInBits(); in earlyExpandDIVFIX() local
893 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VTSize * 2); in earlyExpandDIVFIX()
912 assert(SatW <= VTSize && in earlyExpandDIVFIX()
914 Res = SaturateWidenedDIVFIX(Res, dl, SatW == 0 ? VTSize : SatW, Signed, in earlyExpandDIVFIX()
3356 unsigned VTSize = VT.getScalarSizeInBits(); in ExpandIntRes_MULFIX() local
3377 APInt MinVal = APInt::getSignedMinValue(VTSize); in ExpandIntRes_MULFIX()
3378 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in ExpandIntRes_MULFIX()
3388 APInt MaxVal = APInt::getMaxValue(VTSize); in ExpandIntRes_MULFIX()
3399 assert(Scale <= VTSize && "Scale can't be larger than the value type size."); in ExpandIntRes_MULFIX()
3416 assert((VTSize == NVTSize * 2) && "Expected the new value type to be half " in ExpandIntRes_MULFIX()
[all …]
DTargetLowering.cpp218 unsigned VTSize = VT.getSizeInBits() / 8; in findOptimalMemOpLowering() local
219 while (VTSize > Size) { in findOptimalMemOpLowering()
256 VTSize = Size; in findOptimalMemOpLowering()
259 VTSize = NewVTSize; in findOptimalMemOpLowering()
267 Size -= VTSize; in findOptimalMemOpLowering()
7675 unsigned VTSize = VT.getScalarSizeInBits(); in expandFixedPointMul() local
7689 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul()
7690 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul()
7702 APInt MaxVal = APInt::getMaxValue(VTSize); in expandFixedPointMul()
7708 assert(((Signed && Scale < VTSize) || (!Signed && Scale <= VTSize)) && in expandFixedPointMul()
[all …]
DSelectionDAG.cpp6064 unsigned VTSize = VT.getSizeInBits() / 8; in getMemcpyLoadsAndStores() local
6067 if (VTSize > Size) { in getMemcpyLoadsAndStores()
6071 SrcOff -= VTSize - Size; in getMemcpyLoadsAndStores()
6072 DstOff -= VTSize - Size; in getMemcpyLoadsAndStores()
6090 SubSlice.Length = VTSize; in getMemcpyLoadsAndStores()
6112 SrcPtrInfo.getWithOffset(SrcOff).isDereferenceable(VTSize, C, DL); in getMemcpyLoadsAndStores()
6130 SrcOff += VTSize; in getMemcpyLoadsAndStores()
6131 DstOff += VTSize; in getMemcpyLoadsAndStores()
6132 Size -= VTSize; in getMemcpyLoadsAndStores()
6238 unsigned VTSize = VT.getSizeInBits() / 8; in getMemmoveLoadsAndStores() local
[all …]
DDAGCombiner.cpp16268 TypeSize VTSize = VT.getSizeInBits(); in TransformFPLoadStorePair() local
16272 if (VTSize.isScalable()) in TransformFPLoadStorePair()
16275 EVT IntVT = EVT::getIntegerVT(*DAG.getContext(), VTSize.getFixedSize()); in TransformFPLoadStorePair()
18708 uint64_t VTSize = VT.getFixedSizeInBits(); in createBuildVecShuffle() local
18715 if ((VTSize % InVT1Size == 0) && InVT1 == InVT2) { in createBuildVecShuffle()
18718 unsigned NumConcats = VTSize / InVT1Size; in createBuildVecShuffle()
18725 } else if (InVT1Size == VTSize * 2) { in createBuildVecShuffle()
18763 } else if (InVT2Size * 2 == VTSize && InVT1Size == VTSize) { in createBuildVecShuffle()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp227 unsigned VTSize = VT.getSizeInBits() / 8; in findOptimalMemOpLowering() local
228 while (VTSize > Size) { in findOptimalMemOpLowering()
264 VTSize = Size; in findOptimalMemOpLowering()
267 VTSize = NewVTSize; in findOptimalMemOpLowering()
275 Size -= VTSize; in findOptimalMemOpLowering()
7190 unsigned VTSize = VT.getScalarSizeInBits(); in expandFixedPointMul() local
7204 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul()
7205 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul()
7217 APInt MaxVal = APInt::getMaxValue(VTSize); in expandFixedPointMul()
7223 assert(((Signed && Scale < VTSize) || (!Signed && Scale <= VTSize)) && in expandFixedPointMul()
[all …]
DLegalizeIntegerTypes.cpp3024 unsigned VTSize = VT.getScalarSizeInBits(); in ExpandIntRes_MULFIX() local
3045 APInt MinVal = APInt::getSignedMinValue(VTSize); in ExpandIntRes_MULFIX()
3046 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in ExpandIntRes_MULFIX()
3056 APInt MaxVal = APInt::getMaxValue(VTSize); in ExpandIntRes_MULFIX()
3067 assert(Scale <= VTSize && "Scale can't be larger than the value type size."); in ExpandIntRes_MULFIX()
3084 assert((VTSize == NVTSize * 2) && "Expected the new value type to be half " in ExpandIntRes_MULFIX()
3124 if (Scale == VTSize) in ExpandIntRes_MULFIX()
3157 } else if (Scale < VTSize) { in ExpandIntRes_MULFIX()
3177 unsigned OverflowBits = VTSize - Scale + 1; in ExpandIntRes_MULFIX()
3178 assert(OverflowBits <= VTSize && OverflowBits > NVTSize && in ExpandIntRes_MULFIX()
[all …]
DSelectionDAG.cpp5942 unsigned VTSize = VT.getSizeInBits() / 8; in getMemcpyLoadsAndStores() local
5945 if (VTSize > Size) { in getMemcpyLoadsAndStores()
5949 SrcOff -= VTSize - Size; in getMemcpyLoadsAndStores()
5950 DstOff -= VTSize - Size; in getMemcpyLoadsAndStores()
5968 SubSlice.Length = VTSize; in getMemcpyLoadsAndStores()
5989 SrcPtrInfo.getWithOffset(SrcOff).isDereferenceable(VTSize, C, DL); in getMemcpyLoadsAndStores()
6005 SrcOff += VTSize; in getMemcpyLoadsAndStores()
6006 DstOff += VTSize; in getMemcpyLoadsAndStores()
6007 Size -= VTSize; in getMemcpyLoadsAndStores()
6115 unsigned VTSize = VT.getSizeInBits() / 8; in getMemmoveLoadsAndStores() local
[all …]
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1473 uint64_t VTSize = DL.getTypeStoreSizeInBits(VectorType::get(EltTy, N)); in canMapToVector() local
1474 if (VTSize < MinVecRegSize || VTSize > MaxVecRegSize || VTSize != DL.getTypeStoreSizeInBits(T)) in canMapToVector()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3112 uint64_t VTSize = VT.getFixedSizeInBits(); in LowerVectorFP_TO_INT() local
3114 if (VTSize < InVTSize) { in LowerVectorFP_TO_INT()
3122 if (VTSize > InVTSize) { in LowerVectorFP_TO_INT()
3184 uint64_t VTSize = VT.getFixedSizeInBits(); in LowerVectorINT_TO_FP() local
3186 if (VTSize < InVTSize) { in LowerVectorINT_TO_FP()
3194 if (VTSize > InVTSize) { in LowerVectorINT_TO_FP()
7554 uint64_t VTSize = VT.getFixedSizeInBits(); in getRegForInlineAsmConstraint() local
7555 if (VTSize == 16) in getRegForInlineAsmConstraint()
7557 if (VTSize == 32) in getRegForInlineAsmConstraint()
7559 if (VTSize == 64) in getRegForInlineAsmConstraint()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3136 uint64_t VTSize = DL.getTypeStoreSizeInBits(VectorType::get(EltTy, N)); in canMapToVector() local
3137 if (VTSize < MinVecRegSize || VTSize > MaxVecRegSize || VTSize != DL.getTypeStoreSizeInBits(T)) in canMapToVector()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3307 uint64_t VTSize = DL.getTypeStoreSizeInBits(FixedVectorType::get(EltTy, N)); in canMapToVector() local
3308 if (VTSize < MinVecRegSize || VTSize > MaxVecRegSize || VTSize != DL.getTypeStoreSizeInBits(T)) in canMapToVector()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp19654 unsigned VTSize = VT.getSizeInBits(); in lowerFPToIntToFP() local
19657 MVT VecVT = MVT::getVectorVT(VT, 128 / VTSize); in lowerFPToIntToFP()
19663 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()