| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | SourceMgrTest.cpp | 30 SMLoc getLoc(unsigned Offset) { in getLoc() function in __anon7599ec1f0111::SourceMgrTest 36 return SMRange(getLoc(Offset), getLoc(Offset + Length)); in getRange() 51 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None); in TEST_F() 71 printMessage(getLoc(4), SourceMgr::DK_Remark, "message", None, None); in TEST_F() 81 printMessage(getLoc(4), SourceMgr::DK_Note, "message", None, None); in TEST_F() 91 printMessage(getLoc(6), SourceMgr::DK_Error, "message", None, None); in TEST_F() 101 printMessage(getLoc(7), SourceMgr::DK_Error, "message", None, None); in TEST_F() 111 printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None); in TEST_F() 121 printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None); in TEST_F() 477 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64ELFObjectWriter.cpp | 140 Ctx.reportError(Fixup.getLoc(), in getRelocType() 148 Ctx.reportError(Fixup.getLoc(), in getRelocType() 170 Ctx.reportError(Fixup.getLoc(), in getRelocType() 204 Ctx.reportError(Fixup.getLoc(), in getRelocType() 228 Ctx.reportError(Fixup.getLoc(), in getRelocType() 243 Ctx.reportError(Fixup.getLoc(), in getRelocType() 258 Ctx.reportError(Fixup.getLoc(), in getRelocType() 317 Ctx.reportError(Fixup.getLoc(), in getRelocType() 366 Ctx.reportError(Fixup.getLoc(), in getRelocType() 381 Ctx.reportError(Fixup.getLoc(), in getRelocType() [all …]
|
| H A D | AArch64AsmBackend.cpp | 159 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue() 173 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); 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() 200 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue() 209 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue() 218 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue() 230 Ctx.reportError(Fixup.getLoc(), in adjustFixupValue() 240 Ctx.reportError(Fixup.getLoc(), in adjustFixupValue() 302 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue() [all …]
|
| H A D | AArch64MachObjectWriter.cpp | 102 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo() 182 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 193 Asm.getContext().reportError(Fixup.getLoc(), 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() 312 Fixup.getLoc(), in recordRelocation() 349 Fixup.getLoc(), in recordRelocation() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | ParallelLoopTiling.cpp | 56 auto zero = b.create<arith::ConstantIndexOp>(op.getLoc(), 0); in tileParallelLoop() 62 b.create<arith::ConstantIndexOp>(op.getLoc(), tileSizes[i])); in tileParallelLoop() 66 b.create<arith::ConstantIndexOp>(op.getLoc(), 1)); in tileParallelLoop() 76 auto outerLoop = b.create<ParallelOp>(op.getLoc(), op.getLowerBound(), in tileParallelLoop() 130 b.create<AffineMinOp>(op.getLoc(), b.getIndexType(), minMap, in tileParallelLoop() 134 op.getLoc(), SmallVector<Value, 2>(newBounds.size(), zero), newBounds, in tileParallelLoop() 150 op.getLoc(), b.create<arith::MulIOp>(op.getLoc(), innerIV, innerStep), in tileParallelLoop() 153 op.getLoc(), arith::CmpIPredicate::ult, index, outerUpperBound); in tileParallelLoop() 154 inbound = b.create<arith::AndIOp>(op.getLoc(), inbound, dimInbound); in tileParallelLoop() 156 auto ifInbound = b.create<IfOp>(op.getLoc(), in tileParallelLoop() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/MCTargetDesc/ |
| H A D | VEELFObjectWriter.cpp | 50 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()
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestInterfaces.cpp | 31 testInterface.printTypeA(op->getLoc()); in runOnOperation() 32 testInterface.printTypeB(op->getLoc()); in runOnOperation() 33 testInterface.printTypeC(op->getLoc()); in runOnOperation() 34 testInterface.printTypeD(op->getLoc()); in runOnOperation() 37 TestTypeInterface result = testInterface.printTypeRet(op->getLoc()); in runOnOperation() 41 testType.printTypeE(op->getLoc()); in runOnOperation()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenInstruction.cpp | 35 PrintFatalError(R->getLoc(), in CGIOperandList() 39 PrintFatalError(R->getLoc(), in CGIOperandList() 47 PrintFatalError(R->getLoc(), in CGIOperandList() 51 PrintFatalError(R->getLoc(), in CGIOperandList() 98 PrintFatalError(R->getLoc(), in CGIOperandList() 130 PrintFatalError(R->getLoc(), in CGIOperandList() 181 PrintFatalError(TheDef->getLoc(), in ParseOperandName() 192 PrintFatalError(TheDef->getLoc(), in ParseOperandName() 204 PrintFatalError(TheDef->getLoc(), in ParseOperandName() 685 PrintFatalError(R->getLoc(), in CodeGenInstAlias() [all …]
|
| H A D | GICombinerEmitter.cpp | 376 PrintError(TheDef.getLoc(), in parseDefs() 379 PrintError(TheDef.getLoc(), in parseDefs() 382 PrintError(TheDef.getLoc(), in parseDefs() 480 PrintError(TheDef.getLoc(), in parseWipMatchOpcodeMatcher() 499 PrintError(TheDef.getLoc(), "Matcher is empty"); in parseMatcher() 525 PrintError(TheDef.getLoc(), in parseMatcher() 536 PrintError(TheDef.getLoc(), in parseMatcher() 681 TheDef.getLoc(), in makeCombineRule() 778 PrintError(RuleDef.getLoc(), in generateCodeForTree() 853 PrintNote(Combiner->getLoc(), in run() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 66 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() function in __anon1c3a35040111::CSKYAsmParser 877 Inst.getLoc()); in processJSRI() 898 Inst.getLoc()); in processJMPI() 1027 SMLoc S = getLoc(); in parseRegister() 1119 SMLoc S = getLoc(); in parseImmediate() 1171 SMLoc S = getLoc(); in parseCSKYSymbol() 1251 SMLoc S = getLoc(); in parseDataSymbol() 1353 SMLoc S = getLoc(); in parseConstpoolSymbol() 1445 SMLoc S = getLoc(); in parsePSRFlag() 1489 SMLoc S = getLoc(); in parseRegSeq() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 315 HasSoloAXInst->getLoc(), in checkAXOK() 318 reportError(I.getLoc(), in checkAXOK() 339 reportError(MCB.getLoc(), in checkHWLoop() 360 reportError(I.getLoc(), in checkCOFMax1() 366 reportError(I.getLoc(), in checkCOFMax1() 372 reportError(I.getLoc(), in checkCOFMax1() 454 ProducerInst->getLoc(), in checkNewValues() 473 ProducerInst->getLoc(), in checkNewValues() 731 MCB.getLoc(), in checkValidTmpDst() 736 reportNote(I.getLoc(), in checkValidTmpDst() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYAsmBackend.cpp | 107 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() 137 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue() 149 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue() [all …]
|
| H A D | CSKYELFObjectWriter.cpp | 47 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()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | SerializeOps.cpp | 86 if (failed(processType(op.getLoc(), op.type(), typeID))) { in processSpecConstantCompositeOp() 122 if (failed(processType(op.getLoc(), op.getType(), typeID))) { in processSpecConstantOperationOp() 168 if (failed(processType(op.getLoc(), undefType, typeID))) in processUndefOp() 193 if (failed(processType(op.getLoc(), in processFuncOp() 291 if (failed(emitDebugLine(functionHeader, op.getLoc()))) in processVariableOp() 337 return emitError(varOp.getLoc(), in processGlobalVariableOp() 374 auto loc = selectionOp.getLoc(); in processSelectionOp() 432 auto loc = loopOp.getLoc(); in processLoopOp() 503 if (failed(emitDebugLine(functionBody, branchOp.getLoc()))) in processBranchOp() 644 if (failed(processType(op.getLoc(), resultTy, resTypeID))) in processOp() [all …]
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Operator.cpp | 437 PrintFatalError(def.getLoc(), in populateOpStructure() 473 def.getLoc(), in populateOpStructure() 515 PrintFatalError(def.getLoc(), in populateOpStructure() 528 def.getLoc(), in populateOpStructure() 537 PrintFatalError(def.getLoc(), in populateOpStructure() 545 PrintFatalError(def.getLoc(), in populateOpStructure() 573 def.getLoc(), in populateOpStructure() 614 PrintFatalError(def.getLoc(), in populateOpStructure() 637 def.getLoc(), in populateOpStructure() 649 ArrayRef<SMLoc> Operator::getLoc() const { return def.getLoc(); } in getLoc() function in Operator [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/ |
| H A D | LegalizeForLLVMExport.cpp | 91 getTileSizes(rewriter, *getTypeConverter(), vType, op.getLoc()); in matchAndRewrite() 110 getTileSizes(rewriter, *getTypeConverter(), vType, op.getLoc()); in matchAndRewrite() 115 adaptor.getBase(), op.getLoc()); in matchAndRewrite() 119 ptr = castPtr(rewriter, op.getLoc(), ptr); in matchAndRewrite() 137 getTileSizes(rewriter, *getTypeConverter(), vType, op.getLoc()); in matchAndRewrite() 142 adaptor.getBase(), op.getLoc()); in matchAndRewrite() 146 ptr = castPtr(rewriter, op.getLoc(), ptr); in matchAndRewrite() 163 getTileSizes(rewriter, *getTypeConverter(), aType, op.getLoc()); in matchAndRewrite() 165 getTileSizes(rewriter, *getTypeConverter(), bType, op.getLoc()); in matchAndRewrite() 185 getTileSizes(rewriter, *getTypeConverter(), aType, op.getLoc()); in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMELFObjectWriter.cpp | 90 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()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 603 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs() 660 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs() 1530 S.Diag(AL.getLoc(), in handleIBOutletCollection() 1731 SourceLocation AttrLoc = CI.getLoc(); in AddAllocAlignAttr() 2195 !(A.getLoc().isMacroID() && in handleStandardNoReturnAttr() 2310 S.Diag(AL.getLoc(), in handleDependencyAttr() 2626 S.Diag(AL.getLoc(), in handleAvailabilityAttr() 3378 S.Diag(AL.getLoc(), in handleCodeSegAttr() 3861 S.Diag(AL.getLoc(), in handleFormatAttr() 4091 S.Diag(AL.getLoc(), in handleTransparentUnionAttr() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToSCF/ |
| H A D | TosaToSCF.cpp | 35 rewriter.create<scf::YieldOp>(yield.getLoc(), yield.getInputs()); in inlineIfCase() 53 rewriter.create<tensor::ExtractOp>(yield.getLoc(), yield.getOperand(0)); in inlineWhileCase() 54 rewriter.create<scf::ConditionOp>(yield.getLoc(), condition, in inlineWhileCase() 58 rewriter.create<scf::YieldOp>(yield.getLoc(), yield.getInputs()); in inlineWhileCase() 72 rewriter.create<tensor::ExtractOp>(op.getLoc(), op.getCond()); in matchAndRewrite() 73 auto newIf = rewriter.create<scf::IfOp>(op.getLoc(), op.getResultTypes(), in matchAndRewrite() 93 op.getLoc(), op.getResultTypes(), op.getInputs()); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | MCAsmParser.cpp | 43 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() 148 TagLoc = getTok().getLoc(); in parseGNUAttribute()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangASTPropertiesEmitter.cpp | 114 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() 328 PrintError(type.getLoc(), in validateType() 338 PrintError(valueType.getLoc(), in validateType() 342 PrintError(valueType.getLoc(), in validateType() 434 PrintFatalError(node.getLoc(), in emitPropertiedReaderWriterBody() 443 PrintFatalError(node.getLoc(), in emitPropertiedReaderWriterBody() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 648 odsOp->getLoc()); in convertExpressionTo() 661 odsOp->getLoc()); in convertExpressionTo() 1416 {body->getLoc().End, body->getLoc().End}, in validateUserConstraintOrRewriteReturn() 1428 statement->getLoc(), in parsePatternLambdaBody() 1641 curToken.getLoc(), in parseConstraint() 1647 curToken.getLoc(), in parseConstraint() 2692 callableDecl->getLoc(), in createCallExpr() 2961 valueExpr->getLoc(), in validateOperationOperandsOrResults() 2976 element->getLoc(), in createTupleExpr() 3003 rootOp->getLoc(), in createReplaceStmt() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Split.cpp | 83 ImplicitLocOpBuilder implicit(op.getLoc(), b); in createSplitPart() 106 op.createFlatListOfOperandDims(rewriter, op.getLoc()); in splitOp() 109 applyMapToValues(rewriter, op.getLoc(), shapesToLoops, allShapes); in splitOp() 117 rewriter, op->getLoc(), in splitOp() 126 LinalgOp first = createSplitPart(rewriter, op.getLoc(), op, originalResults, in splitOp() 137 rewriter, op.getLoc(), d0 - d1, {dimSize, minSplitPoint}); in splitOp() 139 ImplicitLocOpBuilder implicit(op.getLoc(), rewriter); in splitOp() 142 rewriter, op.getLoc(), op, firstResults, splitIterationSpace, dimension, in splitOp()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 421 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression() 448 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression() 605 StartLoc = Parser.getTok().getLoc(); in ParseRegister() 607 EndLoc = Parser.getTok().getLoc(); in ParseRegister() 615 StartLoc = Parser.getTok().getLoc(); in tryParseRegister() 617 EndLoc = Parser.getTok().getLoc(); in tryParseRegister() 651 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 658 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 670 parseLiteralValues(SIZE_LONG, DirectiveID.getLoc()); in ParseDirective() 672 parseLiteralValues(SIZE_WORD, DirectiveID.getLoc()); in ParseDirective() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/AffineToStandard/ |
| H A D | AffineToStandard.cpp | 83 return lowerAffineMapMin(builder, op.getLoc(), op.getUpperBoundMap(), in lowerAffineUpperBound() 91 return lowerAffineMapMax(builder, op.getLoc(), op.getLowerBoundMap(), in lowerAffineLowerBound() 103 lowerAffineMapMin(rewriter, op.getLoc(), op.getMap(), op.operands()); in matchAndRewrite() 152 Location loc = op.getLoc(); in matchAndRewrite() 174 Location loc = op.getLoc(); in matchAndRewrite() 269 auto loc = op.getLoc(); in matchAndRewrite() 329 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), in matchAndRewrite() 423 rewriter, op.getLoc(), op.getSrcMap(), in matchAndRewrite() 429 rewriter, op.getLoc(), op.getDstMap(), in matchAndRewrite() 435 rewriter, op.getLoc(), op.getTagMap(), in matchAndRewrite() [all …]
|