Lines Matching refs:Scale

43 static bool checkScale(unsigned Scale, StringRef &ErrMsg) {  in checkScale()  argument
44 if (Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) { in checkScale()
337 unsigned BaseReg, IndexReg, TmpReg, Scale; member in __anon3be435310111::X86AsmParser::IntelExprStateMachine
349 TmpReg(0), Scale(0), Imm(0), Sym(nullptr), BracCount(0), in IntelExprStateMachine()
357 unsigned getScale() { return Scale; } in getScale()
464 Scale = 0; in onPlus()
517 Scale = 0; in onMinus()
575 Scale = IC.popOperand(); in onRegister()
576 if (checkScale(Scale, ErrMsg)) in onRegister()
650 Scale = TmpInt; in onInteger()
651 if (checkScale(Scale, ErrMsg)) in onInteger()
746 Scale = 0; in onRBrac()
846 unsigned IndexReg, unsigned Scale, SMLoc Start,
979 unsigned Scale, bool Is64BitMode, in CheckBaseRegAndIndexRegAndScale() argument
1064 return checkScale(Scale, ErrMsg); in CheckBaseRegAndIndexRegAndScale()
1348 unsigned Scale, SMLoc Start, SMLoc End, unsigned Size, StringRef Identifier, in CreateMemForInlineAsm() argument
1386 IndexReg, Scale, Start, End, Size, Identifier, in CreateMemForInlineAsm()
1894 unsigned Scale = SM.getScale(); in ParseIntelOperand() local
1896 if (Scale == 0 && BaseReg != X86::ESP && BaseReg != X86::RSP && in ParseIntelOperand()
1902 if (Scale == 0 && in ParseIntelOperand()
1911 if (Scale != 0 && in ParseIntelOperand()
1916 if (Scale == 0) in ParseIntelOperand()
1917 Scale = 1; in ParseIntelOperand()
1927 CheckBaseRegAndIndexRegAndScale(BaseReg, IndexReg, Scale, is64BitMode(), in ParseIntelOperand()
1932 Scale, Start, End, Size, SM.getSymName(), in ParseIntelOperand()
1937 BaseReg, IndexReg, Scale, Start, End, Size); in ParseIntelOperand()
2193 unsigned BaseReg = 0, IndexReg = 0, Scale = 1; in ParseMemOperand() local
2231 Scale = 1; in ParseMemOperand()
2251 Scale = (unsigned)ScaleVal; in ParseMemOperand()
2254 Scale != 1) in ParseMemOperand()
2257 if (checkScale(Scale, ErrMsg)) in ParseMemOperand()
2272 if (BaseReg == X86::DX && IndexReg == 0 && Scale == 1 && SegReg == 0 && in ParseMemOperand()
2276 if (CheckBaseRegAndIndexRegAndScale(BaseReg, IndexReg, Scale, is64BitMode(), in ParseMemOperand()
2282 IndexReg, Scale, StartLoc, EndLoc); in ParseMemOperand()