Silence -Wunused-variable in release builds.
[llvm/stm8.git] / lib / Target / Blackfin / BlackfinIntrinsics.td
blobce21b082376f5c75f3579feeec4037abf85096a2
1 //===- BlackfinIntrinsics.td - Defines Blackfin intrinsics -*- tablegen -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines all of the blackfin-specific intrinsics.
12 //===----------------------------------------------------------------------===//
14 let TargetPrefix = "bfin", isTarget = 1 in {
16 //===----------------------------------------------------------------------===//
17 // Core synchronisation etc.
19 // These intrinsics have sideeffects. Each represent a single instruction, but
20 // workarounds are sometimes required depending on the cpu.
22 // Execute csync instruction with workarounds
23 def int_bfin_csync : GCCBuiltin<"__builtin_bfin_csync">,
24         Intrinsic<[]>;
26 // Execute ssync instruction with workarounds
27 def int_bfin_ssync : GCCBuiltin<"__builtin_bfin_ssync">,
28         Intrinsic<[]>;
30 // Execute idle instruction with workarounds
31 def int_bfin_idle : GCCBuiltin<"__builtin_bfin_idle">,
32         Intrinsic<[]>;