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