//===- CoroShape.h - Coroutine info for lowering --------------*- C++ -*---===// // // 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 // //===----------------------------------------------------------------------===// // This file declares the shape info struct that is required by many coroutine // utility methods. //===----------------------------------------------------------------------===// #ifndef LLVM_TRANSFORMS_COROUTINES_COROSHAPE_H #define LLVM_TRANSFORMS_COROUTINES_COROSHAPE_H #include "llvm/IR/IRBuilder.h" #include "llvm/IR/PassManager.h" #include "llvm/Transforms/Coroutines/CoroInstr.h" namespace llvm { class CallGraph; namespace coro { enum class ABI { … }; // Holds structural Coroutine Intrinsics for a particular function and other // values used during CoroSplit pass. struct Shape { … }; } // end namespace coro } // end namespace llvm #endif // LLVM_TRANSFORMS_COROUTINES_COROSHAPE_H