Lines Matching refs:LC
372 const LocationContext *LC,
377 ID.AddPointer(LC);
383 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion());
819 getStackOrCaptureRegionForDeclContext(const LocationContext *LC,
822 while (LC) {
823 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) {
827 if (const auto *BC = dyn_cast<BlockInvocationContext>(LC)) {
840 LC = LC->getParent();
846 const LocationContext *LC) {
879 getStackOrCaptureRegionForDeclContext(LC, DC, D);
940 const LocationContext *LC,
949 if (LC) {
952 const StackFrameContext *STC = LC->getStackFrame();
957 // We allow 'LC' to be NULL for cases where want BlockDataRegions
963 return getSubRegion<BlockDataRegion>(BC, LC, blockCount, sReg);
974 const LocationContext *LC) {
980 const StackFrameContext *STC = LC->getStackFrame();
1045 LocationContext const *LC) {
1046 const StackFrameContext *SFC = LC->getStackFrame();
1101 const LocationContext *LC) {
1106 const auto *D = dyn_cast<CXXMethodDecl>(LC->getDecl());
1110 while (!LC->inTopFrame() && (!D || D->isStatic() ||
1112 LC = LC->getParent();
1113 D = dyn_cast<CXXMethodDecl>(LC->getDecl());
1115 const StackFrameContext *STC = LC->getStackFrame();
1122 const LocationContext *LC) {
1123 const StackFrameContext *STC = LC->getStackFrame();
1485 OriginalVR = MemMgr.getVarRegion(VD, LC);
1488 if (LC) {
1489 VR = MemMgr.getVarRegion(VD, LC);
1494 OriginalVR = MemMgr.getVarRegion(VD, LC);