Searched refs:cst_pred_ty (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 445 return cst_pred_ty<is_any_apint>(); in m_AnyIntegralConstant() 454 return cst_pred_ty<is_all_ones>(); in m_AllOnes() 464 return cst_pred_ty<is_maxsignedvalue>(); in m_MaxSignedValue() 476 return cst_pred_ty<is_negative>(); in m_Negative() 486 return cst_pred_ty<is_nonnegative>(); in m_NonNegative() 508 return cst_pred_ty<is_nonpositive>(); in m_NonPositive() 517 inline cst_pred_ty<is_one> m_One() { return cst_pred_ty<is_one>(); } in m_One() 525 return cst_pred_ty<is_zero_int>(); in m_ZeroInt() 544 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } in m_Power2() 577 return cst_pred_ty<is_sign_mask>(); in m_SignMask() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | PatternMatch.cpp | 1481 EXPECT_TRUE(match(CU32Max, cst_pred_ty<is_unsigned_max_pred>())); in TEST_F() 1482 EXPECT_FALSE(match(CU32Max, cst_pred_ty<is_unsigned_zero_pred>())); in TEST_F() 1483 EXPECT_TRUE(match(CU32Max, cst_pred_ty<always_true_pred<APInt>>())); in TEST_F() 1484 EXPECT_FALSE(match(CU32Max, cst_pred_ty<always_false_pred<APInt>>())); in TEST_F() 1486 EXPECT_FALSE(match(CU32Zero, cst_pred_ty<is_unsigned_max_pred>())); in TEST_F() 1487 EXPECT_TRUE(match(CU32Zero, cst_pred_ty<is_unsigned_zero_pred>())); in TEST_F() 1488 EXPECT_TRUE(match(CU32Zero, cst_pred_ty<always_true_pred<APInt>>())); in TEST_F() 1546 match(CSplatU32DeadBeef, cst_pred_ty<is_unsigned_zero_pred>())); in TEST_F() 1586 EXPECT_FALSE(match(CMixedU32, cst_pred_ty<is_unsigned_max_pred>())); in TEST_F() 1587 EXPECT_FALSE(match(CMixedU32, cst_pred_ty<is_unsigned_zero_pred>())); in TEST_F() [all …]
|