Home
last modified time | relevance | path

Searched refs:UseRange (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DSymbolTable.h146 class UseRange {
148 UseRange(std::vector<SymbolUse> &&uses) : uses(std::move(uses)) {} in UseRange() function
163 static Optional<UseRange> getSymbolUses(Operation *from);
164 static Optional<UseRange> getSymbolUses(Region *from);
170 static Optional<UseRange> getSymbolUses(StringRef symbol, Operation *from);
171 static Optional<UseRange> getSymbolUses(Operation *symbol, Operation *from);
172 static Optional<UseRange> getSymbolUses(StringRef symbol, Region *from);
173 static Optional<UseRange> getSymbolUses(Operation *symbol, Region *from);
DSymbolInterfaces.td103 "Optional<::mlir::SymbolTable::UseRange>", "getSymbolUses",
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp676 static Optional<SymbolTable::UseRange> getSymbolUsesImpl(FromT from) { in getSymbolUsesImpl()
683 return result ? Optional<SymbolTable::UseRange>(std::move(uses)) : llvm::None; in getSymbolUsesImpl()
693 auto SymbolTable::getSymbolUses(Operation *from) -> Optional<UseRange> { in getSymbolUses()
696 auto SymbolTable::getSymbolUses(Region *from) -> Optional<UseRange> { in getSymbolUses()
705 static Optional<SymbolTable::UseRange> getSymbolUsesImpl(SymbolT symbol, in getSymbolUsesImpl()
715 return SymbolTable::UseRange(std::move(uses)); in getSymbolUsesImpl()
723 -> Optional<UseRange> { in getSymbolUses()
727 -> Optional<UseRange> { in getSymbolUses()
731 -> Optional<UseRange> { in getSymbolUses()
735 -> Optional<UseRange> { in getSymbolUses()
/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp494 CharSourceRange UseRange; in DoEmitAvailabilityWarning() local
496 UseRange = in DoEmitAvailabilityWarning()
498 if (UseRange.isValid()) { in DoEmitAvailabilityWarning()
517 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning()
519 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning()
/external/llvm-project/mlir/test/lib/IR/
DTestSymbolUses.cpp23 Optional<SymbolTable::UseRange> symbolUses = in operateOnSymbol()
/external/llvm-project/mlir/lib/Transforms/
DSymbolDCE.cpp116 Optional<SymbolTable::UseRange> uses = SymbolTable::getSymbolUses(op); in computeLiveness()
DNormalizeMemRefs.cpp114 Optional<SymbolTable::UseRange> symbolUses = funcOp.getSymbolUses(moduleOp); in setCalleesAndCallersNonNormalizable()
246 Optional<SymbolTable::UseRange> symbolUses = funcOp.getSymbolUses(moduleOp); in updateFunctionSignature()
DSCCP.cpp418 Optional<SymbolTable::UseRange> uses = in initializeSymbolCallables()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DKernelOutlining.cpp295 if (Optional<SymbolTable::UseRange> symbolUses = in createKernelModule()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp6341 CharSourceRange UseRange; in DoEmitAvailabilityWarning() local
6350 UseRange = in DoEmitAvailabilityWarning()
6356 << (UseRange.isValid() ? in DoEmitAvailabilityWarning()
6357 FixItHint::CreateReplacement(UseRange, Replacement) : FixItHint()); in DoEmitAvailabilityWarning()
6363 << (UseRange.isValid() ? in DoEmitAvailabilityWarning()
6364 FixItHint::CreateReplacement(UseRange, Replacement) : FixItHint()); in DoEmitAvailabilityWarning()
6370 << (UseRange.isValid() ? in DoEmitAvailabilityWarning()
6371 FixItHint::CreateReplacement(UseRange, Replacement) : FixItHint()); in DoEmitAvailabilityWarning()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_rewrite_pass.cc118 Optional<SymbolTable::UseRange> uses = SymbolTable::getSymbolUses(func); in EncapsulateFuncAndSerialize()