X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FValue.h;h=8740f353ab5188d4e591cd9f7cbb4935f9df6cb2;hb=0cf15d61b7e3bf53f5a99f58ada37b93bc039559;hp=0f4c522d3737e93043362fd88fb0ad2386457013;hpb=5d414b44fc7720a040357ec43f111f8ac53a59f4;p=oota-llvm.git diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 0f4c522d373..8740f353ab5 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -215,7 +215,6 @@ public: ConstantFPVal, // This is an instance of ConstantFP ConstantArrayVal, // This is an instance of ConstantArray ConstantStructVal, // This is an instance of ConstantStruct - ConstantUnionVal, // This is an instance of ConstantUnion ConstantVectorVal, // This is an instance of ConstantVector ConstantPointerNullVal, // This is an instance of ConstantPointerNull MDNodeVal, // This is an instance of MDNode @@ -307,6 +306,10 @@ public: return const_cast(this)->DoPHITranslation(CurBB, PredBB); } + /// MaximumAlignment - This is the greatest alignment value supported by + /// load, store, and alloca instructions, and global values. + static const unsigned MaximumAlignment = 1u << 29; + protected: unsigned short getSubclassDataFromValue() const { return SubclassData; } void setValueSubclassData(unsigned short D) { SubclassData = D; } @@ -401,10 +404,6 @@ public: enum { NumLowBitsAvailable = 2 }; }; -/// MaximumAlignment - This is the greatest alignment value supported by -/// load, store, and alloca instructions, and global values. -static const unsigned MaximumAlignment = 1u << 29; - } // End llvm namespace #endif