Lines Matching refs:flags

78  * The main component of this class is the vector of flags and the
80 * solely on these flags can process instructions without being
97 std::bitset<Num_Flags> flags;
152 /// instruction property flags. See StaticInst::Flags for descriptions
153 /// of the individual flags.
156 bool isNop() const { return flags[IsNop]; }
158 bool isMemRef() const { return flags[IsMemRef]; }
159 bool isLoad() const { return flags[IsLoad]; }
160 bool isStore() const { return flags[IsStore]; }
161 bool isAtomic() const { return flags[IsAtomic]; }
162 bool isStoreConditional() const { return flags[IsStoreConditional]; }
163 bool isInstPrefetch() const { return flags[IsInstPrefetch]; }
164 bool isDataPrefetch() const { return flags[IsDataPrefetch]; }
168 bool isInteger() const { return flags[IsInteger]; }
169 bool isFloating() const { return flags[IsFloating]; }
170 bool isVector() const { return flags[IsVector]; }
171 bool isCC() const { return flags[IsCC]; }
173 bool isControl() const { return flags[IsControl]; }
174 bool isCall() const { return flags[IsCall]; }
175 bool isReturn() const { return flags[IsReturn]; }
176 bool isDirectCtrl() const { return flags[IsDirectControl]; }
177 bool isIndirectCtrl() const { return flags[IsIndirectControl]; }
178 bool isCondCtrl() const { return flags[IsCondControl]; }
179 bool isUncondCtrl() const { return flags[IsUncondControl]; }
180 bool isCondDelaySlot() const { return flags[IsCondDelaySlot]; }
182 bool isThreadSync() const { return flags[IsThreadSync]; }
183 bool isSerializing() const { return flags[IsSerializing] ||
184 flags[IsSerializeBefore] ||
185 flags[IsSerializeAfter]; }
186 bool isSerializeBefore() const { return flags[IsSerializeBefore]; }
187 bool isSerializeAfter() const { return flags[IsSerializeAfter]; }
188 bool isSquashAfter() const { return flags[IsSquashAfter]; }
189 bool isMemBarrier() const { return flags[IsMemBarrier]; }
190 bool isWriteBarrier() const { return flags[IsWriteBarrier]; }
191 bool isNonSpeculative() const { return flags[IsNonSpeculative]; }
192 bool isQuiesce() const { return flags[IsQuiesce]; }
193 bool isIprAccess() const { return flags[IsIprAccess]; }
194 bool isUnverifiable() const { return flags[IsUnverifiable]; }
195 bool isSyscall() const { return flags[IsSyscall]; }
196 bool isMacroop() const { return flags[IsMacroop]; }
197 bool isMicroop() const { return flags[IsMicroop]; }
198 bool isDelayedCommit() const { return flags[IsDelayedCommit]; }
199 bool isLastMicroop() const { return flags[IsLastMicroop]; }
200 bool isFirstMicroop() const { return flags[IsFirstMicroop]; }
202 bool isMicroBranch() const { return flags[IsMicroBranch]; }
205 void setFirstMicroop() { flags[IsFirstMicroop] = true; }
206 void setLastMicroop() { flags[IsLastMicroop] = true; }
207 void setDelayedCommit() { flags[IsDelayedCommit] = true; }
208 void setFlag(Flags f) { flags[f] = true; }