Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: include/llvm/IR/NaClAsm.h

Issue 22474008: Add the new @llvm.nacl.atomic.fence.all intrinsic (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/llvm/IR/NaClAtomicIntrinsics.h » ('j') | lib/IR/NaClAtomicIntrinsics.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //===-- llvm/IR/NaClAsm.h - NaCl Assembly Handling --------------*- C++ -*-===//
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 provides utilities for NaCl's handling of assembly.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_IR_NACL_ASSEMBLY_H
15 #define LLVM_IR_NACL_ASSEMBLY_H
16
17 #include "llvm/IR/Instruction.h"
18
19 namespace llvm {
20
21 namespace NaCl {
22
23 /// Returns true if the Instruction corresponds to ``asm("":::"memory")``,
24 /// This is often used as a compiler barrier and NaCl tries to handle it
25 /// gracefully.
26 bool isAsmMemory(const Instruction *I);
27
28 } // End NaCl namespace
29
30 } // End llvm namespace
31
32 #endif
OLDNEW
« no previous file with comments | « no previous file | include/llvm/IR/NaClAtomicIntrinsics.h » ('j') | lib/IR/NaClAtomicIntrinsics.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698