Searched defs:LC (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
H A DPrettyStackTraceLocationContext.h32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { argument
H A DCoreEngine.cpp290 const LocationContext *LC = Pred->getLocationContext(); local
292 LC->getDecl(),
293 LC->getCFG()->getNumBlockIDs());
327 const LocationContext *LC = Pred->getLocationContext(); local
330 Counter = BCounterFactory.IncrementCount(Counter, LC->getCurrentStackFrame(),
H A DExprEngineC.cpp464 const LocationContext *LC = N->getLocationContext(); local
471 SVal InitVal = state->getSVal(InitEx, LC);
497 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty,
504 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true);
H A DMemRegion.cpp385 const LocationContext *LC,
390 ID.AddPointer(LC);
396 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion());
738 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument
741 while (LC) {
742 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) {
747 dyn_cast<BlockInvocationContext>(LC)) {
760 LC = LC->getParent();
766 const LocationContext *LC) {
383 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockTextRegion *BC, const LocationContext *LC, unsigned BlkCount, const MemRegion *sReg) argument
765 getVarRegion(const VarDecl *D, const LocationContext *LC) argument
852 getBlockDataRegion(const BlockTextRegion *BC, const LocationContext *LC, unsigned blockCount) argument
886 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
959 getCXXTempObjectRegion(Expr const *E, LocationContext const *LC) argument
1011 getCXXThisRegion(QualType thisPointerTy, const LocationContext *LC) argument
1021 getAllocaRegion(const Expr *E, unsigned cnt, const LocationContext *LC) argument
[all...]
H A DPathDiagnostic.cpp644 PathDiagnosticLocation::createDeclBegin(const LocationContext *LC, argument
648 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
658 PathDiagnosticLocation::createDeclEnd(const LocationContext *LC, argument
660 SourceLocation L = LC->getDecl()->getBodyRBrace();
754 const LocationContext *LC = N->getLocationContext(); local
765 return PathDiagnosticLocation::createEnd(S, SM, LC);
768 return PathDiagnosticLocation(S, SM, LC);
769 return PathDiagnosticLocation(getValidSourceLocation(S, LC), SM);
H A DExprEngine.cpp183 const LocationContext *LC,
186 SVal V = State->getSVal(Ex, LC);
233 TR = MRMgr.getCXXTempObjectRegion(Inner, LC);
238 V = getSValBuilder().conjureSymbolVal(Result, LC, TR->getValueType(),
249 State = State->BindExpr(Result, LC, Reg);
317 const LocationContext *LC) {
337 ParentMap &PM = LC->getAnalysisDeclContext()->getParentMap();
343 const LocationContext *LC,
349 assert(LC && "Must pass the current (or expiring) LocationContext");
359 // LC i
182 createTemporaryRegionIfNeeded(ProgramStateRef State, const LocationContext *LC, const Expr *Ex, const Expr *Result) argument
314 shouldRemoveDeadBindings(AnalysisManager &AMgr, const CFGStmt S, const ExplodedNode *Pred, const LocationContext *LC) argument
341 removeDead(ExplodedNode *Pred, ExplodedNodeSet &Out, const Stmt *ReferenceStmt, const LocationContext *LC, const Stmt *DiagnosticStmt, ProgramPoint::Kind K) argument
2117 const LocationContext *LC = Pred->getLocationContext(); local
[all...]
/external/clang/test/CodeGenCXX/
H A Dmangle-extern-local.cpp29 struct LC { int localfunc() { extern int var4; return var4; } }; struct
30 LC localobj;
/external/llvm/include/llvm/Analysis/
H A DLibCallAliasAnalysis.h31 explicit LibCallAliasAnalysis(LibCallInfo *LC = nullptr)
32 : FunctionPass(ID), LCI(LC) {
35 explicit LibCallAliasAnalysis(char &ID, LibCallInfo *LC) argument
36 : FunctionPass(ID), LCI(LC) {
/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp20 const LocationContext *LC = C.getLocationContext(); local
22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
/external/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.cpp405 const LocationContext *LC = this; local
406 while (LC) {
407 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC))
409 LC = LC->getParent();
418 bool LocationContext::isParentOf(const LocationContext *LC) const {
420 const LocationContext *Parent = LC->getParent();
424 LC = Parent;
425 } while (LC);
580 LocationContext *LC local
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp61 const LocationContext *LC = N->getLocationContext(); local
65 SVal AssertionVal = State->getSVal(Assertion, LC);
90 const LocationContext *LC = N->getLocationContext(); local
94 if (LC->getCurrentStackFrame()->getParent() != nullptr)
118 const LocationContext *LC = N->getLocationContext(); local
125 if (LC->getCurrentStackFrame()->getParent() == nullptr)
H A DAnalyzerStatsChecker.cpp50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); local
52 const Decl *D = LC->getDecl();
70 C = LC->getCFG();
133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
H A DUnreachableCodeChecker.cpp64 const LocationContext *LC = nullptr; local
69 LC = P.getLocationContext();
70 if (!LC->inTopFrame())
74 D = LC->getAnalysisDeclContext()->getDecl();
78 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG();
80 PM = &LC->getParentMap();
155 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
H A DVLASizeChecker.cpp168 const LocationContext *LC = C.getLocationContext(); local
170 state->getRegion(VD, LC)->getExtent(svalBuilder);
H A DMallocChecker.cpp2257 const LocationContext *LC = C.getLocationContext(); local
2263 VR = MemMgr.getVarRegion(VR->getDecl(), LC);
/external/clang/test/Parser/
H A Dcxx-casting.cpp59 #define LC <: macro
61 test1::A LC:B> c; // expected-error {{class template 'test1::A' requires template arguments}} expected-error 2{{}}
62 (void)static_cast LC:c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-note{{}}
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_format_interceptor_test.cc44 static const unsigned LC = sizeof(wchar_t); variable
119 testScanf("%lc", 1, LC);
135 testScanf("%10ls", 1, 11 * LC);
136 testScanf("%10lc", 1, 10 * LC);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h87 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { argument
88 return svalBuilder.makeLoc(MRMgr.getVarRegion(VD, LC));
92 const LocationContext *LC) {
93 return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC));
91 getLValueCompoundLiteral(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
H A DCoreEngine.h182 const LocationContext *LC; member in struct:clang::ento::NodeBuilderContext
184 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); }
193 LC->getCurrentStackFrame(),
H A DMemRegion.h634 const LocationContext *LC; // Can be null */ member in class:clang::ento::BlockDataRegion
641 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc),
1182 const LocationContext *LC);
1188 const LocationContext *LC);
1193 const LocationContext *LC);
1207 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC);
1245 LocationContext const *LC);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1037 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument
1042 return TLI.makeLibCall(DAG, LC, N->getValueType(0), nullptr, 0, isSigned,
1046 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned,
1050 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned,
1057 return TLI.makeLibCall(DAG, LC, N->getValueType(0),
1064 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, argument
1080 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1087 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0)
H A DLegalizeFloatTypes.cpp414 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); local
417 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!");
418 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, SDLoc(N)).first;
432 RTLIB::Libcall LC = RTLIB::getFPEXT(MVT::f32, N->getValueType(0)); local
433 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!");
434 return TLI.makeLibCall(DAG, LC, NVT, &Res32, 1, false, SDLoc(N)).first;
446 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); local
447 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!");
448 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, SDLoc(N)).first;
646 RTLIB::Libcall LC local
739 RTLIB::Libcall LC = RTLIB::getFPROUND(SVT, FloatRVT); local
771 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
779 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
1293 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
1486 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
1518 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
[all...]
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfGraphicsStateDictionary_autogen.cpp35 int64_t SkPdfGraphicsStateDictionary::LC(SkPdfNativeDoc* doc) { function in class:SkPdfGraphicsStateDictionary
36 SkPdfNativeObject* ret = get("LC", "");
44 return get("LC", "") != NULL;
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp541 const SCEVConstant *LC = cast<SCEVConstant>(LHS); local
545 const APInt &LA = LC->getValue()->getValue();
585 const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS); local
589 unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands();
596 long X = compare(LC->getOperand(i), RC->getOperand(i));
604 const SCEVUDivExpr *LC = cast<SCEVUDivExpr>(LHS); local
608 long X = compare(LC->getLHS(), RC->getLHS());
611 return compare(LC->getRHS(), RC->getRHS());
617 const SCEVCastExpr *LC = cast<SCEVCastExpr>(LHS); local
621 return compare(LC
[all...]

Completed in 1201 milliseconds

12