Home
last modified time | relevance | path

Searched refs:NewEltSize (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h221 constexpr LLT changeElementSize(unsigned NewEltSize) const { in changeElementSize() argument
224 return isVector() ? LLT::vector(getElementCount(), NewEltSize) in changeElementSize()
225 : LLT::scalar(NewEltSize); in changeElementSize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3206 unsigned NewEltSize, in getBitcastWiderVectorElementOffset() argument
3208 const unsigned Log2EltRatio = Log2_32(NewEltSize / OldEltSize); in getBitcastWiderVectorElementOffset()
3240 const unsigned NewEltSize = NewEltTy.getSizeInBits(); in bitcastExtractVectorElt() local
3280 if (NewEltSize % OldEltSize != 0) in bitcastExtractVectorElt()
3286 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastExtractVectorElt()
3302 const unsigned Log2EltRatio = Log2_32(NewEltSize / OldEltSize); in bitcastExtractVectorElt()
3316 MIRBuilder, Idx, NewEltSize, OldEltSize); in bitcastExtractVectorElt()
3373 const unsigned NewEltSize = NewEltTy.getSizeInBits(); in bitcastInsertVectorElt() local
3381 if (NewEltSize % OldEltSize != 0) in bitcastInsertVectorElt()
3387 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastInsertVectorElt()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h123 bool isVectorShrinkable(const SDNode *N, unsigned NewEltSize, bool Signed);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp305 bool ISD::isVectorShrinkable(const SDNode *N, unsigned NewEltSize, in isVectorShrinkable() argument
310 if (EltSize <= NewEltSize) in isVectorShrinkable()
315 NewEltSize) && in isVectorShrinkable()
320 NewEltSize) && in isVectorShrinkable()
333 if (Signed && C.trunc(NewEltSize).sext(EltSize) != C) in isVectorShrinkable()
335 if (!Signed && C.trunc(NewEltSize).zext(EltSize) != C) in isVectorShrinkable()