LLVM  17.0.0git
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 
14 
15 using namespace llvm;
16 
18  : MCTargetStreamer(S) {}
19 
22  "Improperly initialized target ABI");
23  TargetABI = ABI;
24 }
ABI
Generic address nodes are lowered to some combination of target independent and machine specific ABI
Definition: Relocation.txt:34
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:212
llvm::LoongArchTargetStreamer::setTargetABI
void setTargetABI(LoongArchABI::ABI ABI)
Definition: LoongArchTargetStreamer.cpp:20
llvm::MCTargetStreamer
Target specific streamer interface.
Definition: MCStreamer.h:93
llvm::LoongArchABI::ABI_Unknown
@ ABI_Unknown
Definition: LoongArchBaseInfo.h:54
assert
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
llvm::LoongArchABI::ABI
ABI
Definition: LoongArchBaseInfo.h:47
llvm::LoongArchTargetStreamer::LoongArchTargetStreamer
LoongArchTargetStreamer(MCStreamer &S)
Definition: LoongArchTargetStreamer.cpp:17
S
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Definition: README.txt:210
LoongArchTargetStreamer.h