• Home
  • Raw
  • Download

Lines Matching refs:HConstant

530   HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
639 void InsertConstant(HConstant* instruction);
2843 class HConstant : public HExpression<0> {
2845 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc)
2868 class HNullConstant FINAL : public HConstant {
2888 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { in HConstant() function
2896 class HIntConstant FINAL : public HConstant {
2928 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { in HConstant() function
2931 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), in HConstant() function
2942 class HLongConstant FINAL : public HConstant {
2967 : HConstant(kLongConstant, DataType::Type::kInt64, dex_pc), in HConstant() function
2976 class HFloatConstant FINAL : public HConstant {
3020 : HConstant(kFloatConstant, DataType::Type::kFloat32, dex_pc), in HConstant() function
3024 : HConstant(kFloatConstant, DataType::Type::kFloat32, dex_pc), in HConstant() function
3035 class HDoubleConstant FINAL : public HConstant {
3077 : HConstant(kDoubleConstant, DataType::Type::kFloat64, dex_pc), in HConstant() function
3081 : HConstant(kDoubleConstant, DataType::Type::kFloat64, dex_pc), in HConstant() function
3431 HConstant* TryStaticEvaluation() const;
3434 virtual HConstant* Evaluate(HIntConstant* x) const = 0;
3435 virtual HConstant* Evaluate(HLongConstant* x) const = 0;
3436 virtual HConstant* Evaluate(HFloatConstant* x) const = 0;
3437 virtual HConstant* Evaluate(HDoubleConstant* x) const = 0;
3507 HConstant* TryStaticEvaluation() const;
3510 virtual HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3515 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0;
3516 virtual HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const = 0;
3517 virtual HConstant* Evaluate(HLongConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3522 virtual HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const = 0;
3523 virtual HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const = 0;
3527 HConstant* GetConstantRight() const;
3646 HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3650 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3656 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3660 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3663 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3693 HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3697 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3703 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3706 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3709 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3737 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3743 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3746 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3749 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3777 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3783 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3786 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3789 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3816 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3822 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3825 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3828 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3855 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3861 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3864 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
3867 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
3894 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3897 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3900 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3905 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3936 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3939 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3942 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3947 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3978 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
3981 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
3984 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3989 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
4020 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4023 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4026 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
4031 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
4090 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4098 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4101 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
4104 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
4765 HConstant* Evaluate(HIntConstant* x) const OVERRIDE { in Evaluate()
4768 HConstant* Evaluate(HLongConstant* x) const OVERRIDE { in Evaluate()
4771 HConstant* Evaluate(HFloatConstant* x) const OVERRIDE { in Evaluate()
4774 HConstant* Evaluate(HDoubleConstant* x) const OVERRIDE { in Evaluate()
4830 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4834 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4838 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
4842 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
4864 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4868 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4872 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
4876 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
4900 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4904 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4908 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
4912 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
4948 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
4952 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
4956 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
4960 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
4996 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
5000 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
5004 HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const OVERRIDE { in Evaluate()
5008 HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const OVERRIDE { in Evaluate()
5061 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5065 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5069 HConstant* Evaluate(HLongConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5074 HConstant* Evaluate(HFloatConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5079 HConstant* Evaluate(HDoubleConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5107 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5111 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5115 HConstant* Evaluate(HLongConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5120 HConstant* Evaluate(HFloatConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5125 HConstant* Evaluate(HDoubleConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5155 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5159 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5163 HConstant* Evaluate(HLongConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5168 HConstant* Evaluate(HFloatConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5173 HConstant* Evaluate(HDoubleConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5198 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
5202 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
5206 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5211 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5236 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
5240 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
5244 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5249 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5274 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
5278 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
5282 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5287 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
5320 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5324 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate()
5328 HConstant* Evaluate(HLongConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5333 HConstant* Evaluate(HFloatConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5338 HConstant* Evaluate(HDoubleConstant* value ATTRIBUTE_UNUSED, in Evaluate()
5408 HConstant* Evaluate(HIntConstant* x) const OVERRIDE { in Evaluate()
5411 HConstant* Evaluate(HLongConstant* x) const OVERRIDE { in Evaluate()
5414 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate()
5418 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate()
5445 HConstant* Evaluate(HIntConstant* x) const OVERRIDE { in Evaluate()
5448 HConstant* Evaluate(HLongConstant* x ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate()
5452 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate()
5456 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate()
5488 HConstant* TryStaticEvaluation() const;
7550 inline int64_t Int64FromConstant(HConstant* constant) { in Int64FromConstant()