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

12

/freebsd-10-stable/contrib/llvm/tools/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.cpp388 const LocationContext *LC = this; local
389 while (LC) {
390 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC))
392 LC = LC->getParent();
401 bool LocationContext::isParentOf(const LocationContext *LC) const {
403 const LocationContext *Parent = LC->getParent();
407 LC = Parent;
408 } while (LC);
571 LocationContext *LC local
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPrettyStackTraceLocationContext.h32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { argument
H A DMemRegion.cpp385 const LocationContext *LC,
390 ID.AddPointer(LC);
396 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion());
736 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument
739 while (LC) {
740 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) {
745 dyn_cast<BlockInvocationContext>(LC)) {
758 LC = LC->getParent();
764 const LocationContext *LC) {
383 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockTextRegion *BC, const LocationContext *LC, unsigned BlkCount, const MemRegion *sReg) argument
763 getVarRegion(const VarDecl *D, const LocationContext *LC) argument
850 getBlockDataRegion(const BlockTextRegion *BC, const LocationContext *LC, unsigned blockCount) argument
884 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
957 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 DBugReporter.cpp324 const LocationContext *LC; member in class:__anon3625::PathDiagnosticBuilder
330 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext())
342 ParentMap& getParentMap() { return LC->getParentMap(); }
365 return PathDiagnosticLocation(S, getSourceManager(), LC);
426 const LocationContext *LC, bool allowNestedContexts) {
435 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC);
440 return PathDiagnosticLocation(S, SMgr, LC);
445 return PathDiagnosticLocation(Parent, SMgr, LC);
447 return PathDiagnosticLocation(S, SMgr, LC);
454 return PathDiagnosticLocation(Parent, SMgr, LC);
425 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, const LocationContext *LC, bool allowNestedContexts) argument
565 const LocationContext *LC = PDB.LC; local
925 cleanUpLocation(PathDiagnosticLocation L, const LocationContext *LC, bool firstCharOnly = false) argument
1594 addEdgeToPath(PathPieces &path, PathDiagnosticLocation &PrevLoc, PathDiagnosticLocation NewLoc, const LocationContext *LC) argument
2335 const LocationContext *LC = LCM[&path]; local
2584 const LocationContext *LC = N->getLocationContext(); local
2641 markInteresting(const LocationContext *LC) argument
2671 isInteresting(const LocationContext *LC) argument
[all...]
H A DCoreEngine.cpp289 const LocationContext *LC = Pred->getLocationContext(); local
291 LC->getDecl(),
292 LC->getCFG()->getNumBlockIDs());
326 const LocationContext *LC = Pred->getLocationContext(); local
329 Counter = BCounterFactory.IncrementCount(Counter, LC->getCurrentStackFrame(),
H A DExprEngine.cpp172 const LocationContext *LC,
175 SVal V = State->getSVal(Ex, LC);
222 TR = MRMgr.getCXXTempObjectRegion(Inner, LC);
227 V = getSValBuilder().conjureSymbolVal(Result, LC, TR->getValueType(),
238 State = State->BindExpr(Result, LC, Reg);
302 const LocationContext *LC) {
322 ParentMap &PM = LC->getAnalysisDeclContext()->getParentMap();
328 const LocationContext *LC,
334 assert(LC && "Must pass the current (or expiring) LocationContext");
344 // LC i
171 createTemporaryRegionIfNeeded(ProgramStateRef State, const LocationContext *LC, const Expr *Ex, const Expr *Result) argument
299 shouldRemoveDeadBindings(AnalysisManager &AMgr, const CFGStmt S, const ExplodedNode *Pred, const LocationContext *LC) argument
326 removeDead(ExplodedNode *Pred, ExplodedNodeSet &Out, const Stmt *ReferenceStmt, const LocationContext *LC, const Stmt *DiagnosticStmt, ProgramPoint::Kind K) argument
1941 const LocationContext *LC = Pred->getLocationContext(); local
[all...]
H A DPathDiagnostic.cpp633 PathDiagnosticLocation::createDeclBegin(const LocationContext *LC, argument
637 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
647 PathDiagnosticLocation::createDeclEnd(const LocationContext *LC, argument
649 SourceLocation L = LC->getDecl()->getBodyRBrace();
739 const LocationContext *LC = N->getLocationContext(); local
750 return PathDiagnosticLocation::createEnd(S, SM, LC);
753 return PathDiagnosticLocation(S, SM, LC);
754 return PathDiagnosticLocation(getValidSourceLocation(S, LC), SM);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp74 for (const LocationContext *LC = C.getLocationContext()->getParent();
75 LC != 0; LC = LC->getParent())
91 for (const LocationContext *LC = C.getLocationContext()->getParent();
92 LC != 0; LC = LC->getParent())
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() != 0)
118 const LocationContext *LC = N->getLocationContext(); local
125 if (LC->getCurrentStackFrame()->getParent() == 0)
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 = 0; 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.cpp145 const LocationContext *LC = C.getLocationContext(); local
147 state->getRegion(VD, LC)->getExtent(svalBuilder);
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
H A DLibCallAliasAnalysis.h30 explicit LibCallAliasAnalysis(LibCallInfo *LC = 0)
31 : FunctionPass(ID), LCI(LC) {
34 explicit LibCallAliasAnalysis(char &ID, LibCallInfo *LC) argument
35 : FunctionPass(ID), LCI(LC) {
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1179 RTLIB::Libcall LC; local
1187 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break;
1188 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break;
1189 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break;
1190 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break;
1191 case MVT::i128:LC = RTLIB::SYNC_LOCK_TEST_AND_SET_16;break;
1197 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break;
1198 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break;
1199 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break;
1200 case MVT::i64: LC
1774 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); local
1786 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); local
1995 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2059 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2129 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2238 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2320 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2378 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2398 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2694 RTLIB::Libcall LC = RTLIB::getSINTTOFP(Op.getValueType(), DstVT); local
2863 RTLIB::Libcall LC = RTLIB::getUINTTOFP(SrcVT, DstVT); local
[all...]
H A DLegalizeDAG.cpp101 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
102 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
105 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
1883 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
1895 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1915 0, TLI.getLibcallCallingConv(LC), isTailCall,
1930 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT,
1944 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1950 false, 0, TLI.getLibcallCallingConv(LC),
1962 SelectionDAGLegalize::ExpandChainLibCall(RTLIB::Libcall LC,
[all...]
H A DLegalizeFloatTypes.cpp374 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); local
375 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!");
376 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, SDLoc(N)).first;
391 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); local
392 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!");
393 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, SDLoc(N)).first;
588 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
590 t <= MVT::LAST_INTEGER_VALUETYPE && LC == RTLIB::UNKNOWN_LIBCALL; ++t) {
594 LC = Signed ? RTLIB::getSINTTOFP(NVT, RVT):RTLIB::getUINTTOFP (NVT, RVT);
596 assert(LC !
659 RTLIB::Libcall LC = RTLIB::getFPROUND(SVT, RVT); local
691 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
699 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
707 RTLIB::Libcall LC = RTLIB::FPROUND_F32_F16; local
1198 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
1391 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
1423 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
[all...]
H A DLegalizeTypes.cpp1005 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument
1010 return TLI.makeLibCall(DAG, LC, N->getValueType(0), 0, 0, isSigned,
1014 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned,
1018 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned,
1025 return TLI.makeLibCall(DAG, LC, N->getValueType(0),
1032 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, argument
1048 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1054 0, TLI.getLibcallCallingConv(LC), /*isTailCall=*/false,
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DIRBuilder.h617 if (Constant *LC = dyn_cast<Constant>(LHS))
619 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
631 if (Constant *LC = dyn_cast<Constant>(LHS))
633 return Insert(Folder.CreateFAdd(LC, RC), Name);
639 if (Constant *LC = dyn_cast<Constant>(LHS))
641 return Insert(Folder.CreateSub(LC, RC), Name);
653 if (Constant *LC = dyn_cast<Constant>(LHS))
655 return Insert(Folder.CreateFSub(LC, RC), Name);
661 if (Constant *LC = dyn_cast<Constant>(LHS))
663 return Insert(Folder.CreateMul(LC, R
[all...]
/freebsd-10-stable/contrib/llvm/tools/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 DProgramState.h198 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
257 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
260 const LocationContext *LC) const;
629 const LocationContext *LC) const
631 return getStateManager().getRegionManager().getVarRegion(D, LC);
659 const LocationContext *LC) const {
660 return getStateManager().StoreMgr->getLValueVar(VD, LC);
664 const LocationContext *LC) const {
665 return getStateManager().StoreMgr->getLValueCompoundLiteral(literal, LC);
H A DMemRegion.h637 const LocationContext *LC; // Can be null */ member in class:clang::ento::BlockDataRegion
644 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc),
1184 const LocationContext *LC);
1190 const LocationContext *LC);
1195 const LocationContext *LC);
1209 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC);
1247 LocationContext const *LC);
H A DCoreEngine.h187 const LocationContext *LC; member in struct:clang::ento::NodeBuilderContext
189 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); }
198 LC->getCurrentStackFrame(),
H A DExprEngine.h176 /// \param LC The location context of the \p ReferenceStmt. A null location
189 const Stmt *ReferenceStmt, const LocationContext *LC,
581 const LocationContext *LC,
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h200 void markInteresting(const LocationContext *LC);
205 bool isInteresting(const LocationContext *LC);

Completed in 601 milliseconds

12