/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// === [llvm_module_linked_llvm_cpu] static library ===
//
// To use:
//  - Include this header and generated object into your program
//  - At runtime: retrieve library name from host binary
//  - Query library from llvm_module_linked_llvm_cpu_library_query()<<
//  - Feed library into static_library_loader
//
// === Automatically generated file. DO NOT EDIT! ===

#ifndef SAMPLES_BRANCH_MUL_BRANCH_MUL_C_H_
#define SAMPLES_BRANCH_MUL_BRANCH_MUL_C_H_

#include "iree/hal/local/executable_library.h"

#if __cplusplus
extern "C" {
#endif  // __cplusplus

const iree_hal_executable_library_header_t**
llvm_module_linked_llvm_cpu_library_query(
    iree_hal_executable_library_version_t max_version,
    const iree_hal_executable_environment_v0_t* environment);

#if __cplusplus
}
#endif  // __cplusplus

#endif  // SAMPLES_BRANCH_MUL_BRANCH_MUL_C_H_
