| /llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/ |
| H A D | MemRefBuilder.h | 48 Value allocatedPtr(OpBuilder &builder, Location loc); 53 Value alignedPtr(OpBuilder &builder, Location loc); 59 Value offset(OpBuilder &builder, Location loc); 96 static Value pack(OpBuilder &builder, Location loc, 154 Value rank(OpBuilder &builder, Location loc); 158 Value memRefDescPtr(OpBuilder &builder, Location loc); 166 static Value pack(OpBuilder &builder, Location loc, 210 static Value offset(OpBuilder &builder, Location loc, 224 static Value size(OpBuilder &builder, Location loc, 228 static void setSize(OpBuilder &builder, Location loc, [all …]
|
| /llvm-project-15.0.7/mlir/test/python/ir/ |
| H A D | location.py | 16 loc = Location.unknown() 31 loc = Location.file("foo.txt", 123, 56) 45 loc = Location.name("nombre") 64 loc = Location.callsite( 81 loc_single = Location.fused([Location.name("apple")]) 82 loc = Location.fused( 83 [Location.name("apple"), Location.name("banana")]) 85 loc_attr = Location.fused([Location.name("carrot"), 87 loc_empty = Location.fused([]) 89 loc_single_attr = Location.fused([Location.name("apple")], attr) [all …]
|
| H A D | context_managers.py | 30 with Location.unknown(ctx1) as loc1: 32 assert Location.current is loc1 37 assert Location.current is loc1 42 _ = Location.current 48 assert Location.current is loc1 52 _ = Location.current 64 m = Module.create(Location.unknown(ctx1)) 70 with Location.unknown(ctx1) as loc1: 72 assert Location.current is loc1 75 _ = Location.current
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Location.h | 22 class Location; variable 48 class Location { 50 Location(LocationAttr loc) : impl(loc) { in Location() function 86 friend ::llvm::hash_code hash_value(Location arg); 105 inline ::llvm::hash_code hash_value(Location arg) { in hash_value() 141 struct DenseMapInfo<mlir::Location> { 142 static mlir::Location getEmptyKey() { 146 static mlir::Location getTombstoneKey() { 153 static bool isEqual(mlir::Location LHS, mlir::Location RHS) { 160 struct PointerLikeTypeTraits<mlir::Location> { [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | FIRBuilder.h | 138 mlir::Value allocateLocal(mlir::Location loc, mlir::Type ty, 143 mlir::Value allocateLocal(mlir::Location loc, mlir::Type ty, 195 createGlobalConstant(mlir::Location loc, mlir::Type type, 204 fir::StringLitOp createStringLitOp(mlir::Location loc, 247 mlir::Value createConvert(mlir::Location loc, mlir::Type toTy, 262 static mlir::func::FuncOp createFunction(mlir::Location loc, 276 static mlir::func::FuncOp addNamedFunction(mlir::Location loc, in addNamedFunction() 314 mlir::Value createBool(mlir::Location loc, bool b) { in createBool() 368 IfBuilder genIfThen(mlir::Location loc, mlir::Value cdt) { in genIfThen() 427 mlir::Location loc, [all …]
|
| H A D | MutableBox.h | 23 class Location; variable 56 void associateMutableBox(fir::FirOpBuilder &builder, mlir::Location loc, 66 mlir::Location loc, 76 void disassociateMutableBox(fir::FirOpBuilder &builder, mlir::Location loc, 107 genReallocIfNeeded(fir::FirOpBuilder &builder, mlir::Location loc, 112 void finalizeRealloc(fir::FirOpBuilder &builder, mlir::Location loc, 119 void genFinalization(fir::FirOpBuilder &builder, mlir::Location loc, 122 void genInlinedAllocation(fir::FirOpBuilder &builder, mlir::Location loc, 128 void genInlinedDeallocate(fir::FirOpBuilder &builder, mlir::Location loc, 142 mlir::Location loc, [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Profile/ |
| H A D | DataReader.h | 46 struct Location { struct 75 typedef std::vector<std::pair<Location, Location>> BranchContext; 78 Location From; 79 Location To; 83 BranchInfo(Location From, Location To, int64_t Mispreds, int64_t Branches) in BranchInfo() 161 Location Offset; 162 Location Addr; 184 MemInfo(const Location &Offset, const Location &Addr, uint64_t Count = 0) 209 void update(const Location &Offset, const Location &Addr); 221 Location Loc; [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/Runtime/ |
| H A D | Reduction.h | 31 void genAllDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 45 mlir::Value genAll(fir::FirOpBuilder &builder, mlir::Location loc, 51 mlir::Value genAny(fir::FirOpBuilder &builder, mlir::Location loc, 62 void genCountDim(fir::FirOpBuilder &builder, mlir::Location loc, 73 void genMaxloc(fir::FirOpBuilder &builder, mlir::Location loc, 79 void genMaxlocDim(fir::FirOpBuilder &builder, mlir::Location loc, 85 void genMinloc(fir::FirOpBuilder &builder, mlir::Location loc, 91 void genMinlocDim(fir::FirOpBuilder &builder, mlir::Location loc, 109 void genMaxvalDim(fir::FirOpBuilder &builder, mlir::Location loc, 127 void genMinvalDim(fir::FirOpBuilder &builder, mlir::Location loc, [all …]
|
| H A D | Character.h | 30 void genAdjustL(fir::FirOpBuilder &builder, mlir::Location loc, 41 void genAdjustR(fir::FirOpBuilder &builder, mlir::Location loc, 46 mlir::Value genCharCompare(fir::FirOpBuilder &builder, mlir::Location loc, 55 mlir::Value genCharCompare(fir::FirOpBuilder &builder, mlir::Location loc, 63 mlir::Value genIndex(fir::FirOpBuilder &builder, mlir::Location loc, int kind, 71 void genIndexDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 81 void genRepeat(fir::FirOpBuilder &builder, mlir::Location loc, 89 void genTrim(fir::FirOpBuilder &builder, mlir::Location loc, 95 void genScanDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 103 mlir::Value genScan(fir::FirOpBuilder &builder, mlir::Location loc, int kind, [all …]
|
| H A D | Numeric.h | 22 mlir::Value genExponent(fir::FirOpBuilder &builder, mlir::Location loc, 26 mlir::Value genFraction(fir::FirOpBuilder &builder, mlir::Location loc, 30 mlir::Value genNearest(fir::FirOpBuilder &builder, mlir::Location loc, 34 mlir::Value genRRSpacing(fir::FirOpBuilder &builder, mlir::Location loc, 38 mlir::Value genScale(fir::FirOpBuilder &builder, mlir::Location loc, 42 mlir::Value genSelectedIntKind(fir::FirOpBuilder &builder, mlir::Location loc, 46 mlir::Value genSelectedRealKind(fir::FirOpBuilder &builder, mlir::Location loc, 51 mlir::Value genSetExponent(fir::FirOpBuilder &builder, mlir::Location loc, 55 mlir::Value genSpacing(fir::FirOpBuilder &builder, mlir::Location loc,
|
| H A D | Transformational.h | 22 void genCshift(fir::FirOpBuilder &builder, mlir::Location loc, 26 void genCshiftVector(fir::FirOpBuilder &builder, mlir::Location loc, 30 void genEoshift(fir::FirOpBuilder &builder, mlir::Location loc, 34 void genEoshiftVector(fir::FirOpBuilder &builder, mlir::Location loc, 38 void genMatmul(fir::FirOpBuilder &builder, mlir::Location loc, 42 void genPack(fir::FirOpBuilder &builder, mlir::Location loc, 46 void genReshape(fir::FirOpBuilder &builder, mlir::Location loc, 50 void genSpread(fir::FirOpBuilder &builder, mlir::Location loc, 54 void genTranspose(fir::FirOpBuilder &builder, mlir::Location loc, 57 void genUnpack(fir::FirOpBuilder &builder, mlir::Location loc,
|
| /llvm-project-15.0.7/lldb/test/API/lang/objc/direct-dispatch-step/ |
| H A D | stepping-tests.m | 94 [obj release]; // Stop Location 2 97 [obj release]; // Stop Location 4 99 obj = [OverridesALot new]; // Stop Location 5 100 [obj release]; // Stop Location 6 102 obj = [[OverridesALot alloc] init]; // Stop Location 7 103 [obj self]; // Stop Location 8 106 [obj retain]; // Stop Location 11 107 [obj autorelease]; // Stop Location 12 108 [obj boring]; // Stop Location 13 109 [obj release]; // Stop Location 14 [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 266 return Location.getKind() == BlockExitKind; in isKind() 288 unsigned k = Location.getKind(); in isKind() 306 return Location.getKind() == PreStmtKind; in isKind() 329 unsigned k = Location.getKind(); in isKind() 425 return Location.getKind() == PostLoadKind; in isKind() 452 return Location.getKind() == PostStoreKind; in isKind() 466 return Location.getKind() == PostLValueKind; in isKind() 522 return Location.getKind() == BlockEdgeKind; in isKind() 654 return Location.getKind() == CallEnterKind; in isKind() 725 return Location.getKind() == LoopExitKind; in isKind() [all …]
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXLoadedDiagnostic.cpp | 170 const Location &Loc = *((Location*)V); in decodeLocation() 221 unsigned Severity, const serialized_diags::Location &Location, 233 visitSourceRangeRecord(const serialized_diags::Location &Start, 272 DiagLoader::readLocation(const serialized_diags::Location &SDLoc, in readLocation() 273 CXLoadedDiagnostic::Location &LoadedLoc) { in readLocation() 289 DiagLoader::readRange(const serialized_diags::Location &SDStart, in readRange() 290 const serialized_diags::Location &SDEnd, in readRange() 292 CXLoadedDiagnostic::Location *Start, *End; in readRange() 294 End = TopDiags->Alloc.Allocate<CXLoadedDiagnostic::Location>(); in readRange() 376 unsigned Severity, const serialized_diags::Location &Location, in visitDiagnosticRecord() argument [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | CodegenUtils.h | 23 class Location; variable 90 Value genIsNonzero(OpBuilder &builder, Location loc, Value v); 109 inline Value constantZero(OpBuilder &builder, Location loc, Type tp) { in constantZero() 120 inline Value constantOne(OpBuilder &builder, Location loc, Type tp) { in constantOne() 131 inline Value constantIndex(OpBuilder &builder, Location loc, int64_t i) { in constantIndex() 136 inline Value constantI32(OpBuilder &builder, Location loc, int32_t i) { in constantI32() 141 inline Value constantI16(OpBuilder &builder, Location loc, int16_t i) { in constantI16() 146 inline Value constantI8(OpBuilder &builder, Location loc, int8_t i) { in constantI8() 151 inline Value constantI1(OpBuilder &builder, Location loc, bool b) { in constantI1() 176 inline Value constantIndexTypeEncoding(OpBuilder &builder, Location loc, in constantIndexTypeEncoding() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Ref.h | 87 SymbolLocation Location; member 96 return std::tie(L.Location, L.Kind, L.Container) < 97 std::tie(R.Location, R.Kind, R.Container); 100 return std::tie(L.Location, L.Kind, L.Container) == 101 std::tie(R.Location, R.Kind, R.Container); 181 Val.Symbol, reinterpret_cast<uintptr_t>(Val.Reference.Location.FileURI), 182 Val.Reference.Location.Start.rep(), Val.Reference.Location.End.rep()); 185 return std::tie(LHS.Symbol, LHS.Reference.Location.FileURI, 187 std::tie(RHS.Symbol, RHS.Reference.Location.FileURI, 189 LHS.Reference.Location.Start == RHS.Reference.Location.Start && [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/ |
| H A D | MemRefBuilder.cpp | 32 MemRefDescriptor MemRefDescriptor::undef(OpBuilder &builder, Location loc, in undef() 43 MemRefDescriptor::fromStaticShape(OpBuilder &builder, Location loc, in fromStaticShape() 76 Value MemRefDescriptor::allocatedPtr(OpBuilder &builder, Location loc) { in allocatedPtr() 81 void MemRefDescriptor::setAllocatedPtr(OpBuilder &builder, Location loc, in setAllocatedPtr() 87 Value MemRefDescriptor::alignedPtr(OpBuilder &builder, Location loc) { in alignedPtr() 92 void MemRefDescriptor::setAlignedPtr(OpBuilder &builder, Location loc, in setAlignedPtr() 99 static Value createIndexAttrConstant(OpBuilder &builder, Location loc, in createIndexAttrConstant() 106 Value MemRefDescriptor::offset(OpBuilder &builder, Location loc) { in offset() 113 void MemRefDescriptor::setOffset(OpBuilder &builder, Location loc, in setOffset() 206 Value MemRefDescriptor::pack(OpBuilder &builder, Location loc, in pack() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Utils/ |
| H A D | Utils.h | 54 SmallVector<Value, 4> getDynOperands(Location loc, Value val, OpBuilder &b); 137 GenericOp makeTransposeOp(OpBuilder &b, Location loc, Value inputTensor, 182 Value createSlice(OpBuilder &builder, Location loc, Value value, 188 SmallVector<Value> computeTileOffsets(OpBuilder &b, Location loc, 195 SmallVector<Value> computeTileSizes(OpBuilder &b, Location loc, 209 SmallVector<Value> insertSlicesBack(OpBuilder &builder, Location loc, 223 Value makeTiledShape(OpBuilder &builder, Location loc, Value valueToTile, 239 SmallVector<Value, 4> makeTiledShapes(OpBuilder &builder, Location loc, 344 OpBuilder &b, Location loc, ArrayRef<Range> parallelLoopRanges)>; 346 std::function<ProcInfo(OpBuilder &b, Location loc)>; [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | Runtime.h | 25 class Location; variable 69 mlir::Value genAssociated(fir::FirOpBuilder &, mlir::Location, 72 mlir::Value genCpuTime(fir::FirOpBuilder &, mlir::Location); 73 void genDateAndTime(fir::FirOpBuilder &, mlir::Location, 78 void genRandomInit(fir::FirOpBuilder &, mlir::Location, mlir::Value repeatable, 80 void genRandomNumber(fir::FirOpBuilder &, mlir::Location, mlir::Value harvest); 81 void genRandomSeed(fir::FirOpBuilder &, mlir::Location, int argIndex, 85 void genTransfer(fir::FirOpBuilder &builder, mlir::Location loc, 90 void genTransferSize(fir::FirOpBuilder &builder, mlir::Location loc, 96 void genSystemClock(fir::FirOpBuilder &, mlir::Location, mlir::Value count,
|
| H A D | AbstractConverter.h | 126 mlir::Location *loc = nullptr) = 0; 129 fir::ExtendedValue genExprAddr(mlir::Location loc, const SomeExpr *expr, in genExprAddr() 133 fir::ExtendedValue genExprAddr(mlir::Location loc, const SomeExpr &expr, in genExprAddr() 141 mlir::Location *loc = nullptr) = 0; 144 fir::ExtendedValue genExprValue(mlir::Location loc, const SomeExpr *expr, in genExprValue() 148 fir::ExtendedValue genExprValue(mlir::Location loc, const SomeExpr &expr, in genExprValue() 156 virtual fir::ExtendedValue genExprBox(mlir::Location loc, 163 virtual fir::MutableBoxValue genExprMutableBox(mlir::Location loc, 199 virtual void registerRuntimeTypeInfo(mlir::Location loc, 207 virtual mlir::Location getCurrentLocation() = 0; [all …]
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | TestVisitor.h | 163 void Match(StringRef Name, SourceLocation Location) { in Match() argument 191 bool Matches(StringRef Name, FullSourceLoc const &Location) const { in Matches() 192 return MatchesName(Name) && MatchesLocation(Location); in Matches() 196 return MatchesName(Name) || MatchesLocation(Location); in PartiallyMatches() 203 bool MatchesLocation(FullSourceLoc const &Location) const { in MatchesLocation() 204 return Location.isValid() && in MatchesLocation() 205 Location.getSpellingLineNumber() == LineNumber && in MatchesLocation() 206 Location.getSpellingColumnNumber() == ColumnNumber; in MatchesLocation() 223 if (Candidate.Matches(Name, Location)) { in UpdateFor() 227 Candidate.PartiallyMatches(Name, Location)) { in UpdateFor() [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Location.cpp | 40 WalkResult LocationAttr::walk(function_ref<WalkResult(Location)> walkFn) { in walk() 51 for (Location subLoc : fusedLoc.getLocations()) in walk() 75 CallSiteLoc CallSiteLoc::get(Location name, ArrayRef<Location> frames) { in get() 77 Location caller = frames.back(); in get() 87 Location FusedLoc::get(ArrayRef<Location> locs, Attribute metadata, in get() 90 llvm::SmallSetVector<Location, 4> decomposedLocs; in get() 116 return Base::get(context, ArrayRef<Location>{UnknownLoc::get(context)}, in get()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | AST.h | 49 ExprAST(ExprASTKind kind, Location location) in ExprAST() 55 const Location &loc() { return location; } in loc() 59 Location location; 70 NumberExprAST(Location loc, double val) in NumberExprAST() 102 StructLiteralExprAST(Location loc, in StructLiteralExprAST() 120 VariableExprAST(Location loc, llvm::StringRef name) in VariableExprAST() 192 CallExprAST(Location loc, const std::string &callee, in CallExprAST() 222 Location location; 231 const Location &loc() { return location; } in loc() 274 Location location; [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | SerializedDiagnosticReader.h | 46 struct Location { struct 52 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location() argument 100 visitDiagnosticRecord(unsigned Severity, const Location &Location, in visitDiagnosticRecord() argument 114 visitFixitRecord(const Location &Start, const Location &End, StringRef Text) { in visitFixitRecord() 119 virtual std::error_code visitSourceRangeRecord(const Location &Start, in visitSourceRangeRecord() 120 const Location &End) { in visitSourceRangeRecord()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | PostfixOperatorCheck.cpp | 39 SourceLocation Location = ReturnRange.getBegin(); in check() local 40 if (!Location.isValid()) in check() 47 auto Diag = diag(Location, "overloaded %0 returns a reference instead of a " in check() 51 if (Location.isMacroID() || ReturnType->getAs<TypedefType>() || in check() 74 diag(Location, "overloaded %0 returns a non-constant object instead of a " in check() 78 if (!Location.isMacroID() && !ReturnType->getAs<TypedefType>()) in check() 79 Diag << FixItHint::CreateInsertion(Location, "const "); in check()
|