Home
last modified time | relevance | path

Searched refs:getLoc (Results 1 – 25 of 212) sorted by relevance

123456789

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFObjectWriter.cpp64 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G3)); in isNonILP32reloc()
67 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2)); in isNonILP32reloc()
70 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G2)); in isNonILP32reloc()
73 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2_NC)); in isNonILP32reloc()
76 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G1)); in isNonILP32reloc()
79 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G1_NC)); in isNonILP32reloc()
82 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G2)); in isNonILP32reloc()
85 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G1_NC)); in isNonILP32reloc()
88 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G2)); in isNonILP32reloc()
91 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G1_NC)); in isNonILP32reloc()
[all …]
H A DAArch64AsmBackend.cpp158 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
169 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
171 Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned"); in adjustFixupValue()
180 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
187 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
189 Ctx.reportError(Fixup.getLoc(), "fixup must be 2-byte aligned"); in adjustFixupValue()
196 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
198 Ctx.reportError(Fixup.getLoc(), "fixup must be 4-byte aligned"); in adjustFixupValue()
205 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
207 Ctx.reportError(Fixup.getLoc(), "fixup must be 8-byte aligned"); in adjustFixupValue()
[all …]
H A DAArch64MachObjectWriter.cpp102 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo()
182 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
193 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
200 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); in recordRelocation()
212 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
244 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
251 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
265 Fixup.getLoc(), in recordRelocation()
272 Fixup.getLoc(), in recordRelocation()
280 Fixup.getLoc(), "unsupported relocation with identical base"); in recordRelocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp36 PrintFatalError(R->getLoc(), in CGIOperandList()
40 PrintFatalError(R->getLoc(), in CGIOperandList()
48 PrintFatalError(R->getLoc(), in CGIOperandList()
52 PrintFatalError(R->getLoc(), in CGIOperandList()
73 PrintFatalError(R->getLoc(), "Illegal operand for the '" + R->getName() + in CGIOperandList()
99 PrintFatalError(R->getLoc(), in CGIOperandList()
121 PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() + in CGIOperandList()
127 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() + in CGIOperandList()
131 PrintFatalError(R->getLoc(), in CGIOperandList()
161 PrintFatalError(TheDef->getLoc(), "'" + TheDef->getName() + in getOperandNamed()
[all …]
H A DGICombinerEmitter.cpp248 PrintError(TheDef.getLoc(), "One or more roots are unnecessary"); in reorientToRoots()
351 if (Defs->getOperatorAsDef(TheDef.getLoc())->getName() != "defs") { in parseDefs()
352 PrintError(TheDef.getLoc(), "Expected defs operator"); in parseDefs()
376 PrintError(TheDef.getLoc(), in parseDefs()
379 PrintError(TheDef.getLoc(), in parseDefs()
382 PrintError(TheDef.getLoc(), in parseDefs()
389 PrintError(TheDef.getLoc(), "Combine rules must have at least one root"); in parseDefs()
404 Target.getInstruction(Matcher->getOperatorAsDef(TheDef.getLoc())); in parseInstructionMatcher()
480 PrintError(TheDef.getLoc(), in parseWipMatchOpcodeMatcher()
493 if (Matchers->getOperatorAsDef(TheDef.getLoc())->getName() != "match") { in parseMatcher()
[all …]
H A DRISCVCompressInstEmitter.cpp212 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
226 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
239 Rec->getLoc(), in addDagOperandMapping()
264 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
269 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
281 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
321 PrintFatalError(Rec->getLoc(), in createDagOperandMapping()
327 PrintFatalError(Rec->getLoc(), "Operand " + SourceDag->getArgNameStr(i) + in createDagOperandMapping()
333 PrintFatalError(Rec->getLoc(), "Type mismatch between Input and " in createDagOperandMapping()
375 PrintFatalError(Rec->getLoc(), in createInstOperandMapping()
[all …]
H A DAsmWriterInst.cpp94 CGI.TheDef->getLoc(), in AsmWriterInst()
134 CGI.TheDef->getLoc(), in AsmWriterInst()
143 CGI.TheDef->getLoc(), in AsmWriterInst()
153 PrintFatalError(CGI.TheDef->getLoc(), in AsmWriterInst()
160 CGI.TheDef->getLoc(), in AsmWriterInst()
166 PrintFatalError(CGI.TheDef->getLoc(), in AsmWriterInst()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclAttr.cpp206 static SourceLocation getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc()
273 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << A; in checkAttrMutualExclusion()
474 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; in threadSafetyCheckIsPointer()
592 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
596 S.Diag(AL.getLoc(), diag::warn_thread_attribute_not_on_non_static_member) in checkAttrArgsAreCapabilityObjs()
621 S.Diag(AL.getLoc(), diag::warn_thread_attribute_ignored) << AL; in checkAttrArgsAreCapabilityObjs()
649 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
663 S.Diag(AL.getLoc(), diag::warn_thread_attribute_argument_not_lockable) in checkAttrArgsAreCapabilityObjs()
722 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_lockable) << AL; in checkAcquireOrderAttrCommon()
819 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) << AL; in handleAllocSizeAttr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp299 HasSoloAXInst->getLoc(), in checkAXOK()
302 reportError(I.getLoc(), in checkAXOK()
314 reportNote(I.getLoc(), "Branching instruction"); in reportBranchErrors()
325 reportError(MCB.getLoc(), in checkHWLoop()
347 reportError(I.getLoc(), in checkCOFMax1()
353 reportError(I.getLoc(), in checkCOFMax1()
359 reportError(I.getLoc(), in checkCOFMax1()
430 reportError(I.getLoc(), "New value register consumer has no producer"); in checkNewValues()
439 std::get<0>(Producer)->getLoc(), in checkNewValues()
441 reportError(I.getLoc(), in checkNewValues()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp90 Ctx.reportFatalError(Fixup.getLoc(), "unsupported relocation on symbol"); in GetRelocTypeInner()
95 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
162 Ctx.reportFatalError(Fixup.getLoc(), "unsupported relocation on symbol"); in GetRelocTypeInner()
167 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
176 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
185 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
229 Ctx.reportError(Fixup.getLoc(), "invalid fixup for ARM MOVT instruction"); in GetRelocTypeInner()
239 Ctx.reportError(Fixup.getLoc(), "invalid fixup for ARM MOVW instruction"); in GetRelocTypeInner()
249 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
260 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
H A DARMAsmBackend.cpp449 Ctx.reportError(Fixup.getLoc(), "bad relocation fixup type"); in adjustFixupValue()
504 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
525 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
563 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
587 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
608 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
652 Ctx.reportError(Fixup.getLoc(), "misaligned ARM call destination"); in adjustFixupValue()
682 Ctx.reportError(Fixup.getLoc(), FixupDiagnostic); in adjustFixupValue()
693 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
708 Ctx.reportError(Fixup.getLoc(), FixupDiagnostic); in adjustFixupValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYAsmBackend.cpp68 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
70 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
75 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
77 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
82 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
84 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
89 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
91 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp38 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in __anon774c3a3f0111::CSKYAsmParser
398 StartLoc = Tok.getLoc(); in ParseRegister()
411 SMLoc S = getLoc(); in parseRegister()
435 Operands.push_back(CSKYOperand::createToken("(", getLoc())); in parseBaseRegImm()
446 Error(getLoc(), "expected ','"); in parseBaseRegImm()
454 Error(getLoc(), "expected '<<'"); in parseBaseRegImm()
458 Operands.push_back(CSKYOperand::createToken("<<", getLoc())); in parseBaseRegImm()
463 Error(getLoc(), "expected imm"); in parseBaseRegImm()
468 Error(getLoc(), "expected imm"); in parseBaseRegImm()
473 Error(getLoc(), "expected ')'"); in parseBaseRegImm()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp114 PrintFatalError(creationRule.getLoc(), in ASTPropsEmitter()
128 PrintFatalError(overrideRule.getLoc(), in ASTPropsEmitter()
142 PrintFatalError(helperRule.getLoc(), in ASTPropsEmitter()
165 PrintFatalError(kindRule.getLoc(), in ASTPropsEmitter()
315 PrintError(existingProperty.getLoc(), in validateNode()
318 PrintNote(property.getLoc(), "existing property"); in validateNode()
328 PrintError(type.getLoc(), in validateType()
330 if (context) PrintNote(context.getLoc(), "type used here"); in validateType()
338 PrintError(valueType.getLoc(), in validateType()
340 if (context) PrintNote(context.getLoc(), "type used here"); in validateType()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp396 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); in tryParseRegisterOperand()
403 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
421 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
430 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
477 return Error(Parser.getTok().getLoc(), "unknown modifier"); in tryParseRelocExpression()
504 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
515 return Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
545 Parser.getTok().getLoc())); in parseOperand()
570 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
579 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp82 Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup"); in adjustFixupValue()
92 Ctx.reportError(Fixup.getLoc(), "out of range PC19 fixup"); in adjustFixupValue()
131 Ctx.reportError(Fixup.getLoc(), "out of range PC7 fixup"); in adjustFixupValue()
141 Ctx.reportError(Fixup.getLoc(), "out of range PC10 fixup"); in adjustFixupValue()
151 Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup"); in adjustFixupValue()
160 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
167 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
173 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
182 Ctx.reportError(Fixup.getLoc(), "out of range PC21 fixup"); in adjustFixupValue()
191 Ctx.reportError(Fixup.getLoc(), "out of range PC26 fixup"); in adjustFixupValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp43 Loc = getTok().getLoc(); in parseTokenLoc()
49 return Error(getTok().getLoc(), "expected newline"); in parseEOL()
56 return Error(getTok().getLoc(), Msg); in parseEOL()
65 return Error(getTok().getLoc(), Msg); in parseToken()
86 return check(P, getTok().getLoc(), Msg); in check()
96 return Error(getLexer().getLoc(), Msg, Range); in TokError()
H A DAsmParser.cpp845 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in enterIncludeFile()
861 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in processIncbinFile()
1006 printError(getTok().getLoc(), "unmatched .ifs or .elses"); in Run()
1013 printError(getTok().getLoc(), "unassigned file number: " + in Run()
1035 printError(getTok().getLoc(), "assembler local symbol '" + in Run()
1055 Out.Finish(Lexer.getLoc()); in Run()
1063 return Error(getTok().getLoc(), in checkForValidSection()
1080 const char *Start = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
1085 const char *End = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
1090 const char *Start = getTok().getLoc().getPointer(); in parseStringToComma()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp317 StartLoc = T.getLoc(); in tryParseRegister()
367 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
377 getLexer().getLoc())); in parseJccInstruction()
380 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
418 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
440 ParseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
442 ParseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
444 ParseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
467 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
472 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp157 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
166 Fixup.getLoc(), "unsupported pc-relative relocation of difference"); in RecordX86_64Relocation()
182 Fixup.getLoc(), "unsupported relocation with identical base"); in RecordX86_64Relocation()
190 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
260 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
267 Fixup.getLoc(), "unsupported relocation of undefined symbol '" + in RecordX86_64Relocation()
287 Fixup.getLoc(), "unsupported symbol modifier in relocation"); in RecordX86_64Relocation()
315 Fixup.getLoc(), in RecordX86_64Relocation()
334 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel"); in RecordX86_64Relocation()
338 Fixup.getLoc(), "unsupported symbol modifier in relocation"); in RecordX86_64Relocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h38 SourceLocation getLoc() const { return Loc; } in getLoc() function
47 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); in operator()
50 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); in operator()
53 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); in operator()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DError.cpp72 PrintNote(Rec->getLoc(), Msg); in PrintFatalNote()
81 PrintNote(RecVal->getLoc(), Msg); in PrintFatalNote()
114 PrintMessage(Rec->getLoc(), SourceMgr::DK_Error, Msg); in PrintError()
120 PrintMessage(RecVal->getLoc(), SourceMgr::DK_Error, Msg); in PrintError()
142 PrintError(Rec->getLoc(), Msg); in PrintFatalError()
151 PrintError(RecVal->getLoc(), Msg); in PrintFatalError()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp110 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
1479 StartLoc = PercentTok.getLoc(); in ParseRegister()
1518 return Error(IntTok.getLoc(), "expected stack index"); in ParseRegister()
1531 return Error(IntTok.getLoc(), "invalid stack index"); in ParseRegister()
1539 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseRegister()
1802 SMLoc OffsetLoc = getTok().getLoc(); in ParseIntelNamedOperator()
1861 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1878 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1890 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1896 SMLoc ValueLoc = Tok.getLoc(); in ParseIntelExpression()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp66 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in __anonb33428590111::RISCVAsmParser
1211 StartLoc = Tok.getLoc(); in tryParseRegister()
1225 SMLoc FirstS = getLoc(); in parseRegister()
1258 SMLoc S = getLoc(); in parseRegister()
1266 Operands.push_back(RISCVOperand::createToken(")", getLoc(), isRV64())); in parseRegister()
1274 SMLoc S = getLoc(); in parseCSRSystemRegister()
1348 SMLoc S = getLoc(); in parseImmediate()
1377 SMLoc S = getLoc(); in parseOperandWithModifier()
1381 Error(getLoc(), "expected '%' for operand modifier"); in parseOperandWithModifier()
1388 Error(getLoc(), "expected valid identifier for operand modifier"); in parseOperandWithModifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp33 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective()
53 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in findConditionalDirectiveRegionLoc()
66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
70 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in addCondDirectiveLoc()
71 DirLoc.getLoc())); in addCondDirectiveLoc()

123456789