//===- execution_engine.c - Test for the C bindings for the MLIR JIT-------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM // Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /* RUN: mlir-capi-execution-engine-test 2>&1 | FileCheck %s */ /* REQUIRES: host-supports-jit */ #include "mlir-c/Conversion.h" #include "mlir-c/ExecutionEngine.h" #include "mlir-c/IR.h" #include "mlir-c/RegisterEverything.h" #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> static void registerAllUpstreamDialects(MlirContext ctx) { … } void lowerModuleToLLVM(MlirContext ctx, MlirModule module) { … } // CHECK-LABEL: Running test 'testSimpleExecution' void testSimpleExecution(void) { … } // CHECK-LABEL: Running test 'testOmpCreation' void testOmpCreation(void) { … } int main(void) { … }