Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/IR/
H A DPatternMatch.cpp1086 EXPECT_FALSE(match(ScalarUndef, m_APIntForbidUndef(C))); in TEST_F()
1089 EXPECT_FALSE(match(VectorUndef, m_APIntForbidUndef(C))); in TEST_F()
1097 EXPECT_TRUE(match(ScalarZero, m_APIntForbidUndef(C))); in TEST_F()
1106 EXPECT_TRUE(match(VectorZero, m_APIntForbidUndef(C))); in TEST_F()
1114 EXPECT_FALSE(match(VectorZeroUndef, m_APIntForbidUndef(C))); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h289 inline apint_match m_APIntForbidUndef(const APInt *&Res) { in m_APIntForbidUndef() function
2303 if (m_Xor(m_Value(X), m_APIntForbidUndef(C)).match(V) && C->isAllOnes())
2305 if (m_Xor(m_APIntForbidUndef(C), m_Value(X)).match(V) && C->isAllOnes())