Home
last modified time | relevance | path

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

123456789

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFObjectWriter.cpp66 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G3)); in isNonILP32reloc()
69 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2)); in isNonILP32reloc()
72 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G2)); in isNonILP32reloc()
75 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2_NC)); in isNonILP32reloc()
78 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G1)); in isNonILP32reloc()
81 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G1_NC)); in isNonILP32reloc()
84 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G2)); in isNonILP32reloc()
87 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G1_NC)); in isNonILP32reloc()
90 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G2)); in isNonILP32reloc()
93 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G1_NC)); in isNonILP32reloc()
[all …]
H A DAArch64AsmBackend.cpp159 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
165 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
173 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
175 Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned"); in adjustFixupValue()
184 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
191 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
193 Ctx.reportError(Fixup.getLoc(), "fixup must be 2-byte aligned"); in adjustFixupValue()
200 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
202 Ctx.reportError(Fixup.getLoc(), "fixup must be 4-byte aligned"); in adjustFixupValue()
209 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); 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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp35 PrintFatalError(R->getLoc(), in CGIOperandList()
39 PrintFatalError(R->getLoc(), in CGIOperandList()
47 PrintFatalError(R->getLoc(), in CGIOperandList()
51 PrintFatalError(R->getLoc(), in CGIOperandList()
76 PrintFatalError(R->getLoc(), "Illegal operand for the '" + R->getName() + in CGIOperandList()
102 PrintFatalError(R->getLoc(), in CGIOperandList()
124 PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() + in CGIOperandList()
131 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() + in CGIOperandList()
135 PrintFatalError(R->getLoc(), in CGIOperandList()
146 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() + in CGIOperandList()
[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 DAsmWriterInst.cpp95 CGI.TheDef->getLoc(), in AsmWriterInst()
135 CGI.TheDef->getLoc(), in AsmWriterInst()
144 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()
H A DCompressInstEmitter.cpp221 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
235 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
248 Rec->getLoc(), in addDagOperandMapping()
273 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
278 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
290 PrintFatalError(Inst.TheDef->getLoc(), in verifyDagOpCount()
330 PrintFatalError(Rec->getLoc(), in createDagOperandMapping()
336 PrintFatalError(Rec->getLoc(), "Operand " + SourceDag->getArgNameStr(i) + in createDagOperandMapping()
342 PrintFatalError(Rec->getLoc(), "Type mismatch between Input and " in createDagOperandMapping()
384 PrintFatalError(Rec->getLoc(), in createInstOperandMapping()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp66 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in __anon2574f58b0111::CSKYAsmParser
844 Inst.getLoc()); in processLRW()
861 Inst.getOperand(1).getExpr(), Inst.getLoc(), AdjustExpr); in processLRW()
878 Inst.getLoc()); in processJSRI()
884 Inst.getOperand(0).getExpr(), Inst.getLoc()); in processJSRI()
899 Inst.getLoc()); in processJMPI()
905 Inst.getOperand(0).getExpr(), Inst.getLoc()); in processJMPI()
989 Inst.getOperand(Num).getExpr(), Inst.getLoc()); in processInstruction()
1015 StartLoc = Tok.getLoc(); in parseRegister()
1028 SMLoc S = getLoc(); in parseRegister()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp312 HasSoloAXInst->getLoc(), in checkAXOK()
315 reportError(I.getLoc(), in checkAXOK()
326 reportNote(I.getLoc(), "Branching instruction"); in reportBranchErrors()
336 reportError(MCB.getLoc(), in checkHWLoop()
357 reportError(I.getLoc(), in checkCOFMax1()
363 reportError(I.getLoc(), in checkCOFMax1()
369 reportError(I.getLoc(), in checkCOFMax1()
440 reportError(ConsumerInst.getLoc(), in checkNewValues()
451 ProducerInst->getLoc(), in checkNewValues()
453 reportError(ConsumerInst.getLoc(), in checkNewValues()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYAsmBackend.cpp107 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
109 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
114 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
116 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
121 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
123 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
128 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
130 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
135 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
137 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()
126 Ctx.reportError(Fixup.getLoc(), "8-byte data relocations not supported"); in getRelocType()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclAttr.cpp209 static SourceLocation getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc()
276 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << A; in checkAttrMutualExclusion()
486 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; in threadSafetyCheckIsPointer()
604 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
608 S.Diag(AL.getLoc(), diag::warn_thread_attribute_not_on_non_static_member) in checkAttrArgsAreCapabilityObjs()
633 S.Diag(AL.getLoc(), diag::warn_thread_attribute_ignored) << AL; in checkAttrArgsAreCapabilityObjs()
661 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
675 S.Diag(AL.getLoc(), diag::warn_thread_attribute_argument_not_lockable) in checkAttrArgsAreCapabilityObjs()
734 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_lockable) << AL; in checkAcquireOrderAttrCommon()
831 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) << AL; in handleAllocSizeAttr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp90 Ctx.reportError(Fixup.getLoc(), "unsupported relocation on symbol"); in GetRelocTypeInner()
95 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner()
162 Ctx.reportError(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()
/openbsd-src/gnu/llvm/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()
150 TagLoc = getTok().getLoc(); in parseGNUAttribute()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp115 PrintFatalError(creationRule.getLoc(), in ASTPropsEmitter()
129 PrintFatalError(overrideRule.getLoc(), in ASTPropsEmitter()
143 PrintFatalError(helperRule.getLoc(), in ASTPropsEmitter()
166 PrintFatalError(kindRule.getLoc(), in ASTPropsEmitter()
316 PrintError(existingProperty.getLoc(), in validateNode()
319 PrintNote(property.getLoc(), "existing property"); in validateNode()
329 PrintError(type.getLoc(), in validateType()
331 if (context) PrintNote(context.getLoc(), "type used here"); in validateType()
339 PrintError(valueType.getLoc(), in validateType()
341 if (context) PrintNote(context.getLoc(), "type used here"); in validateType()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaAsmBackend.cpp95 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
103 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
108 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
113 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
118 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
120 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
127 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
129 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp413 return Error(Parser.getTok().getLoc(), "invalid register on avrtiny"); in tryParseRegisterOperand()
416 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); in tryParseRegisterOperand()
423 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
441 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
450 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
485 return Error(Parser.getTok().getLoc(), "unknown modifier"); in tryParseRelocExpression()
512 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
523 return Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
552 Parser.getTok().getLoc())); in parseOperand()
576 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
[all …]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp36 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in XtensaAsmParser
442 SMLoc S = getLexer().getLoc(); in parsePCRelTarget()
453 Error(getLoc(), "unknown operand"); in parsePCRelTarget()
457 Operands.push_back(XtensaOperand::createImm(Expr, S, getLexer().getLoc())); in parsePCRelTarget()
464 StartLoc = Tok.getLoc(); in parseRegister()
479 SMLoc FirstS = getLoc(); in parseRegister()
523 SMLoc S = getLoc(); in parseRegister()
530 Operands.push_back(XtensaOperand::createToken(")", getLoc())); in parseRegister()
537 SMLoc S = getLoc(); in parseImmediate()
603 Error(getLoc(), "unknown operand"); in parseOperand()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp320 StartLoc = T.getLoc(); in tryParseRegister()
370 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
380 getLexer().getLoc())); in parseJccInstruction()
383 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
421 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
443 ParseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
445 ParseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
447 ParseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
470 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
475 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.cpp98 reportOutOfRangeError(Ctx, Fixup.getLoc(), 18); in adjustFixupValue()
100 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
105 reportOutOfRangeError(Ctx, Fixup.getLoc(), 23); in adjustFixupValue()
107 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
112 reportOutOfRangeError(Ctx, Fixup.getLoc(), 28); in adjustFixupValue()
114 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
/openbsd-src/gnu/llvm/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 …]

123456789