Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp507 Value *VecInput = nullptr; in foldVecTruncToExtElt() local
509 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
510 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
512 !isa<VectorType>(VecInput->getType())) in foldVecTruncToExtElt()
515 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt()
528 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
535 return ExtractElementInst::Create(VecInput, IC.Builder.getInt32(Elt)); in foldVecTruncToExtElt()