Home
last modified time | relevance | path

Searched refs:LC (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/clang/lib/Analysis/
DProgramPoint.cpp22 const LocationContext *LC, in getProgramPoint() argument
28 return PreStmt(S, LC, tag); in getProgramPoint()
30 return PostStmt(S, LC, tag); in getProgramPoint()
32 return PreLoad(S, LC, tag); in getProgramPoint()
34 return PostLoad(S, LC, tag); in getProgramPoint()
36 return PreStore(S, LC, tag); in getProgramPoint()
38 return PostLValue(S, LC, tag); in getProgramPoint()
40 return PostStmtPurgeDeadSymbols(S, LC, tag); in getProgramPoint()
42 return PreStmtPurgeDeadSymbols(S, LC, tag); in getProgramPoint()
DAnalysisDeclContext.cpp405 const LocationContext *LC = this; in getCurrentStackFrame() local
406 while (LC) { in getCurrentStackFrame()
407 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
409 LC = LC->getParent(); in getCurrentStackFrame()
418 bool LocationContext::isParentOf(const LocationContext *LC) const { in isParentOf()
420 const LocationContext *Parent = LC->getParent(); in isParentOf()
424 LC = Parent; in isParentOf()
425 } while (LC); in isParentOf()
580 LocationContext *LC = &*I; in clear() local
582 delete LC; in clear()
/external/clang/lib/StaticAnalyzer/Checkers/
DTraversalChecker.cpp74 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() local
75 LC != nullptr; LC = LC->getParent()) in checkPreCall()
91 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall() local
92 LC != nullptr; LC = LC->getParent()) in checkPostCall()
DExprInspectionChecker.cpp61 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString() local
65 SVal AssertionVal = State->getSVal(Assertion, LC); in getArgumentValueString()
90 const LocationContext *LC = N->getLocationContext(); in analyzerEval() local
94 if (LC->getCurrentStackFrame()->getParent() != nullptr) in analyzerEval()
118 const LocationContext *LC = N->getLocationContext(); in analyzerCheckInlined() local
125 if (LC->getCurrentStackFrame()->getParent() == nullptr) in analyzerCheckInlined()
DUnreachableCodeChecker.cpp64 const LocationContext *LC = nullptr; in checkEndAnalysis() local
69 LC = P.getLocationContext(); in checkEndAnalysis()
70 if (!LC->inTopFrame()) in checkEndAnalysis()
74 D = LC->getAnalysisDeclContext()->getDecl(); in checkEndAnalysis()
78 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG(); in checkEndAnalysis()
80 PM = &LC->getParentMap(); in checkEndAnalysis()
155 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC); in checkEndAnalysis()
DAnalyzerStatsChecker.cpp50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); in checkEndAnalysis() local
52 const Decl *D = LC->getDecl(); in checkEndAnalysis()
70 C = LC->getCFG(); in checkEndAnalysis()
133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
/external/llvm/test/CodeGen/PowerPC/
Dppc64-toc.ll19 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
28 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
38 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
51 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
62 ; CHECK: .LC{{[0-9]+}}:
64 ; CHECK-NEXT: .LC{{[0-9]+}}:
66 ; CHECK-NEXT: .LC{{[0-9]+}}:
68 ; CHECK-NEXT: .LC{{[0-9]+}}:
Dppcf128-endian.ll17 ; CHECK: ld [[REG:[0-9]+]], .LC
29 ; CHECK: ld [[REG:[0-9]+]], .LC
41 ; CHECK: .LCPI[[LC:[0-9]+]]_0:
43 ; CHECK: .LCPI[[LC]]_1:
46 ; CHECK: addi [[REG0:[0-9]+]], {{[0-9]+}}, .LCPI[[LC]]_0
47 ; CHECK: addi [[REG1:[0-9]+]], {{[0-9]+}}, .LCPI[[LC]]_1
58 ; CHECK: ld [[REG:[0-9]+]], .LC
71 ; CHECK: ld [[REG:[0-9]+]], .LC
Dblockaddress.ll14 ; MEDIUM: addis [[R0:[0-9]+]], 2, .LC[[LC0:[0-9]+]]@toc@ha
15 ; MEDIUM: ld 3, .LC[[LC0]]@toc@l([[R0]])
17 ; MEDIUM: .LC[[LC0]]:
20 ; SMALL: ld 3, .LC[[LC0:[0-9]+]]@toc(2)
22 ; SMALL: .LC[[LC0]]:
Dmcm-default.ll20 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
21 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
25 ; CHECK: .LC[[TOCNUM]]:
Dmcm-1.ll21 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
22 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
26 ; CHECK: .LC[[TOCNUM]]:
Dmcm-8.ll20 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
21 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
24 ; CHECK: .LC[[TOCNUM]]:
Dmcm-6.ll21 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
22 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
26 ; CHECK: .LC[[TOCNUM]]:
Dmcm-9.ll21 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
22 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
26 ; CHECK: .LC[[TOCNUM]]:
Dmcm-7.ll22 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
23 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
25 ; CHECK: .LC[[TOCNUM]]:
D2009-01-16-DeclareISelBug.ll4 @"\01LC" = internal constant [13 x i8] c"conftest.val\00" ; <[13 x i8]*> [#uses=1]
8 …%0 = call i8* @fopen(i8* getelementptr ([13 x i8], [13 x i8]* @"\01LC", i32 0, i32 0), i8* null) n…
/external/llvm/include/llvm/Analysis/
DLibCallAliasAnalysis.h31 explicit LibCallAliasAnalysis(LibCallInfo *LC = nullptr)
32 : FunctionPass(ID), LCI(LC) { in FunctionPass()
35 explicit LibCallAliasAnalysis(char &ID, LibCallInfo *LC) in LibCallAliasAnalysis()
36 : FunctionPass(ID), LCI(LC) { in LibCallAliasAnalysis()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp325 const LocationContext *LC; member in __anon889b26420111::PathDiagnosticBuilder
331 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext()) in PathDiagnosticBuilder()
343 ParentMap& getParentMap() { return LC->getParentMap(); } in getParentMap()
366 return PathDiagnosticLocation(S, getSourceManager(), LC); in ExecutionContinues()
427 const LocationContext *LC, bool allowNestedContexts) { in getEnclosingStmtLocation() argument
436 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); in getEnclosingStmtLocation()
441 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
446 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
448 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
455 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
[all …]
DMemRegion.cpp385 const LocationContext *LC, in ProfileRegion() argument
390 ID.AddPointer(LC); in ProfileRegion()
396 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion()); in Profile()
738 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, in getStackOrCaptureRegionForDeclContext() argument
741 while (LC) { in getStackOrCaptureRegionForDeclContext()
742 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
747 dyn_cast<BlockInvocationContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
760 LC = LC->getParent(); in getStackOrCaptureRegionForDeclContext()
766 const LocationContext *LC) { in getVarRegion() argument
798 getStackOrCaptureRegionForDeclContext(LC, DC, D); in getVarRegion()
[all …]
DPrettyStackTraceLocationContext.h32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { in PrettyStackTraceLocationContext() argument
/external/llvm/test/Transforms/InstCombine/
D2009-01-19-fmod-constant-float-specials.ll9 @"\01LC" = internal constant [4 x i8] c"%f\0A\00" ; <[4 x i8]*> [#uses=1]
23 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
44 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
63 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
82 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
101 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
120 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
139 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
158 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
177 …%5 = call i32 (i8*, ...) @printf(i8* getelementptr ([4 x i8], [4 x i8]* @"\01LC", i32 0, i32 0), d…
[all …]
/external/llvm/include/llvm/IR/
DIRBuilder.h696 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
698 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
710 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
712 return Insert(Folder.CreateFAdd(LC, RC), Name);
718 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
720 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
732 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
734 return Insert(Folder.CreateFSub(LC, RC), Name);
740 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
742 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1336 RTLIB::Libcall LC = RTLIB::getATOMIC(Opc, VT); in ExpandAtomic() local
1337 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected atomic op or value type!"); in ExpandAtomic()
1339 return ExpandChainLibCall(LC, Node, false); in ExpandAtomic()
1863 RTLIB::Libcall LC = RTLIB::getFPTOSINT(Op.getValueType(), VT); in ExpandIntRes_FP_TO_SINT() local
1864 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fp-to-sint conversion!"); in ExpandIntRes_FP_TO_SINT()
1865 SplitInteger(TLI.makeLibCall(DAG, LC, VT, &Op, 1, true/*irrelevant*/, in ExpandIntRes_FP_TO_SINT()
1879 RTLIB::Libcall LC = RTLIB::getFPTOUINT(Op.getValueType(), VT); in ExpandIntRes_FP_TO_UINT() local
1880 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fp-to-uint conversion!"); in ExpandIntRes_FP_TO_UINT()
1881 SplitInteger(TLI.makeLibCall(DAG, LC, VT, &Op, 1, false/*irrelevant*/, in ExpandIntRes_FP_TO_UINT()
2029 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in ExpandIntRes_MUL() local
[all …]
/external/clang/test/Parser/
Dcxx-casting.cpp59 #define LC <: in test2() macro
61 …test1::A LC:B> c; // expected-error {{class template 'test1::A' requires template arguments}} expe… in test2()
62 …(void)static_cast LC:c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error… in test2()
/external/clang/test/CodeGenCXX/
Dmangle-extern-local.cpp29 struct LC { int localfunc() { extern int var4; return var4; } }; in f3() argument
30 LC localobj; in f3()

12345678910>>...12