Lines Matching defs:constant
71 // value must be rematerialized, it is loaded from an immediate constant
1737 int AddConstant(int virtual_register, Constant constant) {
1739 DCHECK_NE(Constant::kRpoNumber, constant.type());
1742 constants_.insert(std::make_pair(virtual_register, constant));
1758 ImmediateOperand AddImmediate(const Constant& constant) {
1759 if (RelocInfo::IsNoInfo(constant.rmode())) {
1760 if (constant.type() == Constant::kRpoNumber) {
1766 RpoNumber rpo_number = constant.ToRpoNumber();
1772 } else if (constant.type() == Constant::kInt32) {
1774 constant.ToInt32());
1775 } else if (constant.type() == Constant::kInt64 &&
1776 constant.FitsInInt32()) {
1778 constant.ToInt32());
1782 immediates_.push_back(constant);