/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | ProgramPoint.cpp | 22 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 D | AnalysisDeclContext.cpp | 365 const LocationContext *LC = this; local 366 while (LC) { 367 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) 369 LC = LC->getParent(); 378 bool LocationContext::isParentOf(const LocationContext *LC) const { 380 const LocationContext *Parent = LC->getParent(); 384 LC = Parent; 385 } while (LC); 544 LocationContext *LC local [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TraversalChecker.cpp | 74 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 D | ExprInspectionChecker.cpp | 57 const LocationContext *LC = N->getLocationContext(); local 61 SVal AssertionVal = State->getSVal(Assertion, LC); 86 const LocationContext *LC = N->getLocationContext(); local 90 if (LC->getCurrentStackFrame()->getParent() != 0) 103 const LocationContext *LC = N->getLocationContext(); local 110 if (LC->getCurrentStackFrame()->getParent() == 0)
|
H A D | AnalyzerStatsChecker.cpp | 50 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 D | UnreachableCodeChecker.cpp | 64 const LocationContext *LC = 0; local 69 LC = P.getLocationContext(); 72 D = LC->getAnalysisDeclContext()->getDecl(); 75 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG(); 77 PM = &LC->getParentMap(); 152 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
|
H A D | VLASizeChecker.cpp | 145 const LocationContext *LC = C.getLocationContext(); local 147 state->getRegion(VD, LC)->getExtent(svalBuilder);
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | LibCallAliasAnalysis.h | 30 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.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporter.cpp | 269 const LocationContext *LC; member in class:__anon3426::PathDiagnosticBuilder 275 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext()) 287 ParentMap& getParentMap() { return LC->getParentMap(); } 310 return PathDiagnosticLocation(S, getSourceManager(), LC); 382 return PathDiagnosticLocation(S, SMgr, LC); 387 return PathDiagnosticLocation(S, SMgr, LC); 392 return PathDiagnosticLocation(Parent, SMgr, LC); 394 return PathDiagnosticLocation(S, SMgr, LC); 400 return PathDiagnosticLocation(Parent, SMgr, LC); 402 return PathDiagnosticLocation(S, SMgr, LC); 524 const LocationContext *LC = PDB.LC; local 884 cleanUpLocation(PathDiagnosticLocation L, const LocationContext *LC, bool firstCharOnly = false) argument 1534 addEdgeToPath(PathPieces &path, PathDiagnosticLocation &PrevLoc, PathDiagnosticLocation NewLoc, const LocationContext *LC) argument 1581 const LocationContext *LC = N->getLocationContext(); local 1797 const LocationContext *LC = LCM[&path]; local 2035 const LocationContext *LC = N->getLocationContext(); local 2092 markInteresting(const LocationContext *LC) argument 2122 isInteresting(const LocationContext *LC) argument [all...] |
H A D | MemRegion.cpp | 385 const LocationContext *LC, 389 ID.AddPointer(LC); 394 BlockDataRegion::ProfileRegion(ID, BC, LC, getSuperRegion()); 727 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument 730 while (LC) { 731 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { 736 dyn_cast<BlockInvocationContext>(LC)) { 749 LC = LC->getParent(); 755 const LocationContext *LC) { 383 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockTextRegion *BC, const LocationContext *LC, const MemRegion *sReg) argument 754 getVarRegion(const VarDecl *D, const LocationContext *LC) argument 832 getBlockDataRegion(const BlockTextRegion *BC, const LocationContext *LC) argument 859 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument 932 getCXXTempObjectRegion(Expr const *E, LocationContext const *LC) argument 986 getCXXThisRegion(QualType thisPointerTy, const LocationContext *LC) argument 996 getAllocaRegion(const Expr *E, unsigned cnt, const LocationContext *LC) argument [all...] |
H A D | CoreEngine.cpp | 289 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 D | ExprEngine.cpp | 171 const LocationContext *LC, 174 SVal V = State->getSVal(Ex, LC); 211 const TypedValueRegion *TR = MRMgr.getCXXTempObjectRegion(Inner, LC); 215 V = getSValBuilder().conjureSymbolVal(Result, LC, TR->getValueType(), 226 State = State->BindExpr(Result, LC, Reg); 289 const LocationContext *LC) { 309 ParentMap &PM = LC->getAnalysisDeclContext()->getParentMap(); 315 const LocationContext *LC, 321 assert(LC && "Must pass the current (or expiring) LocationContext"); 331 // LC i 170 createTemporaryRegionIfNeeded(ProgramStateRef State, const LocationContext *LC, const Expr *Ex, const Expr *Result) argument 286 shouldRemoveDeadBindings(AnalysisManager &AMgr, const CFGStmt S, const ExplodedNode *Pred, const LocationContext *LC) argument 313 removeDead(ExplodedNode *Pred, ExplodedNodeSet &Out, const Stmt *ReferenceStmt, const LocationContext *LC, const Stmt *DiagnosticStmt, ProgramPoint::Kind K) argument 1866 const LocationContext *LC = Pred->getLocationContext(); local [all...] |
H A D | PathDiagnostic.cpp | 564 PathDiagnosticLocation::createDeclBegin(const LocationContext *LC, argument 568 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) 578 PathDiagnosticLocation::createDeclEnd(const LocationContext *LC, argument 580 SourceLocation L = LC->getDecl()->getBodyRBrace(); 670 const LocationContext *LC = N->getLocationContext(); local 681 return PathDiagnosticLocation::createEnd(S, SM, LC); 684 return PathDiagnosticLocation(S, SM, LC); 685 return PathDiagnosticLocation(getValidSourceLocation(S, LC), SM);
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1171 RTLIB::Libcall LC; local 1179 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break; 1180 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break; 1181 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break; 1182 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break; 1188 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break; 1189 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break; 1190 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break; 1191 case MVT::i64: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_8; break; 1197 case MVT::i8: LC 1758 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); local 1769 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); local 1975 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2038 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2108 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2216 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2298 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2356 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2376 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2672 RTLIB::Libcall LC = RTLIB::getSINTTOFP(Op.getValueType(), DstVT); local 2839 RTLIB::Libcall LC = RTLIB::getUINTTOFP(SrcVT, DstVT); local [all...] |
H A D | LegalizeDAG.cpp | 97 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned); 98 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops, 101 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC, 1850 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, 1862 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), 1882 0, TLI.getLibcallCallingConv(LC), isTailCall, 1897 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, 1911 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), 1917 false, 0, TLI.getLibcallCallingConv(LC), 1929 SelectionDAGLegalize::ExpandChainLibCall(RTLIB::Libcall LC, [all...] |
H A D | LegalizeFloatTypes.cpp | 373 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); local 374 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); 375 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, N->getDebugLoc()); 390 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); local 391 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!"); 392 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, N->getDebugLoc()); 573 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 575 t <= MVT::LAST_INTEGER_VALUETYPE && LC == RTLIB::UNKNOWN_LIBCALL; ++t) { 579 LC = Signed ? RTLIB::getSINTTOFP(NVT, RVT):RTLIB::getUINTTOFP (NVT, RVT); 581 assert(LC ! 644 RTLIB::Libcall LC = RTLIB::getFPROUND(SVT, RVT); local 676 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local 684 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local 692 RTLIB::Libcall LC = RTLIB::FPROUND_F32_F16; local 1173 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 1354 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local 1386 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local [all...] |
H A D | LegalizeTypes.cpp | 1048 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument 1053 return TLI.makeLibCall(DAG, LC, N->getValueType(0), 0, 0, isSigned, dl); 1056 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned, dl); 1059 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned, dl); 1065 return TLI.makeLibCall(DAG, LC, N->getValueType(0), 1072 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, argument 1088 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), 1094 0, TLI.getLibcallCallingConv(LC), /*isTailCall=*/false,
|
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 594 if (Constant *LC = dyn_cast<Constant>(LHS)) 596 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 608 if (Constant *LC = dyn_cast<Constant>(LHS)) 610 return Insert(Folder.CreateFAdd(LC, RC), Name); 616 if (Constant *LC = dyn_cast<Constant>(LHS)) 618 return Insert(Folder.CreateSub(LC, RC), Name); 630 if (Constant *LC = dyn_cast<Constant>(LHS)) 632 return Insert(Folder.CreateFSub(LC, RC), Name); 638 if (Constant *LC = dyn_cast<Constant>(LHS)) 640 return Insert(Folder.CreateMul(LC, R [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Store.h | 87 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 D | ProgramState.h | 198 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const; 258 Loc getLValue(const VarDecl *D, const LocationContext *LC) const; 261 const LocationContext *LC) const; 630 const LocationContext *LC) const 632 return getStateManager().getRegionManager().getVarRegion(D, LC); 660 const LocationContext *LC) const { 661 return getStateManager().StoreMgr->getLValueVar(VD, LC); 665 const LocationContext *LC) const { 666 return getStateManager().StoreMgr->getLValueCompoundLiteral(literal, LC);
|
H A D | MemRegion.h | 637 const LocationContext *LC; // Can be null */ member in class:clang::ento::BlockDataRegion 643 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc), 1181 const LocationContext *LC); 1187 const LocationContext *LC); 1192 const LocationContext *LC); 1206 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC); 1244 LocationContext const *LC);
|
H A D | CoreEngine.h | 187 const LocationContext *LC; member in struct:clang::ento::NodeBuilderContext 189 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); } 198 LC->getCurrentStackFrame(),
|
H A D | ExprEngine.h | 176 /// \param LC The location context of the \p ReferenceStmt. A null location 189 const Stmt *ReferenceStmt, const LocationContext *LC, 579 const LocationContext *LC,
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporter.h | 199 void markInteresting(const LocationContext *LC); 204 bool isInteresting(const LocationContext *LC);
|
/freebsd-10.0-release/contrib/ee/ |
H A D | new_curse.h | 169 int LC; /* last column */ member in struct:WIND
|