Lines Matching refs:SMRange
60 if (Optional<SMRange> range = lsp::convertTokenLocToRange(loc)) { in getLocationFromLoc()
93 static bool contains(SMRange range, SMLoc loc) { in contains()
102 SMRange *overlappedRange = nullptr) { in isDefOrUse()
112 def.uses, [&](const SMRange &range) { return contains(range, loc); }); in isDefOrUse()
150 static Optional<StringRef> getTextFromRange(SMRange range) { in getTextFromRange()
164 static void printDefBlockName(raw_ostream &os, Block *block, SMRange loc = {}) { in printDefBlockName()
261 buildHoverForOperation(SMRange hoverRange,
263 lsp::Hover buildHoverForOperationResult(SMRange hoverRange, Operation *op,
266 lsp::Hover buildHoverForBlock(SMRange hoverRange,
269 buildHoverForBlockArgument(SMRange hoverRange, BlockArgument arg,
385 for (const SMRange &use : def.uses) in findReferencesOf()
431 SMRange hoverRange; in findHover()
476 SMRange hoverRange, const AsmParserState::OperationDefinition &op) { in buildHoverForOperation()
508 lsp::Hover MLIRDocument::buildHoverForOperationResult(SMRange hoverRange, in buildHoverForOperationResult()
544 MLIRDocument::buildHoverForBlock(SMRange hoverRange, in buildHoverForBlock()
576 SMRange hoverRange, BlockArgument arg, in buildHoverForBlockArgument()