Searched refs:IsOne (Results 1 – 8 of 8) sorted by relevance
44 if ((input_binop->GetConstantRight() != nullptr) && input_binop->GetConstantRight()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()63 input_binop->GetLeft()->AsConstant()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()
132 return cst != nullptr && cst->IsOne() && other == sub->GetLeastConstantLeft(); in AreLeastSetBitInputs()
326 (cst_right->IsOne() || cst_right->IsMinusOne())) || in VisitRem()
267 return constant->IsZeroBitPattern() || constant->IsOne() || constant->IsMinusOne(); in Arm64CanEncodeConstantAsImmediate()
1651 if ((input_cst != nullptr) && input_cst->IsOne()) { in VisitDiv()1712 if (input_cst->IsOne()) { in VisitMul()2054 if ((input_cst != nullptr) && input_cst->IsOne() in VisitXor()
2932 virtual bool IsOne() const { return false; } in IsOne() function2988 bool IsOne() const override { return GetValue() == 1; } in IsOne() function3032 bool IsOne() const override { return GetValue() == 1; } in IsOne() function3080 bool IsOne() const override { in IsOne() function3137 bool IsOne() const override { in IsOne() function
97 EXPECT_FALSE(bool_reg_type.IsOne()); in TEST_F()130 EXPECT_FALSE(byte_reg_type.IsOne()); in TEST_F()163 EXPECT_FALSE(char_reg_type.IsOne()); in TEST_F()196 EXPECT_FALSE(short_reg_type.IsOne()); in TEST_F()229 EXPECT_FALSE(int_reg_type.IsOne()); in TEST_F()262 EXPECT_FALSE(long_reg_type.IsOne()); in TEST_F()295 EXPECT_FALSE(float_reg_type.IsOne()); in TEST_F()328 EXPECT_FALSE(double_reg_type.IsOne()); in TEST_F()
130 virtual bool IsOne() const { return false; } in IsOne() function736 bool IsOne() const override { in IsOne() function