@Test public void testGetTargets() throws Exception { List<Target> all = Target.getTargets(); assertFalse(all.isEmpty()); }
public static List<Target> getTargets() { List<Target> result = new ArrayList<Target>(); TargetRef ref = LLVM.GetFirstTarget(); while (ref != null) { result.add(new Target(ref)); ref = LLVM.GetNextTarget(ref); } return result; }
Target { public static List<Target> getTargets() { List<Target> result = new ArrayList<Target>(); TargetRef ref = LLVM.GetFirstTarget(); while (ref != null) { result.add(new Target(ref)); ref = LLVM.GetNextTarget(ref); } return result; } }
Target { public static List<Target> getTargets() { List<Target> result = new ArrayList<Target>(); TargetRef ref = LLVM.GetFirstTarget(); while (ref != null) { result.add(new Target(ref)); ref = LLVM.GetNextTarget(ref); } return result; } Target(TargetRef ref); }
Target { public static List<Target> getTargets() { List<Target> result = new ArrayList<Target>(); TargetRef ref = LLVM.GetFirstTarget(); while (ref != null) { result.add(new Target(ref)); ref = LLVM.GetNextTarget(ref); } return result; } Target(TargetRef ref); String getName(); String getDescription(); boolean hasJIT(); boolean hasTargetMachine(); boolean hasAsmBackend(); TargetMachine createTargetMachine(String triple); TargetMachine createTargetMachine(String triple, String cpu, String features, 
            CodeGenOptLevel optLevel, RelocMode relocMode, CodeModel codeModel); @Override int hashCode(); @Override boolean equals(Object obj); static String getHostTriple(); static Target getHostTarget(); static Target getTarget(String name); static Target lookupTarget(String triple); static List<Target> getTargets(); static Map<String, Target> getTargetsMap(); }
Target { public static List<Target> getTargets() { List<Target> result = new ArrayList<Target>(); TargetRef ref = LLVM.GetFirstTarget(); while (ref != null) { result.add(new Target(ref)); ref = LLVM.GetNextTarget(ref); } return result; } Target(TargetRef ref); String getName(); String getDescription(); boolean hasJIT(); boolean hasTargetMachine(); boolean hasAsmBackend(); TargetMachine createTargetMachine(String triple); TargetMachine createTargetMachine(String triple, String cpu, String features, 
            CodeGenOptLevel optLevel, RelocMode relocMode, CodeModel codeModel); @Override int hashCode(); @Override boolean equals(Object obj); static String getHostTriple(); static Target getHostTarget(); static Target getTarget(String name); static Target lookupTarget(String triple); static List<Target> getTargets(); static Map<String, Target> getTargetsMap();  }