LLVM
20.0.0git
lib
Target
LoongArch
MCTargetDesc
LoongArchTargetStreamer.cpp
Go to the documentation of this file.
1
//===-- LoongArchTargetStreamer.cpp - LoongArch Target Streamer Methods ---===//
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 provides LoongArch specific target streamer methods.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "
LoongArchTargetStreamer.h
"
14
15
using namespace
llvm
;
16
17
LoongArchTargetStreamer::LoongArchTargetStreamer
(
MCStreamer
&S)
18
:
MCTargetStreamer
(S) {}
19
20
void
LoongArchTargetStreamer::setTargetABI
(
LoongArchABI::ABI
ABI) {
21
assert
(ABI !=
LoongArchABI::ABI_Unknown
&&
22
"Improperly initialized target ABI"
);
23
TargetABI = ABI;
24
}
LoongArchTargetStreamer.h
assert
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
llvm::LoongArchTargetStreamer::LoongArchTargetStreamer
LoongArchTargetStreamer(MCStreamer &S)
Definition:
LoongArchTargetStreamer.cpp:17
llvm::LoongArchTargetStreamer::setTargetABI
void setTargetABI(LoongArchABI::ABI ABI)
Definition:
LoongArchTargetStreamer.cpp:20
llvm::MCStreamer
Streaming machine code generation interface.
Definition:
MCStreamer.h:213
llvm::MCTargetStreamer
Target specific streamer interface.
Definition:
MCStreamer.h:94
llvm::LoongArchABI::ABI
ABI
Definition:
LoongArchBaseInfo.h:62
llvm::LoongArchABI::ABI_Unknown
@ ABI_Unknown
Definition:
LoongArchBaseInfo.h:69
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Thu Nov 21 2024 04:09:13 for LLVM by
1.9.6