/external/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 | 169 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/clang/lib/StaticAnalyzer/Core/ |
H A D | PrettyStackTraceLocationContext.h | 32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { argument
|
H A D | MemRegion.cpp | 381 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 D | BugReporter.cpp | 325 const LocationContext *LC; member in class:__anon1734::PathDiagnosticBuilder 331 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext()) 343 ParentMap& getParentMap() { return LC->getParentMap(); } 366 return PathDiagnosticLocation(S, getSourceManager(), LC); 427 const LocationContext *LC, bool allowNestedContexts) { 436 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); 441 return PathDiagnosticLocation(S, SMgr, LC); 446 return PathDiagnosticLocation(Parent, SMgr, LC); 448 return PathDiagnosticLocation(S, SMgr, LC); 455 return PathDiagnosticLocation(Parent, SMgr, LC); 426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, const LocationContext *LC, bool allowNestedContexts) argument 562 const LocationContext *LC = PDB.LC; local 920 cleanUpLocation(PathDiagnosticLocation L, const LocationContext *LC, bool firstCharOnly = false) argument 1584 addEdgeToPath(PathPieces &path, PathDiagnosticLocation &PrevLoc, PathDiagnosticLocation NewLoc, const LocationContext *LC) argument 2321 const LocationContext *LC = LCM[&path]; local 2565 const LocationContext *LC = N->getLocationContext(); local 2620 markInteresting(const LocationContext *LC) argument 2650 isInteresting(const LocationContext *LC) argument [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TraversalChecker.cpp | 80 for (const LocationContext *LC = C.getLocationContext()->getParent(); 81 LC != nullptr; LC = LC->getParent()) 97 for (const LocationContext *LC = C.getLocationContext()->getParent(); 98 LC != nullptr; LC = LC->getParent())
|
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 | 60 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 D | ExprInspectionChecker.cpp | 75 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 D | VLASizeChecker.cpp | 167 const LocationContext *LC = C.getLocationContext(); local 169 state->getRegion(VD, LC)->getExtent(svalBuilder);
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-extern-local.cpp | 29 struct LC { int localfunc() { extern int var4; return var4; } }; struct 30 LC localobj;
|
/external/llvm/tools/yaml2obj/ |
H A D | yaml2macho.cpp | 111 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/swiftshader/third_party/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) {
|
/external/llvm/tools/obj2yaml/ |
H A D | macho2yaml.cpp | 25 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/clang/test/Parser/ |
H A D | cxx-casting.cpp | 76 #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/clang/examples/analyzer-plugin/ |
H A D | MainCallChecker.cpp | 20 const LocationContext *LC = C.getLocationContext(); local 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1169 RTLIB::Libcall LC; local 1178 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break; 1179 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break; 1180 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break; 1181 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break; 1187 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break; 1188 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break; 1189 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break; 1190 case MVT::i64: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_8; break; 1196 case MVT::i8: LC 1749 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); local 1759 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); local 1963 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2025 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2084 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2192 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2271 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2326 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2346 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2642 RTLIB::Libcall LC = RTLIB::getSINTTOFP(Op.getValueType(), DstVT); local 2820 RTLIB::Libcall LC = RTLIB::getUINTTOFP(SrcVT, DstVT); local [all...] |
H A D | LegalizeFloatTypes.cpp | 357 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/include/llvm/IR/ |
H A D | IRBuilder.h | 780 if (Constant *LC = dyn_cast<Constant>(LHS)) 782 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 794 if (Constant *LC = dyn_cast<Constant>(LHS)) 796 return Insert(Folder.CreateFAdd(LC, RC), Name); 802 if (Constant *LC = dyn_cast<Constant>(LHS)) 804 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name); 816 if (Constant *LC = dyn_cast<Constant>(LHS)) 818 return Insert(Folder.CreateFSub(LC, RC), Name); 824 if (Constant *LC = dyn_cast<Constant>(LHS)) 826 return Insert(Folder.CreateMul(LC, R [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | IRBuilder.h | 502 if (Constant *LC = dyn_cast<Constant>(LHS)) 504 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 515 if (Constant *LC = dyn_cast<Constant>(LHS)) 517 return Insert(Folder.CreateFAdd(LC, RC), Name); 522 if (Constant *LC = dyn_cast<Constant>(LHS)) 524 return Insert(Folder.CreateSub(LC, RC), Name); 535 if (Constant *LC = dyn_cast<Constant>(LHS)) 537 return Insert(Folder.CreateFSub(LC, RC), Name); 542 if (Constant *LC = dyn_cast<Constant>(LHS)) 544 return Insert(Folder.CreateMul(LC, R [all...] |
/external/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
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_format_interceptor_test.cc | 44 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/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.h | 64 RTLIB::Libcall LC) const;
|
H A D | ARMSelectionDAGInfo.cpp | 26 SDValue Size, unsigned Align, RTLIB::Libcall LC) const { 33 if (std::strncmp(TLI->getLibcallName(LC), "__aeabi", 7) != 0) 45 switch (LC) { 118 TLI->getLibcallCallingConv(LC), Type::getVoidTy(*DAG.getContext()),
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1414 RTLIB::Libcall LC = RTLIB::getSYNC(Opc, VT); local 1415 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected atomic op or value type!"); 1417 return ExpandChainLibCall(LC, Node, false); 2019 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); local 2020 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fp-to-sint conversion!"); 2021 SplitInteger(TLI.makeLibCall(DAG, LC, VT, Op, true/*irrelevant*/, dl).first, 2034 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); local 2035 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fp-to-uint conversion!"); 2036 SplitInteger(TLI.makeLibCall(DAG, LC, VT, Op, false/*irrelevant*/, dl).first, 2185 RTLIB::Libcall LC 2308 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2377 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2493 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2575 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2640 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 2666 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; local 3029 RTLIB::Libcall LC = RTLIB::getSINTTOFP(Op.getValueType(), DstVT); local 3200 RTLIB::Libcall LC = RTLIB::getUINTTOFP(SrcVT, DstVT); local [all...] |