Home
last modified time | relevance | path

Searched refs:LC (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd-12.1/sys/contrib/ck/include/
H A Dck_rwcohort.h45 #define CK_RWCOHORT_WP_READ_LOCK(N, RW, C, GC, LC) \ argument
46 ck_rwcohort_wp_##N##_read_lock(RW, C, GC, LC)
47 #define CK_RWCOHORT_WP_READ_UNLOCK(N, RW, C, GC, LC) \ argument
49 #define CK_RWCOHORT_WP_WRITE_LOCK(N, RW, C, GC, LC) \ argument
50 ck_rwcohort_wp_##N##_write_lock(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) \ argument
150 ck_rwcohort_rp_##N##_read_lock(RW, C, GC, LC)
154 ck_rwcohort_rp_##N##_write_lock(RW, C, GC, LC)
156 ck_rwcohort_rp_##N##_write_unlock(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) argument
52 #define CK_COHORT_UNLOCK(N, C, GC, LC) ck_cohort_##N##_unlock(C, GC, LC) argument
54 #define CK_COHORT_LOCKED(N, C, GC, LC) ck_cohort_##N##_locked(C, GC, LC) argument
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp81 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() local
82 LC != nullptr; LC = LC->getParent()) in checkPreCall()
98 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall() local
99 LC != nullptr; LC = LC->getParent()) in checkPostCall()
H A DUnreachableCodeChecker.cpp60 const LocationContext *LC = nullptr; in checkEndAnalysis() local
65 LC = P.getLocationContext(); in checkEndAnalysis()
66 if (!LC->inTopFrame()) in checkEndAnalysis()
70 D = LC->getAnalysisDeclContext()->getDecl(); in checkEndAnalysis()
74 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG(); in checkEndAnalysis()
76 PM = &LC->getParentMap(); in checkEndAnalysis()
160 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC); in checkEndAnalysis()
H A DAnalyzerStatsChecker.cpp50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); in checkEndAnalysis() local
52 const Decl *D = LC->getDecl(); in checkEndAnalysis()
70 C = LC->getCFG(); in checkEndAnalysis()
135 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
H A DExprInspectionChecker.cpp105 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString() local
109 SVal AssertionVal = State->getSVal(Assertion, LC); in getArgumentValueString()
153 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerEval() local
157 if (LC->getStackFrame()->getParent() != nullptr) in analyzerEval()
179 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerCheckInlined() local
186 if (LC->getStackFrame()->getParent() == nullptr) in analyzerCheckInlined()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DProgramPoint.cpp22 const LocationContext *LC, in getProgramPoint() argument
28 return PreStmt(S, LC, tag); in getProgramPoint()
30 return PostStmt(S, LC, tag); in getProgramPoint()
32 return PreLoad(S, LC, tag); in getProgramPoint()
34 return PostLoad(S, LC, tag); in getProgramPoint()
36 return PreStore(S, LC, tag); in getProgramPoint()
38 return PostLValue(S, LC, tag); in getProgramPoint()
40 return PostStmtPurgeDeadSymbols(S, LC, tag); in getProgramPoint()
42 return PreStmtPurgeDeadSymbols(S, LC, tag); in getProgramPoint()
H A DAnalysisDeclContext.cpp167 for (const auto &LC : parent->captures()) { in getSelfDecl() local
168 if (!LC.capturesVariable()) in getSelfDecl()
171 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl()
441 const LocationContext *LC = this; in getStackFrame() local
442 while (LC) { in getStackFrame()
445 LC = LC->getParent(); in getStackFrame()
456 const LocationContext *Parent = LC->getParent(); in isParentOf()
460 LC = Parent; in isParentOf()
461 } while (LC); in isParentOf()
640 LocationContext *LC = &*I; in clear() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp136 : Impl(Item, LC) {} in ConstructedObjectKey()
505 const LocationContext *LC = FromLC; in areAllObjectsFullyConstructed() local
506 while (LC != ToLC) { in areAllObjectsFullyConstructed()
512 LC = LC->getParent(); in areAllObjectsFullyConstructed()
550 if (Key.getLocationContext() != LC) in printObjectsUnderConstructionForContext()
663 LC = LC->getParent(); in removeDead()
666 const StackFrameContext *SFC = LC ? LC->getStackFrame() : nullptr; in removeDead()
2226 const LocationContext *LC = FromLC; in processEndOfFunction() local
2227 while (LC != ToLC) { in processEndOfFunction()
2240 LC = LC->getParent(); in processEndOfFunction()
[all …]
H A DEnvironment.cpp214 const LocationContext *LC = I.first.getLocationContext(); in print() local
215 if (FoundContexts.count(LC) == 0) { in print()
217 WithLC = LC; in print()
218 for (const LocationContext *LCI = LC; LCI; LCI = LCI->getParent()) in print()
229 WithLC->dumpStack(Out, "", NL, Sep, [&](const LocationContext *LC) { in print() argument
231 if (I.first.getLocationContext() != LC) in print()
237 Out << "(LC" << LC->getID() << ", S" << S->getID(Context) << ") "; in print()
H A DMemRegion.cpp378 ID.AddPointer(LC); in ProfileRegion()
823 while (LC) { in getStackOrCaptureRegionForDeclContext()
841 LC = LC->getParent(); in getStackOrCaptureRegionForDeclContext()
948 if (LC) { in getBlockDataRegion()
1044 const StackFrameContext *SFC = LC->getStackFrame(); in getCXXTempObjectRegion()
1110 LC = LC->getParent(); in getCXXThisRegion()
1111 D = dyn_cast<CXXMethodDecl>(LC->getDecl()); in getCXXThisRegion()
1482 OriginalVR = MemMgr.getVarRegion(VD, LC); in getCaptureRegions()
1485 if (LC) { in getCaptureRegions()
1486 VR = MemMgr.getVarRegion(VD, LC); in getCaptureRegions()
[all …]
H A DBugReporter.cpp351 const LocationContext *LC; member in __anon26fd67af0111::PathDiagnosticBuilder
557 const LocationContext *LC, in generateDiagForSwitchOP() argument
1079 PDB.LC = NewLC; in generatePathDiagnosticsForNode()
1097 PDB.LC = N->getLocationContext(); in generatePathDiagnosticsForNode()
1102 LCM[&PD.getActivePath()] = PDB.LC; in generatePathDiagnosticsForNode()
1686 assert(LC); in optimizeEdges()
1687 ParentMap &PM = LC->getParentMap(); in optimizeEdges()
1841 addContextEdges(path, SM, PM, LC); in optimizeEdges()
2065 return LC->getStackFrame()->getDecl(); in getDeclWithIssue()
2116 if (!LC) in markInteresting()
[all …]
H A DPrettyStackTraceLocationContext.h32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { in PrettyStackTraceLocationContext() argument
H A DPathDiagnostic.cpp708 SourceLocation L = LC->getDecl()->getBodyRBrace(); in createDeclEnd()
757 const LocationContext *ParentLC = LC->getParent(); in findTopAutosynthesizedParentContext()
760 LC = ParentLC; in findTopAutosynthesizedParentContext()
761 ParentLC = LC->getParent(); in findTopAutosynthesizedParentContext()
764 return LC; in findTopAutosynthesizedParentContext()
771 const LocationContext *LC = N->getLocationContext(); in getStmt() local
772 if (LC->getAnalysisDeclContext()->isBodyAutosynthesized()) { in getStmt()
829 const LocationContext *LC = N->getLocationContext(); in createEndOfPath() local
837 return PathDiagnosticLocation::createBegin(RS, SM, LC); in createEndOfPath()
854 return PathDiagnosticLocation::createEnd(S, SM, LC); in createEndOfPath()
[all …]
H A DCoreEngine.cpp215 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEdge() local
217 LC->getDecl(), in HandleBlockEdge()
218 LC->getCFG()->getNumBlockIDs()); in HandleBlockEdge()
262 const LocationContext *LC = Pred->getLocationContext(); in HandleBlockEntrance() local
265 Counter = BCounterFactory.IncrementCount(Counter, LC->getStackFrame(), in HandleBlockEntrance()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp2506 LC = RTLIB::MUL_I16; in ExpandIntRes_MUL()
2508 LC = RTLIB::MUL_I32; in ExpandIntRes_MUL()
2510 LC = RTLIB::MUL_I64; in ExpandIntRes_MUL()
2512 LC = RTLIB::MUL_I128; in ExpandIntRes_MUL()
2514 if (LC == RTLIB::UNKNOWN_LIBCALL || !TLI.getLibcallName(LC)) { in ExpandIntRes_MUL()
2729 LC = RTLIB::SDIV_I16; in ExpandIntRes_SDIV()
2731 LC = RTLIB::SDIV_I32; in ExpandIntRes_SDIV()
2733 LC = RTLIB::SDIV_I64; in ExpandIntRes_SDIV()
2831 if (LC != RTLIB::UNKNOWN_LIBCALL && TLI.getLibcallName(LC)) { in ExpandIntRes_Shift()
2912 LC = RTLIB::SREM_I16; in ExpandIntRes_SREM()
[all …]
H A DLegalizeFloatTypes.cpp479 return TLI.makeLibCall(DAG, LC, NVT, Op, false, SDLoc(N)).first; in SoftenFloatRes_FP_EXTEND()
508 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!"); in SoftenFloatRes_FP_ROUND()
717 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in SoftenFloatRes_XINT_TO_FP() local
730 return TLI.makeLibCall(DAG, LC, in SoftenFloatRes_XINT_TO_FP()
855 RTLIB::Libcall LC = RTLIB::getFPEXT(SVT, RVT); in SoftenFloatOp_FP_EXTEND() local
871 RTLIB::Libcall LC = RTLIB::getFPROUND(SVT, FloatRVT); in SoftenFloatOp_FP_ROUND() local
940 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in SoftenFloatOp_FP_TO_XINT() local
1479 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in ExpandFloatRes_XINT_TO_FP() local
1483 LC = RTLIB::SINTTOFP_I64_PPCF128; in ExpandFloatRes_XINT_TO_FP()
1486 LC = RTLIB::SINTTOFP_I128_PPCF128; in ExpandFloatRes_XINT_TO_FP()
[all …]
H A DLegalizeDAG.cpp2133 RTLIB::Libcall LC; in ExpandFPLibCall() local
2136 case MVT::f32: LC = Call_F32; break; in ExpandFPLibCall()
2151 RTLIB::Libcall LC; in ExpandIntLibCall() local
2170 RTLIB::Libcall LC; in ExpandDivRemLibCall() local
2231 RTLIB::Libcall LC; in isSinCosLibcallAvailable() local
2265 RTLIB::Libcall LC; in ExpandSinCosLibCall() local
3392 LC = RTLIB::MUL_I16; in ExpandNode()
3394 LC = RTLIB::MUL_I32; in ExpandNode()
3396 LC = RTLIB::MUL_I64; in ExpandNode()
3398 LC = RTLIB::MUL_I128; in ExpandNode()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h135 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar() argument
136 return svalBuilder.makeLoc(MRMgr.getVarRegion(VD, LC)); in getLValueVar()
140 const LocationContext *LC) { in getLValueCompoundLiteral() argument
141 return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC)); in getLValueCompoundLiteral()
H A DExprEngine.h259 const Stmt *ReferenceStmt, const LocationContext *LC,
597 const LocationContext *LC);
747 ProgramStateRef State, const LocationContext *LC,
789 const LocationContext *LC, SVal V);
796 const LocationContext *LC);
803 const LocationContext *LC);
809 const LocationContext *LC);
816 const LocationContext *LC);
H A DProgramState.h232 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
312 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
315 const LocationContext *LC) const;
685 const LocationContext *LC) const in getRegion() argument
687 return getStateManager().getRegionManager().getVarRegion(D, LC); in getRegion()
756 const LocationContext *LC) const { in getLValue() argument
757 return getStateManager().StoreMgr->getLValueVar(VD, LC); in getLValue()
761 const LocationContext *LC) const { in getLValue() argument
762 return getStateManager().StoreMgr->getLValueCompoundLiteral(literal, LC); in getLValue()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp26 SDValue Size, unsigned Align, RTLIB::Libcall LC) const { in EmitSpecializedLibcall()
33 if (std::strncmp(TLI->getLibcallName(LC), "__aeabi", 7) != 0) in EmitSpecializedLibcall()
45 switch (LC) { in EmitSpecializedLibcall()
118 TLI->getLibcallCallingConv(LC), Type::getVoidTy(*DAG.getContext()), in EmitSpecializedLibcall()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DIRBuilder.h1008 auto *LC = dyn_cast<Constant>(L); variable
1010 return (LC && RC) ? Insert(Folder.CreateBinOp(Opc, LC, RC), Name) : nullptr;
1016 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1033 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1050 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1067 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1081 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1105 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1126 if (auto *LC = dyn_cast<Constant>(LHS)) variable
1146 if (auto *LC = dyn_cast<Constant>(LHS)) variable
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp245 for (const auto &LC : LibraryCalls) { in MSP430TargetLowering() local
246 setLibcallName(LC.Op, LC.Name); in MSP430TargetLowering()
247 if (LC.Cond != ISD::SETCC_INVALID) in MSP430TargetLowering()
248 setCmpLibcallCC(LC.Op, LC.Cond); in MSP430TargetLowering()
263 for (const auto &LC : LibraryCalls) { in MSP430TargetLowering() local
264 setLibcallName(LC.Op, LC.Name); in MSP430TargetLowering()
278 for (const auto &LC : LibraryCalls) { in MSP430TargetLowering() local
279 setLibcallName(LC.Op, LC.Name); in MSP430TargetLowering()
293 for (const auto &LC : LibraryCalls) { in MSP430TargetLowering() local
294 setLibcallName(LC.Op, LC.Name); in MSP430TargetLowering()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp464 const LocationContext *LC = Context.getLocationContext(); in willObjectBeAnalyzedLater() local
465 while ((LC = LC->getParent())) { in willObjectBeAnalyzedLater()
468 const auto *OtherCtor = dyn_cast<CXXConstructorDecl>(LC->getDecl()); in willObjectBeAnalyzedLater()

12345