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.cc326 (cst_right->IsOne() || cst_right->IsMinusOne())) || in VisitRem()
Dcommon_arm64.h267 return constant->IsZeroBitPattern() || constant->IsOne() || constant->IsMinusOne(); in Arm64CanEncodeConstantAsImmediate()
Dinstruction_simplifier.cc1651 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()
Dnodes.h2932 virtual bool IsOne() const { return false; } in IsOne() function
2988 bool IsOne() const override { return GetValue() == 1; } in IsOne() function
3032 bool IsOne() const override { return GetValue() == 1; } in IsOne() function
3080 bool IsOne() const override { in IsOne() function
3137 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
736 bool IsOne() const override { in IsOne() function