Lines Matching defs:to
16 * 2 along with this work; if not, write to the Free Software Foundation,
90 try (Indent indent0 = debug.logAndIndent("Handle trace edge from %s (Trace%d) to %s (Trace%d)", fromBlock, resultTraces.getTraceForBlock(fromBlock).getId(), toBlock,
139 private static boolean isIllegalDestination(Value to) {
140 return isIllegal(to) || isConstantValue(to);
153 public static void addMapping(MoveResolver moveResolver, Value from, Value to) {
154 if (isIllegalDestination(to)) {
157 if (isShadowedRegisterValue(to)) {
158 ShadowedRegisterValue toSh = asShadowedRegisterValue(to);
162 if (isRegister(to)) {
163 addMappingToRegister(moveResolver, from, asRegisterValue(to));
165 assert isStackSlotValue(to) : "Expected stack slot: " + to;
166 addMappingToStackSlot(moveResolver, from, (AllocatableValue) to);
195 private static void checkAndAddMapping(MoveResolver moveResolver, Value from, AllocatableValue to, AllocatableValue fromStack) {
196 if (!from.equals(to) && (fromStack == null || !fromStack.equals(to))) {
197 moveResolver.addMapping(from, to, fromStack);