clang
23.0.0git
lib
CIR
Dialect
Transforms
TargetLowering
TargetLoweringInfo.h
Go to the documentation of this file.
1
//===---- TargetLoweringInfo.h - Encapsulate target details -----*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file partially mimics the TargetCodeGenInfo class from the file
10
// clang/lib/CodeGen/TargetInfo.h.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_LIB_CIR_DIALECT_TRANSFORMS_TARGETLOWERING_TARGETLOWERINGINFO_H
15
#define LLVM_CLANG_LIB_CIR_DIALECT_TRANSFORMS_TARGETLOWERING_TARGETLOWERINGINFO_H
16
17
#include "
clang/CIR/Dialect/IR/CIROpsEnums.h
"
18
#include <string>
19
20
namespace
cir
{
21
22
class
TargetLoweringInfo
{
23
public
:
24
virtual
~TargetLoweringInfo
();
25
26
virtual
std::string
getLLVMSyncScope
(cir::SyncScopeKind syncScope)
const
;
27
};
28
29
}
// namespace cir
30
31
#endif
CIROpsEnums.h
cir::TargetLoweringInfo
Definition
TargetLoweringInfo.h:22
cir::TargetLoweringInfo::~TargetLoweringInfo
virtual ~TargetLoweringInfo()
cir::TargetLoweringInfo::getLLVMSyncScope
virtual std::string getLLVMSyncScope(cir::SyncScopeKind syncScope) const
Definition
TargetLoweringInfo.cpp:21
cir
Definition
ABIArgInfo.h:22
Generated on
for clang by
1.14.0