clang
23.0.0git
lib
CIR
Dialect
Transforms
TargetLowering
TargetLoweringInfo.cpp
Go to the documentation of this file.
1
//===---- TargetLoweringInfo.cpp - 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.cpp.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#include "
TargetLoweringInfo.h
"
15
16
namespace
cir
{
17
18
TargetLoweringInfo::~TargetLoweringInfo
() =
default
;
19
20
cir::SyncScopeKind
21
TargetLoweringInfo::convertSyncScope
(cir::SyncScopeKind syncScope)
const
{
22
// By default, targets don't deal with sync scopes other than system scope.
23
return
cir::SyncScopeKind::System;
24
}
25
26
}
// namespace cir
TargetLoweringInfo.h
cir::TargetLoweringInfo::~TargetLoweringInfo
virtual ~TargetLoweringInfo()
cir::TargetLoweringInfo::convertSyncScope
virtual cir::SyncScopeKind convertSyncScope(cir::SyncScopeKind syncScope) const
Definition
TargetLoweringInfo.cpp:21
cir
Definition
ABIArgInfo.h:22
Generated on
for clang by
1.14.0