示例#1
0
 @Override
 protected TestCaseFiles getTestCaseFiles(Benchmark prog) {
   return TestHelper.compileToLLVMIRWithClang(
       prog.getFile(),
       TestHelper.getTempLLFile(prog.getFile(), "_main"),
       prog.getFlags(),
       ClangOptions.builder().optimizationLevel(OptimizationLevel.O1));
 }
示例#2
0
 @Parameterized.Parameters
 public static List<Benchmark[]> getTestFiles() {
   return getTestFiles(Arrays.asList(Benchmark.values()));
 }