Deleted Added
sdiff udiff text old ( 276479 ) new ( 277320 )
full compact
1//===-- MipsAsmParser.cpp - Parse Mips assembly to MCInst instructions ----===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 186 unchanged lines hidden (view full) ---

195 bool processInstruction(MCInst &Inst, SMLoc IDLoc,
196 SmallVectorImpl<MCInst> &Instructions);
197
198 // Helper function that checks if the value of a vector index is within the
199 // boundaries of accepted values for each RegisterKind
200 // Example: INSERT.B $w0[n], $1 => 16 > n >= 0
201 bool validateMSAIndex(int Val, int RegKind);
202
203 void setFeatureBits(unsigned Feature, StringRef FeatureString) {
204 if (!(STI.getFeatureBits() & Feature)) {
205 setAvailableFeatures(
206 ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
207 }
208 }
209
210 void clearFeatureBits(unsigned Feature, StringRef FeatureString) {
211 if (STI.getFeatureBits() & Feature) {
212 setAvailableFeatures(
213 ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
214 }
215 }
216
217public:
218 enum MipsMatchResultTy {

--- 2802 unchanged lines hidden ---