Home | History | Annotate | Download | only in optimizing

Lines Matching full:location

30       output_overlaps_(Location::kOutputOverlap),
45 Location Location::RegisterOrConstant(HInstruction* instruction) {
47 ? Location::ConstantLocation(instruction->AsConstant())
48 : Location::RequiresRegister();
51 Location Location::RegisterOrInt32Constant(HInstruction* instruction) {
56 return Location::ConstantLocation(constant);
59 return Location::RequiresRegister();
62 Location Location::FpuRegisterOrInt32Constant(HInstruction* instruction) {
67 return Location::ConstantLocation(constant);
70 return Location::RequiresFpuRegister();
73 Location Location::ByteRegisterOrConstant(int reg, HInstruction* instruction) {
75 ? Location::ConstantLocation(instruction->AsConstant())
76 : Location::RegisterLocation(reg);
79 Location Location::FpuRegisterOrConstant(HInstruction* instruction) {
81 ? Location::ConstantLocation(instruction->AsConstant())
82 : Location::RequiresFpuRegister();
85 std::ostream& operator<<(std::ostream& os, const Location& location) {
86 os << location.DebugString();
87 if (location.IsRegister() || location.IsFpuRegister()) {
88 os << location.reg();
89 } else if (location.IsPair()) {
90 os << location.low() << ":" << location.high();
91 } else if (location.IsStackSlot() || location.IsDoubleStackSlot()) {
92 os << location.GetStackIndex();