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

12

/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.cpp328 const LocationContext *LC = this; local
329 while (LC) {
330 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC))
332 LC = LC->getParent();
337 bool LocationContext::isParentOf(const LocationContext *LC) const {
339 const LocationContext *Parent = LC->getParent();
343 LC = Parent;
344 } while (LC);
475 LocationContext *LC 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/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp71 for (const LocationContext *LC = C.getLocationContext()->getParent();
72 LC != 0; LC = LC->getParent())
H A DExprInspectionChecker.cpp56 const LocationContext *LC = N->getLocationContext(); local
60 SVal AssertionVal = State->getSVal(Assertion, LC);
85 const LocationContext *LC = N->getLocationContext(); local
89 if (LC->getCurrentStackFrame()->getParent() != 0)
102 const LocationContext *LC = N->getLocationContext(); local
109 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 SM, LC));
H A DUndefCapturedBlockVarChecker.cpp77 const LocationContext *LC = C.getLocationContext(); local
78 VR = C.getSValBuilder().getRegionManager().getVarRegion(VD, LC);
H A DUnreachableCodeChecker.cpp64 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 DVLASizeChecker.cpp144 const LocationContext *LC = C.getLocationContext(); local
146 state->getRegion(VD, LC)->getExtent(svalBuilder);
/external/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) {
/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/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/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp379 const LocationContext *LC,
383 ID.AddPointer(LC);
388 BlockDataRegion::ProfileRegion(ID, BC, LC, getSuperRegion());
674 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument
677 while (LC) {
678 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) {
683 dyn_cast<BlockInvocationContext>(LC)) {
696 LC = LC->getParent();
702 const LocationContext *LC) {
377 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockTextRegion *BC, const LocationContext *LC, const MemRegion *sReg) argument
701 getVarRegion(const VarDecl *D, const LocationContext *LC) argument
781 getBlockDataRegion(const BlockTextRegion *BC, const LocationContext *LC) argument
808 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
881 getCXXTempObjectRegion(Expr const *E, LocationContext const *LC) argument
926 getCXXThisRegion(QualType thisPointerTy, const LocationContext *LC) argument
936 getAllocaRegion(const Expr *E, unsigned cnt, const LocationContext *LC) argument
[all...]
H A DBugReporter.cpp200 const LocationContext *LC; member in class:__anon3939::PathDiagnosticBuilder
206 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext())
218 ParentMap& getParentMap() { return LC->getParentMap(); }
241 return PathDiagnosticLocation(S, getSourceManager(), LC);
313 return PathDiagnosticLocation(S, SMgr, LC);
318 return PathDiagnosticLocation(S, SMgr, LC);
323 return PathDiagnosticLocation(Parent, SMgr, LC);
325 return PathDiagnosticLocation(S, SMgr, LC);
331 return PathDiagnosticLocation(Parent, SMgr, LC);
333 return PathDiagnosticLocation(S, SMgr, LC);
425 const LocationContext *LC = PDB.LC; local
1375 const LocationContext *LC = N->getLocationContext(); local
1431 markInteresting(const LocationContext *LC) argument
1461 isInteresting(const LocationContext *LC) argument
1538 const LocationContext *LC = ErrorNode->getLocationContext(); local
[all...]
H A DExprEngineC.cpp407 const LocationContext *LC = Pred->getLocationContext(); local
408 state = state->bindCompoundLiteral(CL, LC, ILV);
419 B.generateNode(CL, Pred, state->BindExpr(CL, LC, state->getLValue(CL, LC)));
421 B.generateNode(CL, Pred, state->BindExpr(CL, LC, ILV));
452 const LocationContext *LC = N->getLocationContext(); local
455 SVal InitVal = state->getSVal(InitEx, LC);
457 if (InitVal == state->getLValue(VD, LC) ||
480 InitVal = svalBuilder.conjureSymbolVal(0, InitEx, LC, Ty,
485 evalBind(Dst2, DS, N, state->getLValue(VD, LC), InitVa
[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(),
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h83 /// \param LC The LocationContext for the binding.
88 const LocationContext *LC,
99 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { argument
100 return svalBuilder.makeLoc(MRMgr.getVarRegion(VD, LC));
104 const LocationContext *LC) {
105 return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC));
103 getLValueCompoundLiteral(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
H A DProgramState.h187 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
195 /// \param LC the LocationContext of the binding
198 const LocationContext *LC,
237 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
240 const LocationContext *LC) const;
609 const LocationContext *LC) const
611 return getStateManager().getRegionManager().getVarRegion(D, LC);
637 const LocationContext *LC) const {
638 return getStateManager().StoreMgr->getLValueVar(VD, LC);
642 const LocationContext *LC) cons
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1173 RTLIB::Libcall LC; local
1181 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break;
1182 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break;
1183 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break;
1184 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break;
1190 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break;
1191 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break;
1192 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break;
1193 case MVT::i64: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_8; break;
1199 case MVT::i8: LC
1760 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); local
1770 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); local
1975 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2037 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2096 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2204 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2283 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2341 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2361 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
2657 RTLIB::Libcall LC = RTLIB::getSINTTOFP(Op.getValueType(), DstVT); local
2835 RTLIB::Libcall LC = RTLIB::getUINTTOFP(SrcVT, DstVT); local
[all...]
H A DLegalizeDAG.cpp96 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
97 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
100 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
1789 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
1801 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1821 0, TLI.getLibcallCallingConv(LC), isTailCall,
1836 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT,
1850 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1856 false, 0, TLI.getLibcallCallingConv(LC),
1868 SelectionDAGLegalize::ExpandChainLibCall(RTLIB::Libcall LC,
[all...]
H A DLegalizeFloatTypes.cpp357 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); local
358 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!");
359 return MakeLibCall(LC, NVT, &Op, 1, false, N->getDebugLoc());
374 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); local
375 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!");
376 return MakeLibCall(LC, NVT, &Op, 1, false, N->getDebugLoc());
549 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
551 t <= MVT::LAST_INTEGER_VALUETYPE && LC == RTLIB::UNKNOWN_LIBCALL; ++t) {
555 LC = Signed ? RTLIB::getSINTTOFP(NVT, RVT):RTLIB::getUINTTOFP (NVT, RVT);
557 assert(LC !
705 RTLIB::Libcall LC = RTLIB::getFPROUND(SVT, RVT); local
733 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
741 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
749 RTLIB::Libcall LC = RTLIB::FPROUND_F32_F16; local
1185 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local
1367 RTLIB::Libcall LC = RTLIB::getFPTOSINT(N->getOperand(0).getValueType(), RVT); local
1399 RTLIB::Libcall LC = RTLIB::getFPTOUINT(N->getOperand(0).getValueType(), RVT); local
[all...]
H A DLegalizeTypes.cpp1018 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument
1023 return MakeLibCall(LC, N->getValueType(0), 0, 0, isSigned, dl);
1026 return MakeLibCall(LC, N->getValueType(0), &Op, 1, isSigned, dl);
1029 return MakeLibCall(LC, N->getValueType(0), Ops, 2, isSigned, dl);
1035 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl);
1040 SDValue DAGTypeLegalizer::MakeLibCall(RTLIB::Libcall LC, EVT RetVT, argument
1054 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1060 false, 0, TLI.getLibcallCallingConv(LC),
1072 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, argument
1088 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
[all...]
/external/llvm/include/llvm/
H A DIRBuilder.h540 if (Constant *LC = dyn_cast<Constant>(LHS))
542 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
554 if (Constant *LC = dyn_cast<Constant>(LHS))
556 return Insert(Folder.CreateFAdd(LC, RC), Name);
562 if (Constant *LC = dyn_cast<Constant>(LHS))
564 return Insert(Folder.CreateSub(LC, RC), Name);
576 if (Constant *LC = dyn_cast<Constant>(LHS))
578 return Insert(Folder.CreateFSub(LC, RC), Name);
584 if (Constant *LC = dyn_cast<Constant>(LHS))
586 return Insert(Folder.CreateMul(LC, R
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h182 void markInteresting(const LocationContext *LC);
187 bool isInteresting(const LocationContext *LC);
431 const LocationContext *LC) {
432 LocationContextMap[C] = LC;
430 addCallPieceLocationContextPair(const PathDiagnosticCallPiece *C, const LocationContext *LC) argument
/external/libffi/src/powerpc/
H A Daix_closure.S87 LC..60:
168 lwz r4,LC..60(2) /* get address of jump table */

Completed in 357 milliseconds

12