Home | History | Annotate | Download | only in ppc

Lines Matching defs:source

2 // Use of this source code is governed by a BSD-style license that can be
32 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) {
44 DCHECK(moves_[i].source()->IsConstantOperand());
55 // moves to perform, ignoring any move that is redundant (the source is
74 // be encountering the starting move again. So by spilling the source of
77 // its destination. All other moves from the spilled source have been
88 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated.
93 // dependencies. Any unperformed, unpending move with a source the same
101 // and all other moves with the same source as moves_[root_index_] are
111 // In this case, we have a cycle, and we save the source of this move to
140 // We save in a register the value that should end up in the source of
142 // in that move, we save the value to that source.
143 DCHECK(moves_[index].destination()->Equals(moves_[root_index_].source()));
146 LOperand* source = moves_[index].source();
148 if (source->IsRegister()) {
149 __ mr(kSavedValueRegister, cgen_->ToRegister(source));
150 } else if (source->IsStackSlot()) {
151 __ LoadP(kSavedValueRegister, cgen_->ToMemOperand(source));
152 } else if (source->IsDoubleRegister()) {
153 __ fmr(kScratchDoubleReg, cgen_->ToDoubleRegister(source));
154 } else if (source->IsDoubleStackSlot()) {
155 __ lfd(kScratchDoubleReg, cgen_->ToMemOperand(source));
187 LOperand* source = moves_[index].source();
190 // Dispatch on the source and destination operand kinds. Not all
193 if (source->IsRegister()) {
194 Register source_register = cgen_->ToRegister(source);
201 } else if (source->IsStackSlot()) {
202 MemOperand source_operand = cgen_->ToMemOperand(source);
217 } else if (source->IsConstantOperand()) {
218 LConstantOperand* constant_source = LConstantOperand::cast(source);
241 } else if (source->IsDoubleRegister()) {
242 DoubleRegister source_register = cgen_->ToDoubleRegister(source);
250 } else if (source->IsDoubleStackSlot()) {
251 MemOperand source_operand = cgen_->ToMemOperand(source);
264 MemOperand source_high_operand = cgen_->ToHighMemOperand(source);