Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp536 Value *VecInput = nullptr; in foldVecTruncToExtElt() local
538 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
539 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
541 !isa<VectorType>(VecInput->getType())) in foldVecTruncToExtElt()
544 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt()
557 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
564 return ExtractElementInst::Create(VecInput, IC.Builder.getInt32(Elt)); in foldVecTruncToExtElt()