| Index: include/llvm/IR/InlineAsm.h
|
| diff --git a/include/llvm/IR/InlineAsm.h b/include/llvm/IR/InlineAsm.h
|
| index 33e4ab8522d1bf2fa2b2d7953798e28e2ae191d3..2c4a55820075b9b473fdbd5ffe38d65225b348dc 100644
|
| --- a/include/llvm/IR/InlineAsm.h
|
| +++ b/include/llvm/IR/InlineAsm.h
|
| @@ -92,6 +92,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'
|
|
|