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

12

/external/clang/lib/StaticAnalyzer/Core/
H A DPrettyStackTraceLocationContext.h32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { argument
H A DCoreEngine.cpp302 const LocationContext *LC = Pred->getLocationContext(); local
304 LC->getDecl(),
305 LC->getCFG()->getNumBlockIDs());
339 const LocationContext *LC = Pred->getLocationContext(); local
342 Counter = BCounterFactory.IncrementCount(Counter, LC->getCurrentStackFrame(),
H A DExprEngineC.cpp497 const LocationContext *LC = N->getLocationContext(); local
504 SVal InitVal = state->getSVal(InitEx, LC);
533 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty,
540 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true);
H A DMemRegion.cpp381 const LocationContext *LC,
386 ID.AddPointer(LC);
392 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion());
794 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, argument
797 while (LC) {
798 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) {
803 dyn_cast<BlockInvocationContext>(LC)) {
816 LC = LC->getParent();
822 const LocationContext *LC) {
379 ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockCodeRegion *BC, const LocationContext *LC, unsigned BlkCount, const MemRegion *sReg) argument
821 getVarRegion(const VarDecl *D, const LocationContext *LC) argument
911 getBlockDataRegion(const BlockCodeRegion *BC, const LocationContext *LC, unsigned blockCount) argument
945 getCompoundLiteralRegion(const CompoundLiteralExpr *CL, const LocationContext *LC) argument
1016 getCXXTempObjectRegion(Expr const *E, LocationContext const *LC) argument
1068 getCXXThisRegion(QualType thisPointerTy, const LocationContext *LC) argument
1090 getAllocaRegion(const Expr *E, unsigned cnt, const LocationContext *LC) argument
[all...]
H A DPathDiagnostic.cpp638 PathDiagnosticLocation::createDeclBegin(const LocationContext *LC, argument
642 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
652 PathDiagnosticLocation::createDeclEnd(const LocationContext *LC, argument
654 SourceLocation L = LC->getDecl()->getBodyRBrace();
747 const LocationContext *LC = N->getLocationContext(); local
758 return PathDiagnosticLocation::createEnd(S, SM, LC);
761 return PathDiagnosticLocation(S, SM, LC);
762 return PathDiagnosticLocation(getValidSourceLocation(S, LC), SM);
/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/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.cpp169 for (const LambdaCapture &LC : parent->captures()) {
170 if (!LC.capturesVariable())
173 VarDecl *VD = LC.getCapturedVar();
447 const LocationContext *LC = this; local
448 while (LC) {
449 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC))
451 LC = LC->getParent();
460 bool LocationContext::isParentOf(const LocationContext *LC) const {
462 const LocationContext *Parent = LC
622 LocationContext *LC = &*I; local
[all...]
/external/swiftshader/third_party/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/lib/StaticAnalyzer/Checkers/
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.cpp60 const LocationContext *LC = nullptr; local
65 LC = P.getLocationContext();
66 if (!LC->inTopFrame())
70 D = LC->getAnalysisDeclContext()->getDecl();
74 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG();
76 PM = &LC->getParentMap();
151 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
H A DExprInspectionChecker.cpp75 const LocationContext *LC = N->getLocationContext(); local
79 SVal AssertionVal = State->getSVal(Assertion, LC);
115 const LocationContext *LC = C.getPredecessor()->getLocationContext(); local
119 if (LC->getCurrentStackFrame()->getParent() != nullptr)
132 const LocationContext *LC = C.getPredecessor()->getLocationContext(); local
139 if (LC->getCurrentStackFrame()->getParent() == nullptr)
H A DVLASizeChecker.cpp167 const LocationContext *LC = C.getLocationContext(); local
169 state->getRegion(VD, LC)->getExtent(svalBuilder);
/external/clang/test/Parser/
H A Dcxx-casting.cpp76 #define LC <: macro
78 test1::A LC:B> c; // expected-error {{class template 'test1::A' requires template arguments}} expected-error 2{{}}
79 (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.h185 const LocationContext *LC; member in struct:clang::ento::NodeBuilderContext
187 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); }
196 LC->getCurrentStackFrame(),
H A DMemRegion.h630 const LocationContext *LC; // Can be null */ member in class:clang::ento::BlockDataRegion
637 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc),
1178 const LocationContext *LC);
1184 const LocationContext *LC);
1189 const LocationContext *LC);
1203 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC);
1241 LocationContext const *LC);
/external/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp25 MachOYAML::LoadCommand &LC,
45 memcpy((void *) & (LC.Data.LCStruct##_data), LoadCmd.Ptr, \
48 MachO::swapStruct(LC.Data.LCStruct##_data); \
49 EndPtr = processLoadCommandData<MachO::LCStruct>(LC, LoadCmd); \
108 MachOYAML::LoadCommand &LC,
115 MachOYAML::LoadCommand &LC,
118 LoadCmd, LC.Sections, Obj.isLittleEndian());
123 MachOYAML::LoadCommand &LC,
126 LoadCmd, LC.Sections, Obj.isLittleEndian());
131 readString(MachOYAML::LoadCommand &LC, argument
107 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
114 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
122 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
141 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
148 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
155 processLoadCommandData( MachOYAML::LoadCommand &LC, const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) argument
182 MachOYAML::LoadCommand LC; local
[all...]
/external/llvm/tools/yaml2obj/
H A Dyaml2macho.cpp111 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) { argument
116 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, argument
119 for (const auto &Sec : LC.Sections) {
130 writeLoadCommandData<MachO::segment_command_64>(MachOYAML::LoadCommand &LC, argument
133 for (const auto &Sec : LC.Sections) {
143 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { argument
145 if (!LC.PayloadString.empty()) {
146 OS.write(LC.PayloadString.c_str(), LC.PayloadString.length());
147 BytesWritten = LC
153 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) argument
159 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) argument
165 writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) argument
490 writeFatArch(MachOYAML::FatArch &LC, raw_ostream &OS) argument
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1057 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument
1062 return TLI.makeLibCall(DAG, LC, N->getValueType(0), None, isSigned,
1066 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Op, isSigned,
1070 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, isSigned,
1077 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, isSigned, dl).first;
1083 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, argument
1098 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1105 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args))
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1017 SDValue DAGTypeLegalizer::LibCallify(RTLIB::Libcall LC, SDNode *N, argument
1022 return MakeLibCall(LC, N->getValueType(0), 0, 0, isSigned, dl);
1025 return MakeLibCall(LC, N->getValueType(0), &Op, 1, isSigned, dl);
1028 return MakeLibCall(LC, N->getValueType(0), Ops, 2, isSigned, dl);
1034 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl);
1039 SDValue DAGTypeLegalizer::MakeLibCall(RTLIB::Libcall LC, EVT RetVT, argument
1053 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1059 false, 0, TLI.getLibcallCallingConv(LC), false,
1068 DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC, argument
1084 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(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...]
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp534 const SCEVConstant *LC = cast<SCEVConstant>(LHS); local
538 const APInt &LA = LC->getAPInt();
578 const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS); local
582 unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands();
589 long X = compare(LC->getOperand(i), RC->getOperand(i));
597 const SCEVUDivExpr *LC = cast<SCEVUDivExpr>(LHS); local
601 long X = compare(LC->getLHS(), RC->getLHS());
604 return compare(LC->getRHS(), RC->getRHS());
610 const SCEVCastExpr *LC = cast<SCEVCastExpr>(LHS); local
614 return compare(LC
[all...]

Completed in 611 milliseconds

12