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()
306 (cst_right->IsOne() || cst_right->IsMinusOne())) || in VisitRem()
262 return constant->IsZeroBitPattern() || constant->IsOne() || constant->IsMinusOne(); in Arm64CanEncodeConstantAsImmediate()
1661 if ((input_cst != nullptr) && input_cst->IsOne()) { in VisitDiv()1722 if (input_cst->IsOne()) { in VisitMul()2064 if ((input_cst != nullptr) && input_cst->IsOne() in VisitXor()
2916 virtual bool IsOne() const { return false; } in IsOne() function2972 bool IsOne() const override { return GetValue() == 1; } in IsOne() function3016 bool IsOne() const override { return GetValue() == 1; } in IsOne() function3064 bool IsOne() const override { in IsOne() function3121 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() function758 bool IsOne() const override { in IsOne() function