| 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 |
| 14 | void Argument::printAsOperand(raw_ostream &OS) const { |
| 15 | printAsOperandCommon(OS); |
| 16 | } |
| 17 | void Argument::dumpOS(raw_ostream &OS) const { |
| 18 | dumpCommonPrefix(OS); |
| 19 | dumpCommonSuffix(OS); |
| 20 | } |
| 21 | #endif // NDEBUG |
| 22 | |
| 23 | } // namespace llvm::sandboxir |
| 24 | |