Lines Matching refs:Loc

651   std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg) {
652 Error(Loc, Msg);
656 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
657 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
940 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) {
945 /*IndexReg=*/0, /*Scale=*/1, Loc, Loc, 0);
948 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) {
953 /*IndexReg=*/0, /*Scale=*/1, Loc, Loc, 0);
1036 if ((*I).Loc.getPointer() > BracLoc.getPointer())
1041 (*I).Len = BracLoc.getPointer() - (*I).Loc.getPointer();
1059 if ((*I).Loc.getPointer() < StartInBrac.getPointer())
1072 SMLoc Loc = SMLoc::getFromPointer(SymLocPtr + SymName.size());
1074 AsmRewrites->push_back(AsmRewrite(AOK_Skip, Loc, Len));
1145 SMLoc Loc = getTok().getLoc();
1158 return Error(Loc, "invalid reference to undefined symbol");
1164 return Error(Loc, ErrMsg);
1168 return Error(Loc, ErrMsg);
1446 SMLoc Loc = SMLoc::getFromPointer(DotDispStr.data());
1449 InstInfo->AsmRewrites->push_back(AsmRewrite(AOK_DotOperator, Loc, Len,
1809 SMLoc Loc = Parser.getTok().getLoc();
1813 Error(Loc, "expected scale expression");
1820 Error(Loc, "scale factor in 16-bit address must be 1");
1824 Error(Loc, "scale factor in address must be 1, 2, 4 or 8");
1833 SMLoc Loc = Parser.getTok().getLoc();
1840 Warning(Loc, "scale factor without index register is ignored");
2011 SMLoc Loc = Op.getEndLoc();
2012 Operands.back() = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc);
2023 SMLoc Loc = Op.getEndLoc();
2024 Operands[1] = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc);