X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FIR%2FInstructions.h;h=cc6c25974cd5422ed48a6691a033783ea3fab7aa;hp=28e1fd90fdf63cfde52c0cf5a02a0e2c120675da;hb=53395c948459c88257c8ae57b65831fab51e4646;hpb=e3322525f86c7a54cd2ab9b66bf35e8dd1c48dc2 diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 28e1fd90fdf..cc6c25974cd 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -228,6 +228,14 @@ public: LoadInst(Value *Ptr, const char *NameStr, bool isVolatile, BasicBlock *InsertAtEnd); + bool getHasSubsequentAcqlRMW() { + return hasSubsequentAcqlRMW_; + } + + void setHasSubsequentAcqlRMW(bool val) { + hasSubsequentAcqlRMW_ = val; + } + /// isVolatile - Return true if this is a load from a volatile memory /// location. /// @@ -306,6 +314,8 @@ private: void setInstructionSubclassData(unsigned short D) { Instruction::setInstructionSubclassData(D); } + + bool hasSubsequentAcqlRMW_; }; //===----------------------------------------------------------------------===//