Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFObjectWriter.cpp68 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G3)); in isNonILP32reloc()
71 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2)); in isNonILP32reloc()
74 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G2)); in isNonILP32reloc()
77 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2_NC)); in isNonILP32reloc()
80 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G1)); in isNonILP32reloc()
83 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G1_NC)); in isNonILP32reloc()
86 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G2)); in isNonILP32reloc()
89 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G1_NC)); in isNonILP32reloc()
92 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G2)); in isNonILP32reloc()
95 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G1_NC)); in isNonILP32reloc()
[all …]
H A DAArch64AsmBackend.cpp163 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
169 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
177 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
179 Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned"); in adjustFixupValue()
188 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
195 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
197 Ctx.reportError(Fixup.getLoc(), "fixup must be 2-byte aligned"); in adjustFixupValue()
204 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
206 Ctx.reportError(Fixup.getLoc(), "fixup must be 4-byte aligned"); in adjustFixupValue()
213 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
[all …]
H A DAArch64MachObjectWriter.cpp101 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo()
178 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
189 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
196 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); in recordRelocation()
208 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
240 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
247 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
261 Fixup.getLoc(), in recordRelocation()
268 Fixup.getLoc(), in recordRelocation()
276 Fixup.getLoc(), "unsupported relocation with identical base"); in recordRelocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEELFObjectWriter.cpp50 Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind"); in getRelocType()
54 Ctx.reportError(Fixup.getLoc(), in getRelocType()
59 Ctx.reportError(Fixup.getLoc(), in getRelocType()
67 Ctx.reportError(Fixup.getLoc(), in getRelocType()
82 Ctx.reportError(Fixup.getLoc(), "Unknown ELF relocation type"); in getRelocType()
85 Ctx.reportError(Fixup.getLoc(), "1-byte data relocation is not supported"); in getRelocType()
88 Ctx.reportError(Fixup.getLoc(), "2-byte data relocation is not supported"); in getRelocType()
97 Ctx.reportError(Fixup.getLoc(), in getRelocType()
105 Ctx.reportError(Fixup.getLoc(), in getRelocType()
109 Ctx.reportError(Fixup.getLoc(), in getRelocType()
[all...]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp34 PrintFatalError(R->getLoc(), in CGIOperandList()
38 PrintFatalError(R->getLoc(), in CGIOperandList()
46 PrintFatalError(R->getLoc(), in CGIOperandList()
50 PrintFatalError(R->getLoc(), in CGIOperandList()
75 PrintFatalError(R->getLoc(), "Illegal operand for the '" + R->getName() + in CGIOperandList()
101 PrintFatalError(R->getLoc(), in CGIOperandList()
123 PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() + in CGIOperandList()
130 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() + in CGIOperandList()
134 PrintFatalError(R->getLoc(), in CGIOperandList()
145 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() + in CGIOperandList()
[all …]
H A DCodeGenInstAlias.cpp175 PrintFatalError(R->getLoc(), in CodeGenInstAlias()
192 PrintFatalError(R->getLoc(), "result value $" + Result->getArgNameStr(i) + in CodeGenInstAlias()
217 PrintFatalError(R->getLoc(), "not enough arguments for instruction!"); in CodeGenInstAlias()
223 R->getLoc(), T, ResOp)) { in CodeGenInstAlias()
258 PrintFatalError(R->getLoc(), "not enough arguments for instruction!"); in CodeGenInstAlias()
260 if (tryAliasOpMatch(Result, AliasOpNo, SubRec, false, R->getLoc(), T, in CodeGenInstAlias()
267 R->getLoc(), in CodeGenInstAlias()
275 PrintFatalError(R->getLoc(), in CodeGenInstAlias()
282 PrintFatalError(R->getLoc(), "too many operands for instruction!"); in CodeGenInstAlias()
H A DAsmWriterInst.cpp95 CGI.TheDef->getLoc(), in AsmWriterInst()
136 CGI.TheDef->getLoc(), in AsmWriterInst()
145 CGI.TheDef->getLoc(), in AsmWriterInst()
154 PrintFatalError(CGI.TheDef->getLoc(), in AsmWriterInst()
161 CGI.TheDef->getLoc(), in AsmWriterInst()
167 PrintFatalError(CGI.TheDef->getLoc(), in AsmWriterInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp308 HasSoloAXInst->getLoc(), in checkAXOK()
311 reportError(I.getLoc(), in checkAXOK()
322 reportNote(I.getLoc(), "Branching instruction"); in reportBranchErrors()
332 reportError(MCB.getLoc(), in checkHWLoop()
353 reportError(I.getLoc(), in checkCOFMax1()
359 reportError(I.getLoc(), in checkCOFMax1()
365 reportError(I.getLoc(), in checkCOFMax1()
436 reportError(ConsumerInst.getLoc(), in checkNewValues()
447 ProducerInst->getLoc(), in checkNewValues()
449 reportError(ConsumerInst.getLoc(), in checkNewValues()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp
H A DCompressInstEmitter.cpp222 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
236 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
249 Rec->getLoc(), in addDagOperandMapping()
274 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
279 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
291 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
331 PrintFatalError(Rec->getLoc(), in createDagOperandMapping()
337 PrintFatalError(Rec->getLoc(), "Operand " + SourceDag->getArgNameStr(I) + in createDagOperandMapping()
343 PrintFatalError(Rec->getLoc(), "Type mismatch between Input and " in createDagOperandMapping()
385 PrintFatalError(Rec->getLoc(), in createInstOperandMapping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYAsmBackend.cpp106 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
108 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
113 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
115 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
120 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
122 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
127 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
129 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
134 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
136 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
[all …]
H A DCSKYELFObjectWriter.cpp47 Ctx.reportError(Fixup.getLoc(), "Unsupported relocation type"); in getRelocType()
72 Ctx.reportError(Fixup.getLoc(), "Unsupported relocation type"); in getRelocType()
75 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported"); in getRelocType()
78 Ctx.reportError(Fixup.getLoc(), "2-byte data relocations not supported"); in getRelocType()
107 Ctx.reportError(Fixup.getLoc(), "unknown target FK_Data_4"); in getRelocType()
111 Ctx.reportError(Fixup.getLoc(), in getRelocType()
132 Ctx.reportError(Fixup.getLoc(), "8-byte data relocations not supported"); in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp68 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in __anonbb596bd40111::CSKYAsmParser
845 Inst.getLoc()); in processLRW()
862 Inst.getOperand(1).getExpr(), Inst.getLoc(), AdjustExpr); in processLRW()
879 Inst.getLoc()); in processJSRI()
885 Inst.getOperand(0).getExpr(), Inst.getLoc()); in processJSRI()
900 Inst.getLoc()); in processJMPI()
906 Inst.getOperand(0).getExpr(), Inst.getLoc()); in processJMPI()
990 Inst.getOperand(Num).getExpr(), Inst.getLoc()); in processInstruction()
1016 StartLoc = Tok.getLoc(); in parseRegister()
1029 SMLoc S = getLoc(); in parseRegister()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp90 SourceLocation Sema::getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc()
225 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; in threadSafetyCheckIsPointer()
343 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
347 S.Diag(AL.getLoc(), diag::warn_thread_attribute_not_on_non_static_member) in checkAttrArgsAreCapabilityObjs()
372 S.Diag(AL.getLoc(), diag::warn_thread_attribute_ignored) << AL; in checkAttrArgsAreCapabilityObjs()
400 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
414 S.Diag(AL.getLoc(), diag::warn_thread_attribute_argument_not_lockable) in checkAttrArgsAreCapabilityObjs()
473 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_lockable) << AL; in checkAcquireOrderAttrCommon()
570 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) << AL; in handleAllocSizeAttr()
605 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in checkTryLockFunAttrCommon()
[all …]
H A DSemaSwift.cpp34 Diag(SNA.getLoc(), diag::note_conflicting_attribute); in mergeNameAttr()
96 Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleBridge()
132 S.Diag(AL.getLoc(), diag::err_attr_swift_error_no_error_parameter) in handleError()
145 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleError()
156 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleError()
169 Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleError()
287 Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleAsyncError()
635 Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleNewType()
643 Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << II; in handleNewType()
648 Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type_str) in handleNewType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaAsmBackend.cpp93 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
101 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
106 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
111 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
116 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
118 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
125 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
127 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp90 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
100 Ctx.reportError(Fixup.getLoc(), "unsupported relocation type"); in GetRelocTypeInner()
105 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
192 Ctx.reportError(Fixup.getLoc(), "unsupported relocation type"); in GetRelocTypeInner()
197 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
206 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
215 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
271 Ctx.reportError(Fixup.getLoc(), "invalid fixup for ARM MOVT instruction"); in GetRelocTypeInner()
281 Ctx.reportError(Fixup.getLoc(), "invalid fixup for ARM MOVW instruction"); in GetRelocTypeInner()
291 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp45 Loc = getTok().getLoc(); in parseTokenLoc()
51 return Error(getTok().getLoc(), "expected newline"); in parseEOL()
58 return Error(getTok().getLoc(), Msg); in parseEOL()
67 return Error(getTok().getLoc(), Msg); in parseToken()
88 return check(P, getTok().getLoc(), Msg); in check()
98 return Error(getLexer().getLoc(), Msg, Range); in TokError()
149 TagLoc = getTok().getLoc(); in parseGNUAttribute()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp412 return Error(Parser.getTok().getLoc(), "invalid register on avrtiny"); in tryParseRegisterOperand()
415 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); in tryParseRegisterOperand()
422 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
445 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
454 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
489 return Error(Parser.getTok().getLoc(), "unknown modifier"); in tryParseRelocExpression()
516 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
527 return Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
557 Parser.getTok().getLoc())); in parseOperand()
581 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp83 Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup"); in adjustFixupValue()
93 Ctx.reportError(Fixup.getLoc(), "out of range PC19 fixup"); in adjustFixupValue()
132 Ctx.reportError(Fixup.getLoc(), "out of range PC7 fixup"); in adjustFixupValue()
142 Ctx.reportError(Fixup.getLoc(), "out of range PC10 fixup"); in adjustFixupValue()
152 Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup"); in adjustFixupValue()
161 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
168 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
174 Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup"); in adjustFixupValue()
183 Ctx.reportError(Fixup.getLoc(), "out of range PC21 fixup"); in adjustFixupValue()
192 Ctx.reportError(Fixup.getLoc(), "out of range PC26 fixup"); in adjustFixupValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp148 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
157 Fixup.getLoc(), "unsupported pc-relative relocation of difference"); in RecordX86_64Relocation()
173 Fixup.getLoc(), "unsupported relocation with identical base"); in RecordX86_64Relocation()
181 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
250 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
257 Fixup.getLoc(), "unsupported relocation of undefined symbol '" + in RecordX86_64Relocation()
277 Fixup.getLoc(), "unsupported symbol modifier in relocation"); in RecordX86_64Relocation()
305 Fixup.getLoc(), in RecordX86_64Relocation()
324 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel"); in RecordX86_64Relocation()
328 Fixup.getLoc(), "unsupported symbol modifier in relocation"); in RecordX86_64Relocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp39 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in XtensaAsmParser
516 SMLoc S = getLexer().getLoc(); in parsePCRelTarget()
527 return Error(getLoc(), "unknown operand"); in parsePCRelTarget()
529 Operands.push_back(XtensaOperand::createImm(Expr, S, getLexer().getLoc())); in parsePCRelTarget()
536 StartLoc = Tok.getLoc(); in parseRegister()
551 SMLoc FirstS = getLoc(); in parseRegister()
595 SMLoc S = getLoc(); in parseRegister()
602 Operands.push_back(XtensaOperand::createToken(")", getLoc())); in parseRegister()
609 SMLoc S = getLoc(); in parseImmediate()
673 return Error(getLoc(), "unknown operand"); in parseOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp317 StartLoc = T.getLoc(); in tryParseRegister()
366 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
376 getLexer().getLoc())); in parseJccInstruction()
379 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
414 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
436 return ParseLiteralValues(4, DirectiveID.getLoc()); in parseDirective()
438 return ParseLiteralValues(2, DirectiveID.getLoc()); in parseDirective()
440 return ParseLiteralValues(1, DirectiveID.getLoc()); in parseDirective()
462 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
467 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()

12345678910