Home
last modified time | relevance | path

Searched refs:Location (Results 1 – 25 of 185) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DModRef.h74 using Location = LocationEnum;
82 static uint32_t getLocationPos(Location Loc) { in getLocationPos()
88 void setModRef(Location Loc, ModRefInfo MR) { in setModRef()
96 return enum_seq_inclusive(Location::First, Location::Last, in locations()
107 for (Location Loc : locations()) in MemoryEffectsBase()
133 return MemoryEffectsBase(Location::ArgMem, MR);
147 FRMB.setModRef(Location::ArgMem, MR);
148 FRMB.setModRef(Location::InaccessibleMem, MR);
165 ModRefInfo getModRef(Location Loc) const { in getModRef()
186 for (Location Loc : locations()) in getModRef()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h261 return Location.getKind() == BlockExitKind; in isKind()
284 unsigned k = Location.getKind(); in isKind()
302 return Location.getKind() == PreStmtKind; in isKind()
325 unsigned k = Location.getKind(); in isKind()
421 return Location.getKind() == PostLoadKind; in isKind()
448 return Location.getKind() == PostStoreKind; in isKind()
462 return Location.getKind() == PostLValueKind; in isKind()
518 return Location.getKind() == BlockEdgeKind; in isKind()
653 return Location.getKind() == CallEnterKind; in isKind()
724 return Location.getKind() == LoopExitKind; in isKind()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h34 class Location {
46 Location() : Kind(LK_Null) {} in Location() function
47 Location(SourceLocation Loc) : in Location() function
49 Location(MemoryLocation Loc) : in Location() function
52 Location(const SymbolizedStackHolder &Stack) : in Location() function
83 Location Start, End;
90 Location getStart() const { return Start; } in getStart()
91 Location getEnd() const { return End; } in getEnd()
116 Location Loc;
188 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
[all …]
H A Dubsan_monitor.h23 Location &Loc;
26 UndefinedBehaviorReport(const char *IssueKind, Location &Loc,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h46 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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp130 PathDiagnosticLocation Location = R.getLocation(); in isSuppressed() local
134 return isSuppressed(Location, DeclWithIssue, {}) || in isSuppressed()
138 bool BugSuppression::isSuppressed(const PathDiagnosticLocation &Location, in isSuppressed() argument
141 if (!Location.isValid() || DeclWithIssue == nullptr) in isSuppressed()
162 SourceRange BugRange = Location.asRange(); in isSuppressed()
163 const SourceManager &SM = Location.getManager(); in isSuppressed()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp153 using Location = std::pair<StringRef, unsigned>; in addDiscriminators() typedef
155 using LocationBBMap = DenseMap<Location, BBSet>; in addDiscriminators()
156 using LocationDiscriminatorMap = DenseMap<Location, unsigned>; in addDiscriminators()
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/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSymbol.cpp141 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()
185 for (LVLocation *Location : *Locations) in getLocations()
186 LocationList.push_back(Location); in getLocations()
387 for (const LVLocation *Location : *Locations) in printLocations()
[all …]
H A DLVLocation.cpp505 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
637 if (!Location->getIsLocationSimple()) in print()
647 for (const LVLocation *Location : *Locations) in print()
[all …]
H A DLVReader.cpp117 Location = std::string(Where); in createSplitFolder()
120 size_t Pos = Location.find_last_of('/'); in createSplitFolder()
121 if (Location.length() != Pos + 1) in createSplitFolder()
122 Location.append("/"); in createSplitFolder()
125 if (std::error_code EC = llvm::sys::fs::create_directories(Location)) in createSplitFolder()
127 Location.c_str()); in createSplitFolder()
140 if (!Location.empty()) in open()
141 Name.insert(0, Location); in open()
H A DLVScope.cpp152 assert(Location && "Invalid location."); in addObject()
158 Location->setParent(this); in addObject()
159 Location->setOffset(getOffset()); in addObject()
161 Ranges->push_back(Location); in addObject()
252 Location->setIsAddressRange(); in addObject()
254 addObject(Location); in addObject()
988 Location->print(OS, Full); in printActiveRanges()
1227 addInvalidRange(Location); in processRangeLocationCoverage()
1239 addInvalidLocation(Location); in processRangeLocationCoverage()
1364 addInvalidLocationOrRange(Location, Location->getParentSymbol(), in addInvalidLocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp49 using Location = std::pair<StringRef, unsigned>; typedef
51 Location diToLocation(const DILocation *Loc) { in diToLocation()
104 DenseMap<Location, unsigned> MemOpDiscriminators; in runOnMachineFunction()
118 Location Loc = diToLocation(DI); in runOnMachineFunction()
127 DenseMap<Location, DenseSet<unsigned>> Seen; in runOnMachineFunction()
141 Location L = diToLocation(DI); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp203 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation() argument
205 return json::Object{{"location", std::move(Location)}, in createThreadFlowLocation()
225 const SarifArtifactLocation &Location = in createPhysicalLocation() local
227 const SarifArtifact &Artifact = SarifArtifact::create(Location) in createPhysicalLocation()
238 const SarifArtifactLocation &Location = I->second.Location; in createPhysicalLocation() local
239 json::Object ArtifactLocationObject{{"uri", Location.URI}}; in createPhysicalLocation()
240 if (Location.Index.has_value()) in createPhysicalLocation()
241 ArtifactLocationObject["index"] = *Location.Index; in createPhysicalLocation()
301 json::Object Loc{{"uri", A.Location.URI}}; in endRun()
302 if (A.Location.Index.has_value()) { in endRun()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h33 const ProgramPoint Location; variable
49 Location(loc), in Eng()
212 (Tag ? Tag : Location.getTag()));
228 (Tag ? Tag : Location.getTag()));
241 return addTransition(State, (Tag ? Tag : Location.getTag()));
257 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
414 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCWin64EH.cpp834 } Location = Start; in tryARM64PackedUnwind() local
859 if (Location != Start2 && Location != Start3) in tryARM64PackedUnwind()
866 if (Location != Start2 && Location != Start3) in tryARM64PackedUnwind()
929 if ((Location != Start2 && Location != Start3) || Inst.Register != 8) in tryARM64PackedUnwind()
936 if ((Location != IntRegs && Location != FloatRegs) || in tryARM64PackedUnwind()
952 if (Location != IntRegs && Location != FloatRegs && Location != InputArgs) in tryARM64PackedUnwind()
959 if (Location != Start2 && Location != Start3 && Location != IntRegs && in tryARM64PackedUnwind()
960 Location != FloatRegs && Location != InputArgs && in tryARM64PackedUnwind()
976 if (Location != Start2 && Location != Start3 && Location != IntRegs && in tryARM64PackedUnwind()
977 Location != FloatRegs && Location != InputArgs) in tryARM64PackedUnwind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp93 auto Location = Tok.getLocation(); in process() local
94 auto Text = StringRef(SourceMgr.getCharacterData(Location), Length); in process()
104 CharSourceRange::getCharRange(Location, Tok.getEndLoc()))) { in process()
159 Location = Location.getLocWithOffset(Start); in process()
161 tooling::Replacement(SourceMgr, Location, Length, Formatted))); in process()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackMaps.cpp224 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand()
233 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand()
290 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), in parseOperand()
316 case Location::Unprocessed: in print()
319 case Location::Register: in print()
326 case Location::Direct: in print()
335 case Location::Indirect: in print()
343 case Location::Constant: in print()
346 case Location::ConstantIndex: in print()
436 assert(Locations.back().Type == Location::Constant); in parseStatepointOpers()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp108 unsigned Severity, const serialized_diags::Location &Location,
113 std::error_code visitFixitRecord(const serialized_diags::Location &Start,
114 const serialized_diags::Location &End,
117 visitSourceRangeRecord(const serialized_diags::Location &Start,
118 const serialized_diags::Location &End) override;
830 SDiagsMerger::visitSourceRangeRecord(const serialized_diags::Location &Start, in visitSourceRangeRecord()
841 unsigned Severity, const serialized_diags::Location &Location, in visitDiagnosticRecord() argument
844 RECORD_DIAG, Severity, FileLookup[Location.FileID], Location.Line, in visitDiagnosticRecord()
845 Location.Col, Location.Offset, CategoryLookup[Category], in visitDiagnosticRecord()
854 SDiagsMerger::visitFixitRecord(const serialized_diags::Location &Start, in visitFixitRecord()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h74 PathDiagnosticLocation Location; variable
90 assert(Location.isValid()); in getLocation()
91 return Location; in getLocation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h44 unsigned Location; variable
48 LocIdx() : Location(UINT_MAX) {} in LocIdx()
52 LocIdx(unsigned L) : Location(L) { in LocIdx()
59 --L.Location; in MakeTombstoneLoc()
65 uint64_t asU64() const { return Location; } in asU64()
69 bool operator==(const LocIdx &L) const { return Location == L.Location; }
76 return Location < Other.Location;
822 for (auto Location : locations())
823 Location.Value = {CurBB, 0, Location.Idx};
832 for (auto Location : locations())
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp35 DbgVariableLocation Location; in extractFromMachineInstruction() local
41 Location.Register = Instruction.getDebugOperand(0).getReg(); in extractFromMachineInstruction()
42 Location.FragmentInfo.reset(); in extractFromMachineInstruction()
79 Location.FragmentInfo = {Op->getArg(1), Op->getArg(0)}; in extractFromMachineInstruction()
82 Location.LoadChain.push_back(Offset); in extractFromMachineInstruction()
95 Location.LoadChain.push_back(Offset); in extractFromMachineInstruction()
97 return Location; in extractFromMachineInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVReader.h35 std::string Location; variable
53 std::string getLocation() const { return Location; } in getLocation()
90 LV_OBJECT_ALLOCATOR(Location)
199 LV_CREATE_OBJECT(Location) in LV_CREATE_OBJECT()
309 bool doPrintLocation(const LVLocation *Location) const { in doPrintLocation() argument
310 return patterns().printObject(Location); in doPrintLocation()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCTagsEmitter.cpp34 Tag(StringRef Name, const SMLoc Location) : Id(Name) { in Tag() argument
36 SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Location)); in Tag()
38 auto LineAndColumn = SrcMgr.getLineAndColumn(Location); in Tag()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h466 LineLocation Location;
468 SampleContextFrame() : Location(0, 0) {}
471 : Func(Func), Location(Location) {}
474 return Location == That.Location && Func == That.Func;
485 OContextStr << ":" << Location.LineOffset;
486 if (Location.Discriminator)
487 OContextStr << "." << Location.Discriminator;
494 uint64_t LocId = Location.getHashCode();
681 if (Context1.Location != Context2.Location)
682 return Context1.Location < Context2.Location;
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp141 unsigned Location = NextLocalOffset; in createLocal() local
143 return {Location, D}; in createLocal()
156 void *Location = Code.data() + Reloc - align(sizeof(int32_t)); in emitLabel() local
157 assert(aligned(Location)); in emitLabel()
159 endian::write<int32_t, llvm::endianness::native>(Location, Offset); in emitLabel()

12345678