Searched refs:m_ExtractElt (Results 1 – 12 of 12) sorted by relevance
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VectorCombine.cpp | 104 bool HasExtract = match(Scalar, m_ExtractElt(m_Value(X), m_ZeroInt())); in vectorizeLoadInsert() 404 if (!match(I0, m_ExtractElt(m_Value(V0), m_ConstantInt(C0))) || in foldExtractExtract() 405 !match(I1, m_ExtractElt(m_Value(V1), m_ConstantInt(C1))) || in foldExtractExtract() 640 if (!match(I0, m_OneUse(m_ExtractElt(m_Value(X), m_ConstantInt(Index0)))) || in foldExtractedCmps() 641 !match(I1, m_OneUse(m_ExtractElt(m_Specific(X), m_ConstantInt(Index1))))) in foldExtractedCmps()
|
D | SLPVectorizer.cpp | 942 if (match(V1, m_ExtractElt(m_Value(EV), m_ConstantInt(Ex1Idx))) && in getShallowScore() 943 match(V2, m_ExtractElt(m_Deferred(EV), m_ConstantInt(Ex2Idx))) && in getShallowScore()
|
/external/llvm-project/llvm/unittests/IR/ |
D | PatternMatch.cpp | 985 EXPECT_TRUE(match(EX1, m_ExtractElt(m_Value(A), m_Value(B)))); in TEST_F() 989 EXPECT_FALSE(match(EX1, m_ExtractElt(m_Value(), m_ConstantInt()))); in TEST_F() 990 EXPECT_TRUE(match(EX2, m_ExtractElt(m_Value(), m_ConstantInt()))); in TEST_F() 991 EXPECT_TRUE(match(EX3, m_ExtractElt(m_Constant(), m_ConstantInt()))); in TEST_F()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 1185 if (!match(Scalar, m_ExtractElt(m_Specific(X), m_SpecificInt(IdxC)))) in foldInsEltIntoIdentityShuffle() 1392 m_ExtractElt(m_Value(ExtVecOp), m_ConstantInt(ExtractedIdx))) && in visitInsertElementInst()
|
D | InstCombineSimplifyDemanded.cpp | 1194 m_ExtractElt(m_Value(Vec), m_SpecificInt(IdxNo))) && in SimplifyDemandedVectorElts()
|
D | InstCombineCasts.cpp | 909 if (match(Src, m_OneUse(m_ExtractElt(m_Value(VecOp), m_ConstantInt(Cst))))) { in visitTrunc()
|
D | InstCombineSelect.cpp | 2033 if (!match(Cond, m_OneUse(m_ExtractElt(m_Value(), m_ConstantInt())))) in canonicalizeScalarSelectOfVecs()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 608 !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in translateBr() 609 match(BOp1, m_ExtractElt(m_Specific(Vec), m_Value())))) { in translateBr()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1422 m_ExtractElt(const Val_t &Val, const Idx_t &Idx) { in m_ExtractElt() function
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2269 !(match(BOp0, m_ExtractElt(m_Value(Vec), m_Value())) && in visitBr() 2270 match(BOp1, m_ExtractElt(m_Specific(Vec), m_Value())))) { in visitBr()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 4374 if (match(Val, m_ExtractElt(m_Specific(Vec), m_Specific(Idx)))) in SimplifyInsertElementInst()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 10778 return match(Op, m_ExtractElt(m_Value(VectorOperand), in isOperandOfVmullHighP64()
|