/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }
/** * Extracts out all the local variable information from the given method. * * @param method {@code non-null;} the method to extract from * @return {@code non-null;} the extracted information */ public static LocalVariableInfo extract(SsaMethod method) { LocalVariableExtractor lve = new LocalVariableExtractor(method); return lve.doit(); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Does the extraction. * * @return {@code non-null;} the extracted information */ private LocalVariableInfo doit() { //FIXME why is this needed here? if (method.getRegCount() > 0 ) { for (int bi = method.getEntryBlockIndex(); bi >= 0; bi = workSet.nextSetBit(0)) { workSet.clear(bi); processBlock(bi); } } resultInfo.setImmutable(); return resultInfo; }