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.h219 constexpr LLT changeElementSize(unsigned NewEltSize) const { in changeElementSize() argument
222 return isVector() ? LLT::vector(getElementCount(), NewEltSize) in changeElementSize()
223 : LLT::scalar(NewEltSize); in changeElementSize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3618 unsigned NewEltSize, in getBitcastWiderVectorElementOffset() argument
3620 const unsigned Log2EltRatio = Log2_32(NewEltSize / OldEltSize); in getBitcastWiderVectorElementOffset()
3652 const unsigned NewEltSize = NewEltTy.getSizeInBits(); in bitcastExtractVectorElt() local
3692 if (NewEltSize % OldEltSize != 0) in bitcastExtractVectorElt()
3698 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastExtractVectorElt()
3714 const unsigned Log2EltRatio = Log2_32(NewEltSize / OldEltSize); in bitcastExtractVectorElt()
3728 MIRBuilder, Idx, NewEltSize, OldEltSize); in bitcastExtractVectorElt()
3785 const unsigned NewEltSize = NewEltTy.getSizeInBits(); in bitcastInsertVectorElt() local
3793 if (NewEltSize % OldEltSize != 0) in bitcastInsertVectorElt()
3799 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastInsertVectorElt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp301 bool ISD::isVectorShrinkable(const SDNode *N, unsigned NewEltSize, in isVectorShrinkable() argument
306 if (EltSize <= NewEltSize) in isVectorShrinkable()
311 NewEltSize) && in isVectorShrinkable()
316 NewEltSize) && in isVectorShrinkable()
329 if (Signed && C.trunc(NewEltSize).sext(EltSize) != C) in isVectorShrinkable()
331 if (!Signed && C.trunc(NewEltSize).zext(EltSize) != C) in isVectorShrinkable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h124 LLVM_ABI bool isVectorShrinkable(const SDNode *N, unsigned NewEltSize,