Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp400 Value *VecInput = nullptr; in foldVecTruncToExtElt() local
402 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
403 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
405 !isa<VectorType>(VecInput->getType())) in foldVecTruncToExtElt()
408 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt()
421 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
428 return ExtractElementInst::Create(VecInput, IC.Builder.getInt32(Elt)); in foldVecTruncToExtElt()