Lines Matching refs:loc
713 bool IsConst(RegLocation loc) const { in IsConst() argument
714 return loc.orig_sreg < 0 ? false : IsConst(loc.orig_sreg); in IsConst()
717 int32_t ConstantValue(RegLocation loc) const { in ConstantValue() argument
718 DCHECK(IsConst(loc)); in ConstantValue()
719 return constant_values_[loc.orig_sreg]; in ConstantValue()
727 int64_t ConstantValueWide(RegLocation loc) const { in ConstantValueWide() argument
728 DCHECK(IsConst(loc)); in ConstantValueWide()
729 DCHECK(!loc.high_word); // Do not allow asking for the high partner. in ConstantValueWide()
730 DCHECK_LT(loc.orig_sreg + 1, GetNumSSARegs()); in ConstantValueWide()
731 return (static_cast<int64_t>(constant_values_[loc.orig_sreg + 1]) << 32) | in ConstantValueWide()
732 Low32Bits(static_cast<int64_t>(constant_values_[loc.orig_sreg])); in ConstantValueWide()
735 bool IsConstantNullRef(RegLocation loc) const { in IsConstantNullRef() argument
736 return loc.ref && loc.is_const && (ConstantValue(loc) == 0); in IsConstantNullRef()