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

Unified Diff: include/llvm/IR/InlineAsm.h

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/llvm/CodeGen/MachineInstrBuilder.h ('k') | include/llvm/IR/InstrTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/IR/InlineAsm.h
diff --git a/include/llvm/IR/InlineAsm.h b/include/llvm/IR/InlineAsm.h
index b2d79d0f0bfca8d9ef16513653867221950a5677..bffeb22785e40fd69e1b81bee50d8b1e2e57eb98 100644
--- a/include/llvm/IR/InlineAsm.h
+++ b/include/llvm/IR/InlineAsm.h
@@ -88,6 +88,13 @@ public:
///
static bool Verify(FunctionType *Ty, StringRef Constraints);
+ // @LOCALMOD-START
+ /// isAsmMemory - Returns true if the Instruction corresponds to
+ /// ``asm("":::"memory")``, which is often used as a compiler barrier.
+ ///
+ bool isAsmMemory() const;
+ // @LOCALMOD-END
+
// Constraint String Parsing
enum ConstraintPrefix {
isInput, // 'x'
« no previous file with comments | « include/llvm/CodeGen/MachineInstrBuilder.h ('k') | include/llvm/IR/InstrTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698