@Test public void testCreateTargetMachine() throws Exception { Target t = Target.getTarget("thumb"); try (TargetMachine tm = t.createTargetMachine("thumbv7-unknown-ios")) { assertNotNull(tm); assertEquals("thumbv7-unknown-ios", tm.getTriple()); assertEquals(t, tm.getTarget()); } }
public TargetMachine createTargetMachine(String triple) { return createTargetMachine(triple, null, null, null, null, null); }
Target { public TargetMachine createTargetMachine(String triple) { return createTargetMachine(triple, null, null, null, null, null); } }
Target { public TargetMachine createTargetMachine(String triple) { return createTargetMachine(triple, null, null, null, null, null); } Target(TargetRef ref); }
Target { public TargetMachine createTargetMachine(String triple) { return createTargetMachine(triple, null, null, null, null, null); } 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 TargetMachine createTargetMachine(String triple) { return createTargetMachine(triple, null, null, null, null, null); } 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();  }