Searched refs:ConstantValue (Results 1 – 4 of 4) sorted by relevance
66 return const_val->ConstantValue() >= 0 && const_val->ConstantValue() <= 1; in IsConstantBoolean()
736 int32_t ConstantValue() const { in ConstantValue() function756 return IsPreciseConstant() && ConstantValue() == 0; in IsZero()759 return IsPreciseConstant() && ConstantValue() == 1; in IsOne()763 return IsConstant() && ConstantValue() >= 0 && in IsConstantChar()764 ConstantValue() <= std::numeric_limits<uint16_t>::max(); in IsConstantChar()768 ConstantValue() >= std::numeric_limits<int8_t>::min() && in IsConstantByte()769 ConstantValue() <= std::numeric_limits<int8_t>::max(); in IsConstantByte()773 ConstantValue() >= std::numeric_limits<int16_t>::min() && in IsConstantShort()774 ConstantValue() <= std::numeric_limits<int16_t>::max(); in IsConstantShort()
79 uint32_t val = ConstantValue(); in Dump()406 uint32_t val = ConstantValue(); in Dump()482 return cache->FromCat2ConstHi(const_val->ConstantValue(), false); in HighHalf()626 int32_t val1 = type1.ConstantValue(); in Merge()627 int32_t val2 = type2.ConstantValue(); in Merge()
606 (down_cast<const ConstantType*>(cur_entry))->ConstantValue() == value) { in FromCat1NonSmallConstant()