xref: /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/Argument.cpp (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 //===- Argument.cpp - The function Argument class of Sandbox IR -----------===//
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 #include "llvm/SandboxIR/Argument.h"
10 
11 namespace llvm::sandboxir {
12 
13 #ifndef NDEBUG
printAsOperand(raw_ostream & OS) const14 void Argument::printAsOperand(raw_ostream &OS) const {
15   printAsOperandCommon(OS);
16 }
dumpOS(raw_ostream & OS) const17 void Argument::dumpOS(raw_ostream &OS) const {
18   dumpCommonPrefix(OS);
19   dumpCommonSuffix(OS);
20 }
21 #endif // NDEBUG
22 
23 } // namespace llvm::sandboxir
24