Searched refs:LC (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPrettyStackTraceLocationContext.h31 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { argument
H A DEnvironment.cpp219 const LocationContext *LC = I.first.getLocationContext(); local
220 if (FoundContexts.count(LC) == 0) {
222 LCtx = LC;
223 for (const LocationContext *LCI = LC; LCI; LCI = LCI->getParent())
235 LCtx->printJson(Out, NL, Space, IsDot, [&](const LocationContext *LC) {
244 if (I->first.getLocationContext() != LC)
261 if (I->first.getLocationContext() != LC)
H A DExplodedGraph.cpp310 findTopAutosynthesizedParentContext(const LocationContext *LC) { argument
311 assert(LC->getAnalysisDeclContext()->isBodyAutosynthesized());
312 const LocationContext *ParentLC = LC->getParent();
315 LC = ParentLC;
316 ParentLC = LC->getParent();
319 return LC;
326 const LocationContext *LC = getLocationContext(); local
327 if (LC->getAnalysisDeclContext()->isBodyAutosynthesized()) {
329 return cast<StackFrameContext>(findTopAutosynthesizedParentContext(LC))
H A DMemRegion.cpp372 const LocationContext *LC,
377 ID.AddPointer(LC);
383 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion());
819 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument
822 while (LC) {
823 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) {
827 if (const auto *BC = dyn_cast<BlockInvocationContext>(LC)) {
840 LC = LC->getParent();
846 const LocationContext *LC) {
370 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockCodeRegion *BC, const LocationContext *LC, unsigned BlkCount, const MemRegion *sReg) argument
845 getVarRegion(const VarDecl *D, const LocationContext *LC) argument
939 getBlockDataRegion(const BlockCodeRegion *BC, const LocationContext *LC, unsigned blockCount) argument
973 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
1044 getCXXTempObjectRegion(Expr const *E, LocationContext const *LC) argument
1100 getCXXThisRegion(QualType thisPointerTy, const LocationContext *LC) argument
1121 getAllocaRegion(const Expr *E, unsigned cnt, const LocationContext *LC) argument
[all...]
H A DExprEngine.cpp135 const LocationContext *LC)
136 : Impl(Item, LC) {}
310 ProgramStateRef State, const LocationContext *LC,
318 SVal InitValWithAdjustments = State->getSVal(InitWithAdjustments, LC);
374 if (Optional<SVal> V = getObjectUnderConstruction(State, MT, LC)) {
375 State = finishObjectConstruction(State, MT, LC);
376 State = State->BindExpr(Result, LC, *V);
385 TR = MRMgr.getCXXTempObjectRegion(Init, LC);
389 TR = MRMgr.getCXXTempObjectRegion(Init, LC);
408 currBldrCtx->blockCount(), LC, tru
134 ConstructedObjectKey(const ConstructionContextItem &Item, const LocationContext *LC) argument
309 createTemporaryRegionIfNeeded( ProgramStateRef State, const LocationContext *LC, const Expr *InitWithAdjustments, const Expr *Result, const SubRegion **OutRegionWithAdjustments) argument
461 addObjectUnderConstruction(ProgramStateRef State, const ConstructionContextItem &Item, const LocationContext *LC, SVal V) argument
474 getObjectUnderConstruction(ProgramStateRef State, const ConstructionContextItem &Item, const LocationContext *LC) argument
482 finishObjectConstruction(ProgramStateRef State, const ConstructionContextItem &Item, const LocationContext *LC) argument
490 elideDestructor(ProgramStateRef State, const CXXBindTemporaryExpr *BTE, const LocationContext *LC) argument
500 cleanupElidedDestructor(ProgramStateRef State, const CXXBindTemporaryExpr *BTE, const LocationContext *LC) argument
508 isDestructorElided(ProgramStateRef State, const CXXBindTemporaryExpr *BTE, const LocationContext *LC) argument
518 const LocationContext *LC = FromLC; local
663 shouldRemoveDeadBindings(AnalysisManager &AMgr, const Stmt *S, const ExplodedNode *Pred, const LocationContext *LC) argument
689 removeDead(ExplodedNode *Pred, ExplodedNodeSet &Out, const Stmt *ReferenceStmt, const LocationContext *LC, const Stmt *DiagnosticStmt, ProgramPoint::Kind K) argument
821 const LocationContext *LC = Pred->getLocationContext(); local
1074 const LocationContext *LC = Pred->getLocationContext(); local
1138 const LocationContext *LC = Pred->getLocationContext(); local
1163 const LocationContext *LC = Node->getLocationContext(); local
2295 const LocationContext *LC = FromLC; local
2795 const LocationContext *LC = Pred->getLocationContext(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.cpp26 for (LoadCommand &LC : LoadCommands)
27 LC.Sections.erase(std::remove_if(std::begin(LC.Sections),
28 std::end(LC.Sections), ToRemove),
29 std::end(LC.Sections));
32 void Object::addLoadCommand(LoadCommand LC) { argument
33 LoadCommands.push_back(std::move(LC));
47 LoadCommand LC; local
49 constructSegment(LC.MachOLoadCommand.segment_command_64_data,
52 constructSegment(LC
[all...]
H A DMachOObjcopy.cpp76 LoadCommand LC; local
81 LC.MachOLoadCommand.rpath_command_data = RPathLC;
82 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0);
83 std::copy(Path.begin(), Path.end(), LC.Payload.begin());
84 return LC;
89 for (LoadCommand &LC : Obj.LoadCommands)
90 for (Section &Sec : LC.Sections) {
122 for (LoadCommand &LC : Obj.LoadCommands) {
123 Optional<StringRef> SegName = LC.getSegmentName();
125 LC
[all...]
H A DMachOLayoutBuilder.cpp20 for (const auto &LC : O.LoadCommands) {
21 const MachO::macho_load_command &MLC = LC.MachOLoadCommand;
26 sizeof(MachO::section) * LC.Sections.size();
30 sizeof(MachO::section_64) * LC.Sections.size();
37 Size += sizeof(MachO::LCStruct) + LC.Payload.size(); \
110 for (auto &LC : O.LoadCommands) {
111 auto &MLC = LC.MachOLoadCommand;
136 assert(LC.Sections.empty() && "__LINKEDIT segment has sections");
145 for (auto &Sec : LC.Sections) {
185 sizeof(MachO::section) * LC
[all...]
H A DMachOWriter.cpp113 for (const auto &LC : O.LoadCommands)
114 for (const auto &S : LC.Sections) {
150 for (const auto &LC : O.LoadCommands) {
152 MachO::macho_load_command MLC = LC.MachOLoadCommand;
160 for (const auto &Sec : LC.Sections)
170 for (const auto &Sec : LC.Sections)
177 assert(sizeof(MachO::LCStruct) + LC.Payload.size() == \
183 if (!LC.Payload.empty()) \
184 memcpy(Begin, LC.Payload.data(), LC
[all...]
H A DMachOReader.cpp115 LoadCommand LC; local
118 LC.Sections = extractSections<MachO::section, MachO::segment_command>(
122 LC.Sections =
145 memcpy((void *)&(LC.MachOLoadCommand.LCStruct##_data), LoadCmd.Ptr, \
148 MachO::swapStruct(LC.MachOLoadCommand.LCStruct##_data); \
150 LC.Payload = ArrayRef<uint8_t>( \
158 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr,
161 MachO::swapStruct(LC.MachOLoadCommand.load_command_data);
163 LC.Payload = ArrayRef<uint8_t>(
170 O.LoadCommands.push_back(std::move(LC));
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp84 for (const LocationContext *LC = C.getLocationContext()->getParent();
85 LC != nullptr; LC = LC->getParent())
101 for (const LocationContext *LC = C.getLocationContext()->getParent();
102 LC != nullptr; LC = LC->getParent())
H A DUnreachableCodeChecker.cpp59 const LocationContext *LC = nullptr; local
64 LC = P.getLocationContext();
65 if (!LC->inTopFrame())
69 D = LC->getAnalysisDeclContext()->getDecl();
73 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG();
75 PM = &LC->getParentMap();
159 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
H A DAnalyzerStatsChecker.cpp49 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); local
51 const Decl *D = LC->getDecl();
69 C = LC->getCFG();
134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
H A DMIGChecker.cpp147 const LocationContext *LC = C.getLocationContext(); local
148 assert(LC && "Unknown location context");
152 while (LC) {
153 SFC = LC->getStackFrame();
154 LC = SFC->getParent();
H A DExprInspectionChecker.cpp109 const LocationContext *LC = N->getLocationContext(); local
113 SVal AssertionVal = State->getSVal(Assertion, LC);
157 const LocationContext *LC = C.getPredecessor()->getLocationContext(); local
161 if (LC->getStackFrame()->getParent() != nullptr)
183 const LocationContext *LC = C.getPredecessor()->getLocationContext(); local
190 if (LC->getStackFrame()->getParent() == nullptr)
H A DVLASizeChecker.cpp169 const LocationContext *LC = C.getLocationContext(); local
171 state->getRegion(VD, LC)->getExtent(svalBuilder);
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_rwcohort.h45 #define CK_RWCOHORT_WP_READ_LOCK(N, RW, C, GC, LC) \
46 ck_rwcohort_wp_##N##_read_lock(RW, C, GC, LC)
47 #define CK_RWCOHORT_WP_READ_UNLOCK(N, RW, C, GC, LC) \
49 #define CK_RWCOHORT_WP_WRITE_LOCK(N, RW, C, GC, LC) \
50 ck_rwcohort_wp_##N##_write_lock(RW, C, GC, LC)
51 #define CK_RWCOHORT_WP_WRITE_UNLOCK(N, RW, C, GC, LC) \
52 ck_rwcohort_wp_##N##_write_unlock(RW, C, GC, LC)
149 #define CK_RWCOHORT_RP_READ_LOCK(N, RW, C, GC, LC) \
150 ck_rwcohort_rp_##N##_read_lock(RW, C, GC, LC)
151 #define CK_RWCOHORT_RP_READ_UNLOCK(N, RW, C, GC, LC) \
[all...]
H A Dck_cohort.h51 #define CK_COHORT_LOCK(N, C, GC, LC) ck_cohort_##N##_lock(C, GC, LC)
52 #define CK_COHORT_UNLOCK(N, C, GC, LC) ck_cohort_##N##_unlock(C, GC, LC)
54 #define CK_COHORT_LOCKED(N, C, GC, LC) ck_cohort_##N##_locked(C, GC, LC)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRuntimeLibcallSignatures.h26 RTLIB::Libcall LC,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp108 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, argument
114 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, argument
118 for (const auto &Sec : LC.Sections) {
131 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) {
133 for (const auto &Sec : LC.Sections) {
145 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { argument
147 if (!LC.PayloadString.empty()) {
148 OS.write(LC.PayloadString.c_str(), LC.PayloadString.length());
149 BytesWritten = LC
130 writeLoadCommandData( MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) argument
155 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) argument
162 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) argument
169 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) argument
176 writeLoadCommandData( MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) argument
531 writeFatArch(MachOYAML::FatArch &LC, raw_ostream &OS) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp22 const LocationContext *LC,
28 return PreStmt(S, LC, tag);
30 return PostStmt(S, LC, tag);
32 return PreLoad(S, LC, tag);
34 return PostLoad(S, LC, tag);
36 return PreStore(S, LC, tag);
38 return PostLValue(S, LC, tag);
40 return PostStmtPurgeDeadSymbols(S, LC, tag);
42 return PreStmtPurgeDeadSymbols(S, LC, tag);
21 getProgramPoint(const Stmt *S, ProgramPoint::Kind K, const LocationContext *LC, const ProgramPointTag *tag) argument
H A DAnalysisDeclContext.cpp168 for (const auto &LC : parent->captures()) {
169 if (!LC.capturesVariable())
172 VarDecl *VD = LC.getCapturedVar();
443 const LocationContext *LC = this; local
444 while (LC) {
445 if (const auto *SFC = dyn_cast<StackFrameContext>(LC))
447 LC = LC->getParent();
456 bool LocationContext::isParentOf(const LocationContext *LC) const {
458 const LocationContext *Parent = LC
695 LocationContext *LC = &*I; local
[all...]
/freebsd-11-stable/tools/tools/locale/
H A DMakefile42 .if defined(LC)
43 LC:= --lc=${LC} macro
81 --type=${t} ${LC}
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h134 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { argument
135 return svalBuilder.makeLoc(MRMgr.getVarRegion(VD, LC));
139 const LocationContext *LC) {
140 return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC));
138 getLValueCompoundLiteral(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.h63 RTLIB::Libcall LC) const;

Completed in 326 milliseconds

1234