| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 64 mlir::Value getConstAPInt(mlir::Location loc, mlir::Type typ, in getConstAPInt() 69 cir::ConstantOp getConstant(mlir::Location loc, mlir::TypedAttr attr) { in getConstant() 73 cir::ConstantOp getConstantInt(mlir::Location loc, mlir::Type ty, in getConstantInt() 79 cir::ConstantOp getNullValue(mlir::Type ty, mlir::Location loc) { in getNullValue() 109 cir::ConstantOp getBool(bool state, mlir::Location loc) { in getBool() 112 cir::ConstantOp getFalse(mlir::Location loc) { return getBool(false, loc); } in getFalse() 113 cir::ConstantOp getTrue(mlir::Location loc) { return getBool(true, loc); } in getTrue() 139 mlir::Location loc, in createDoWhile() 140 llvm::function_ref<void(mlir::OpBuilder &, mlir::Location)> condBuilder, in createDoWhile() 141 llvm::function_ref<void(mlir::OpBuilder &, mlir::Location)> bodyBuilder) { in createDoWhile() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 249 static bool isKind(const ProgramPoint &Location) { in isKind() argument 250 return Location.getKind() == BlockEntranceKind; in isKind() 270 static bool isKind(const ProgramPoint &Location) { in isKind() argument 271 return Location.getKind() == BlockExitKind; in isKind() 293 static bool isKind(const ProgramPoint &Location) { in isKind() argument 294 unsigned k = Location.getKind(); in isKind() 311 static bool isKind(const ProgramPoint &Location) { in isKind() argument 312 return Location.getKind() == PreStmtKind; in isKind() 334 static bool isKind(const ProgramPoint &Location) { in isKind() argument 335 unsigned k = Location.getKind(); in isKind() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | ModuleMapFile.h | 40 SourceLocation Location; member 45 SourceLocation Location; member 51 SourceLocation Location; member 67 SourceLocation Location; member 72 SourceLocation Location; /// Points to the first keyword in the decl. member 83 SourceLocation Location; member 89 SourceLocation Location; member 94 SourceLocation Location; member 99 SourceLocation Location; member 105 SourceLocation Location; member [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ModRef.h | 77 using Location = LocationEnum; 85 static uint32_t getLocationPos(Location Loc) { in getLocationPos() 91 void setModRef(Location Loc, ModRefInfo MR) { in setModRef() 99 return enum_seq_inclusive(Location::First, Location::Last, in locations() 105 MemoryEffectsBase(Location Loc, ModRefInfo MR) { setModRef(Loc, MR); } in MemoryEffectsBase() 110 for (Location Loc : locations()) in MemoryEffectsBase() 136 return MemoryEffectsBase(Location::ArgMem, MR); 142 return MemoryEffectsBase(Location::InaccessibleMem, MR); 147 return MemoryEffectsBase(Location::ErrnoMem, MR); 152 return MemoryEffectsBase(Location::Other, MR); [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | DXContainerRootSignature.h | 20 size_t Location; member 24 RootParameterInfo(dxbc::RTS0::v1::RootParameterHeader Header, size_t Location) in RootParameterInfo() 25 : Header(Header), Location(Location) {} in RootParameterInfo() 45 void addInfo(dxbc::RTS0::v1::RootParameterHeader Header, size_t Location) { in addInfo() 46 ParametersInfo.push_back(RootParameterInfo(Header, Location)); in addInfo() 72 getTypeAndLocForParameter(uint32_t Location) const { in getTypeAndLocForParameter() 73 const RootParameterInfo &Info = ParametersInfo[Location]; in getTypeAndLocForParameter() 74 return {Info.Header.ParameterType, Info.Location}; in getTypeAndLocForParameter() 77 const dxbc::RTS0::v1::RootParameterHeader &getHeader(size_t Location) const { in getHeader() 78 const RootParameterInfo &Info = ParametersInfo[Location]; in getHeader()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymContext.cpp | 22 static bool fillLineInfoFromLocation(const SourceLocation &Location, in fillLineInfoFromLocation() argument 27 LineInfo.FunctionName = Location.Name.str(); in fillLineInfoFromLocation() 36 if (Location.Dir.empty()) { in fillLineInfoFromLocation() 37 if (Location.Base.empty()) in fillLineInfoFromLocation() 40 LineInfo.FileName = Location.Base.str(); in fillLineInfoFromLocation() 42 SmallString<128> Path(Location.Dir); in fillLineInfoFromLocation() 43 sys::path::append(Path, Location.Base); in fillLineInfoFromLocation() 49 LineInfo.FileName = Location.Base.str(); in fillLineInfoFromLocation() 55 LineInfo.Line = Location.Line; in fillLineInfoFromLocation() 145 for (const auto &Location : Result.Locations) { in getInliningInfoForAddress() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenBuilder.h | 224 cir::ConstantOp getConstInt(mlir::Location loc, llvm::APSInt intVal); 226 cir::ConstantOp getConstInt(mlir::Location loc, llvm::APInt intVal); 228 cir::ConstantOp getConstInt(mlir::Location loc, mlir::Type t, uint64_t c); 230 cir::ConstantOp getConstFP(mlir::Location loc, mlir::Type t, 251 cir::ConstantOp getSInt32(int32_t c, mlir::Location loc) { in getSInt32() 256 cir::ConstantOp getNullPtr(mlir::Type ty, mlir::Location loc) { in getNullPtr() 283 mlir::Value createFSub(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createFSub() 291 mlir::Value createFAdd(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createFAdd() 298 mlir::Value createFMul(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createFMul() 305 mlir::Value createFDiv(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createFDiv() [all …]
|
| H A D | CIRGenStmtOpenACC.cpp | 26 mlir::Location start, mlir::Location end, OpenACCDirectiveKind dirKind, in emitOpenACCOpAssociatedStmt() 68 mlir::Location start, mlir::Location end, OpenACCDirectiveKind dirKind, in emitOpenACCOpCombinedConstruct() 117 mlir::Location start, OpenACCDirectiveKind dirKind, SourceLocation dirLoc, in emitOpenACCOp() 129 mlir::Location start = getLoc(s.getSourceRange().getBegin()); in emitOpenACCComputeConstruct() 130 mlir::Location end = getLoc(s.getSourceRange().getEnd()); in emitOpenACCComputeConstruct() 152 mlir::Location start = getLoc(s.getSourceRange().getBegin()); in emitOpenACCDataConstruct() 153 mlir::Location end = getLoc(s.getSourceRange().getEnd()); in emitOpenACCDataConstruct() 162 mlir::Location start = getLoc(s.getSourceRange().getBegin()); in emitOpenACCInitConstruct() 170 mlir::Location start = getLoc(s.getSourceRange().getBegin()); in emitOpenACCSetConstruct() 178 mlir::Location start = getLoc(s.getSourceRange().getBegin()); in emitOpenACCShutdownConstruct() [all …]
|
| H A D | CIRGenFunction.h | 274 mlir::Location loc, clang::CharUnits alignment, 278 mlir::Value createDummyValue(mlir::Location loc, clang::QualType qt); 280 void emitNullInitialization(mlir::Location loc, Address destPtr, QualType ty); 305 std::optional<mlir::Location> currSrcLoc; 308 std::optional<mlir::Location> oldLoc; 311 SourceLocRAIIObject(CIRGenFunction &cgf, mlir::Location value) : cgf(cgf) { in SourceLocRAIIObject() 328 mlir::Location getLoc(clang::SourceLocation srcLoc); 329 mlir::Location getLoc(clang::SourceRange srcLoc); 330 mlir::Location getLoc(mlir::Location lhs, mlir::Location rhs); 566 Address getAddressOfDirectBaseInCompleteClass(mlir::Location loc, [all …]
|
| H A D | CIRGenBuilder.cpp | 13 mlir::Value CIRGenBuilderTy::maybeBuildArrayDecay(mlir::Location loc, in maybeBuildArrayDecay() 30 mlir::Value CIRGenBuilderTy::getArrayElement(mlir::Location arrayLocBegin, in getArrayElement() 31 mlir::Location arrayLocEnd, in getArrayElement() 42 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, in getConstInt() 51 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, in getConstInt() 56 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, mlir::Type t, in getConstInt() 63 clang::CIRGen::CIRGenBuilderTy::getConstFP(mlir::Location loc, mlir::Type t, in getConstFP()
|
| H A D | CIRGenStmt.cpp | 36 mlir::Location scopeLoc = getLoc(s.getSourceRange()); in emitCompoundStmt() 39 scopeLoc, [&](mlir::OpBuilder &b, mlir::Type &type, mlir::Location loc) { in emitCompoundStmt() 276 mlir::Location loc) { in terminateBody() 352 mlir::Location scopeLoc = getLoc(s.getSourceRange()); in emitIfStmt() 355 [&](mlir::OpBuilder &b, mlir::Location loc) { in emitIfStmt() 373 mlir::Location loc = getLoc(s.getSourceRange()); in emitReturnStmt() 448 mlir::Location loc = getLoc(stmt->getBeginLoc()); in emitCaseDefaultCascade() 597 [&](mlir::OpBuilder &b, mlir::Location loc) { in emitCXXForRangeStmt() 604 [&](mlir::OpBuilder &b, mlir::Location loc) { in emitCXXForRangeStmt() 616 [&](mlir::OpBuilder &b, mlir::Location loc) { in emitCXXForRangeStmt() [all …]
|
| /freebsd/contrib/llvm-project/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() function 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()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.h | 32 /// \brief Location at which a diagnostic can be emitted. Either a in ~SymbolizedStackHolder() 34 class Location { in reset() 46 Location() : Kind(LK_Null) {} in getCallerLocation() 47 Location(SourceLocation Loc) : in getCallerLocation() 49 Location(MemoryLocation Loc) : 51 // SymbolizedStackHolder must outlive Location object. 52 Location(const SymbolizedStackHolder &Stack) : 83 Location Start, End; in getSourceLocation() 90 Location getStart() const { return Start; } in getSymbolizedStack() 91 Location getEn in getSymbolizedStack() 66 Location() : Kind(LK_Null) {} Location() function 67 Location(SourceLocation Loc) : Location() function 69 Location(MemoryLocation Loc) : Location() function 72 Location(const SymbolizedStackHolder &Stack) : Location() function [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AddDiscriminators.cpp | 153 using Location = std::pair<StringRef, unsigned>; in addDiscriminators() 155 using LocationBBMap = DenseMap<Location, BBSet>; in addDiscriminators() 156 using LocationDiscriminatorMap = DenseMap<Location, unsigned>; in addDiscriminators() typedef 157 using LocationSet = DenseSet<Location>; in addDiscriminators() 178 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators() 221 Location L = in addDiscriminators()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Sarif.cpp | 201 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation() argument 203 return json::Object{{"location", std::move(Location)}, in createThreadFlowLocation() 223 const SarifArtifactLocation &Location = in createPhysicalLocation() local 225 const SarifArtifact &Artifact = SarifArtifact::create(Location) in createPhysicalLocation() 236 const SarifArtifactLocation &Location = I->second.Location; in createPhysicalLocation() local 237 json::Object ArtifactLocationObject{{"uri", Location.URI}}; in createPhysicalLocation() 238 if (Location.Index.has_value()) in createPhysicalLocation() 239 ArtifactLocationObject["index"] = *Location.Index; in createPhysicalLocation() 299 json::Object Loc{{"uri", A.Location.URI}}; in endRun() 300 if (A.Location.Index.has_value()) { in endRun() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 33 const ProgramPoint Location; variable 49 Location(loc), in Eng() 74 const ProgramPoint getLocation() const { return Location; } in getLocation() 223 (Tag ? Tag : Location.getTag())); 239 (Tag ? Tag : Location.getTag())); 252 return addTransition(State, (Tag ? Tag : Location.getTag())); 268 return addTransition(State, Pred, (Tag ? Tag : Location.getTag())); 437 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 45 using Location = std::pair<StringRef, unsigned>; typedef 47 Location diToLocation(const DILocation *Loc) { in diToLocation() 101 DenseMap<Location, unsigned> MemOpDiscriminators; in runOnMachineFunction() 115 Location Loc = diToLocation(DI); in runOnMachineFunction() 124 DenseMap<Location, DenseSet<unsigned>> Seen; in runOnMachineFunction() 138 Location L = diToLocation(DI); in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/ |
| H A D | DWARFUnwindTable.h | 30 enum Location { enum 59 Location Kind; /// The type of the location that describes how to unwind it. 71 UnwindLocation(Location K) in UnwindLocation() 75 UnwindLocation(Location K, uint32_t Reg, int32_t Off, in UnwindLocation() 123 Location getLocation() const { return Kind; } in getLocation() 195 void setRegisterLocation(uint32_t RegNum, const UnwindLocation &Location) { in setRegisterLocation() argument 197 Locations.insert(std::make_pair(RegNum, Location)); in setRegisterLocation()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVLocation.cpp | 505 LVLocation *Location = Locations->front(); in calculateCoverage() local 508 Location->updateKind(); in calculateCoverage() 509 if (Location->getIsLocationSimple()) { in calculateCoverage() 519 for (const LVLocation *Location : *Locations) in calculateCoverage() 521 if (!Location->getIsGapEntry()) { in calculateCoverage() 522 LowerAddress = Location->getLowerAddress(); in calculateCoverage() 523 UpperAddress = Location->getUpperAddress(); in calculateCoverage() 629 LVLocation *Location = Locations->front(); in print() local 630 LVSymbol *Symbol = Location->getParentSymbol(); in print() 637 if (!Location->getIsLocationSimple()) in print() [all …]
|
| H A D | LVScope.cpp | 155 void LVScope::addObject(LVLocation *Location) { in addObject() argument 156 assert(Location && "Invalid location."); in addObject() 157 assert(!Location->getParent() && "Location already inserted"); in addObject() 162 Location->setParent(this); in addObject() 163 Location->setOffset(getOffset()); in addObject() 165 Ranges->push_back(Location); in addObject() 253 LVLocation *Location = getReader().createLocation(); in addObject() local 254 Location->setLowerAddress(LowerAddress); in addObject() 255 Location->setUpperAddress(UpperAddress); in addObject() 256 Location->setIsAddressRange(); in addObject() [all …]
|
| H A D | LVSymbol.cpp | 141 LVLocation *Location; in fillLocationGaps() local 146 Location = *Iter; in fillLocationGaps() 147 LowPC = Location->getLowerAddress(); in fillLocationGaps() 155 Marker = Location->getUpperAddress() + 1; in fillLocationGaps() 171 for (LVLocation *Location : *Locations) { in getLocations() 173 if (!(Location->*ValidLocation)() && RecordInvalid) in getLocations() 174 LocationList.push_back(Location); in getLocations() 386 for (const LVLocation *Location : *Locations) in printLocations() 387 Location->printRaw(OS, Full); in printLocations()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugSuppression.cpp | 155 PathDiagnosticLocation Location = R.getLocation(); in isSuppressed() local 159 return isSuppressed(Location, DeclWithIssue, {}) || in isSuppressed() 163 bool BugSuppression::isSuppressed(const PathDiagnosticLocation &Location, in isSuppressed() argument 166 if (!Location.isValid()) in isSuppressed() 212 SourceRange BugRange = Location.asRange(); in isSuppressed() 213 const SourceManager &SM = Location.getManager(); in isSuppressed()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCWin64EH.cpp | 1035 } Location = Start; in tryARM64PackedUnwind() local 1049 if (Location != Start) in tryARM64PackedUnwind() 1051 Location = Start2; in tryARM64PackedUnwind() 1054 if (Location != Start2) in tryARM64PackedUnwind() 1057 Location = Start3; in tryARM64PackedUnwind() 1060 if (Location != Start2 && Location != Start3) in tryARM64PackedUnwind() 1064 Location = IntRegs; in tryARM64PackedUnwind() 1067 if (Location != Start2 && Location != Start3) in tryARM64PackedUnwind() 1077 Location = FloatRegs; in tryARM64PackedUnwind() 1093 if (Location != IntRegs || Inst.Offset != 8 * RegI || in tryARM64PackedUnwind() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMapFile.cpp | 61 SourceLocation::UIntTy Location; member 73 Location = 0; in clear() 81 return SourceLocation::getFromRawEncoding(Location); in getLocation() 259 MDecl.Location = ExplicitLoc = consumeToken(); in parseModuleDecl() 266 if (!MDecl.Location.isValid()) in parseModuleDecl() 267 MDecl.Location = FrameworkLoc; in parseModuleDecl() 279 if (!MDecl.Location.isValid()) in parseModuleDecl() 280 MDecl.Location = ModuleLoc; // 'module' keyword in parseModuleDecl() 433 EMD.Location = consumeToken(); // 'extern' keyword in parseExternModuleDecl() 472 CMDecl.Location = consumeToken(); in parseConfigMacrosDecl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFCFIChecker/ |
| H A D | DWARFCFIAnalysis.cpp | 50 dwarf::UnwindLocation::Location::RegPlusOffset) in getCFARegOffsetInfo() 63 case dwarf::UnwindLocation::Location::Unspecified: in getUnwindRuleRegSet() 64 case dwarf::UnwindLocation::Location::Undefined: in getUnwindRuleRegSet() 65 case dwarf::UnwindLocation::Location::Constant: in getUnwindRuleRegSet() 66 case dwarf::UnwindLocation::Location::CFAPlusOffset: in getUnwindRuleRegSet() 70 case dwarf::UnwindLocation::Location::DWARFExpr: in getUnwindRuleRegSet() 75 case dwarf::UnwindLocation::Location::Same: in getUnwindRuleRegSet() 77 case dwarf::UnwindLocation::Location::RegPlusOffset: in getUnwindRuleRegSet()
|