Andy Kaylor 49b79d5367
[CIR][NFC] Remove ABI handling from CIRGen call handling (#139159)
We want to defer ABI handling until we lower to the LLVM dialect. Some
code was in place to calculate ABI handling, but the computed effects
weren't actually used.

This corresponds to the changes made in
https://github.com/llvm/clangir/pull/1604
2025-05-09 12:23:48 -07:00

31 lines
724 B
C++

//===----- ABIInfo.h - ABI information access & encapsulation ---*- 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_LIB_CIR_ABIINFO_H
#define LLVM_CLANG_LIB_CIR_ABIINFO_H
namespace clang::CIRGen {
class CIRGenFunctionInfo;
class CIRGenTypes;
class ABIInfo {
ABIInfo() = delete;
public:
CIRGenTypes &cgt;
ABIInfo(CIRGenTypes &cgt) : cgt(cgt) {}
virtual ~ABIInfo();
};
} // namespace clang::CIRGen
#endif // LLVM_CLANG_LIB_CIR_ABIINFO_H