Home
last modified time | relevance | path

Searched refs:IsOne (Results 1 – 8 of 8) sorted by relevance

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc44 if ((input_binop->GetConstantRight() != nullptr) && input_binop->GetConstantRight()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()
63 input_binop->GetLeft()->AsConstant()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()
Dinstruction_simplifier_x86_shared.cc132 return cst != nullptr && cst->IsOne() && other == sub->GetLeastConstantLeft(); in AreLeastSetBitInputs()
Dconstant_folding.cc306 (cst_right->IsOne() || cst_right->IsMinusOne())) || in VisitRem()
Dcommon_arm64.h262 return constant->IsZeroBitPattern() || constant->IsOne() || constant->IsMinusOne(); in Arm64CanEncodeConstantAsImmediate()
Dinstruction_simplifier.cc1661 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()
Dnodes.h2916 virtual bool IsOne() const { return false; } in IsOne() function
2972 bool IsOne() const override { return GetValue() == 1; } in IsOne() function
3016 bool IsOne() const override { return GetValue() == 1; } in IsOne() function
3064 bool IsOne() const override { in IsOne() function
3121 bool IsOne() const override { in IsOne() function
/art/runtime/verifier/
Dreg_type_test.cc97 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()
Dreg_type.h130 virtual bool IsOne() const { return false; } in IsOne() function
758 bool IsOne() const override { in IsOne() function