Home
last modified time | relevance | path

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

12345678910

/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.cpp362 const LocationContext *LC = this; in getCurrentStackFrame() local
363 while (LC) { in getCurrentStackFrame()
364 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
366 LC = LC->getParent(); in getCurrentStackFrame()
375 bool LocationContext::isParentOf(const LocationContext *LC) const { in isParentOf()
377 const LocationContext *Parent = LC->getParent(); in isParentOf()
381 LC = Parent; in isParentOf()
382 } while (LC); in isParentOf()
516 LocationContext *LC = &*I; in clear() local
518 delete LC; in clear()
/external/llvm/test/CodeGen/PowerPC/
Dppc64-toc.ll18 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
27 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
37 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
50 ; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
61 ; CHECK: .LC{{[0-9]+}}:
63 ; CHECK-NEXT: .LC{{[0-9]+}}:
65 ; CHECK-NEXT: .LC{{[0-9]+}}:
67 ; CHECK-NEXT: .LC{{[0-9]+}}:
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-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]]:
Dmcm-9.ll22 ; CHECK: addis [[REG1:[0-9]+]], 2, .LC[[TOCNUM:[0-9]+]]@toc@ha
23 ; CHECK: ld [[REG2:[0-9]+]], .LC[[TOCNUM]]@toc@l([[REG1]])
27 ; 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]]:
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]* @"\01LC", i32 0, i32 0), i8* null) nounwind ; …
/external/clang/lib/StaticAnalyzer/Checkers/
DExprInspectionChecker.cpp57 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString() local
61 SVal AssertionVal = State->getSVal(Assertion, LC); in getArgumentValueString()
86 const LocationContext *LC = N->getLocationContext(); in analyzerEval() local
90 if (LC->getCurrentStackFrame()->getParent() != 0) in analyzerEval()
103 const LocationContext *LC = N->getLocationContext(); in analyzerCheckInlined() local
110 if (LC->getCurrentStackFrame()->getParent() == 0) in analyzerCheckInlined()
DTraversalChecker.cpp72 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() local
73 LC != 0; LC = LC->getParent()) in checkPreCall()
DUnreachableCodeChecker.cpp64 const LocationContext *LC = 0; in checkEndAnalysis() local
69 LC = P.getLocationContext(); in checkEndAnalysis()
72 D = LC->getAnalysisDeclContext()->getDecl(); in checkEndAnalysis()
75 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG(); in checkEndAnalysis()
77 PM = &LC->getParentMap(); in checkEndAnalysis()
152 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/include/llvm/Analysis/
DLibCallAliasAnalysis.h30 explicit LibCallAliasAnalysis(LibCallInfo *LC = 0)
31 : FunctionPass(ID), LCI(LC) { in FunctionPass()
34 explicit LibCallAliasAnalysis(char &ID, LibCallInfo *LC) in LibCallAliasAnalysis()
35 : FunctionPass(ID), LCI(LC) { in LibCallAliasAnalysis()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1183 RTLIB::Libcall LC; in ExpandAtomic() local
1191 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break; in ExpandAtomic()
1192 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break; in ExpandAtomic()
1193 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break; in ExpandAtomic()
1194 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break; in ExpandAtomic()
1200 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break; in ExpandAtomic()
1201 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break; in ExpandAtomic()
1202 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break; in ExpandAtomic()
1203 case MVT::i64: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_8; break; in ExpandAtomic()
1209 case MVT::i8: LC = RTLIB::SYNC_FETCH_AND_ADD_1; break; in ExpandAtomic()
[all …]
DLegalizeDAG.cpp97 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
98 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
101 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
1850 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, in ExpandLibCall() argument
1862 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), in ExpandLibCall()
1882 0, TLI.getLibcallCallingConv(LC), isTailCall, in ExpandLibCall()
1897 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, in ExpandLibCall() argument
1911 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), in ExpandLibCall()
1917 false, 0, TLI.getLibcallCallingConv(LC), in ExpandLibCall()
1929 SelectionDAGLegalize::ExpandChainLibCall(RTLIB::Libcall LC, in ExpandChainLibCall() argument
[all …]
DLegalizeFloatTypes.cpp373 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_EXTEND() local
374 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); in SoftenFloatRes_FP_EXTEND()
375 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, N->getDebugLoc()); in SoftenFloatRes_FP_EXTEND()
390 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_ROUND() local
391 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!"); in SoftenFloatRes_FP_ROUND()
392 return TLI.makeLibCall(DAG, LC, NVT, &Op, 1, false, N->getDebugLoc()); in SoftenFloatRes_FP_ROUND()
573 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in SoftenFloatRes_XINT_TO_FP() local
575 t <= MVT::LAST_INTEGER_VALUETYPE && LC == RTLIB::UNKNOWN_LIBCALL; ++t) { in SoftenFloatRes_XINT_TO_FP()
579 LC = Signed ? RTLIB::getSINTTOFP(NVT, RVT):RTLIB::getUINTTOFP (NVT, RVT); in SoftenFloatRes_XINT_TO_FP()
581 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported XINT_TO_FP!"); in SoftenFloatRes_XINT_TO_FP()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp385 const LocationContext *LC, in ProfileRegion() argument
389 ID.AddPointer(LC); in ProfileRegion()
394 BlockDataRegion::ProfileRegion(ID, BC, LC, getSuperRegion()); in Profile()
690 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, in getStackOrCaptureRegionForDeclContext() argument
693 while (LC) { in getStackOrCaptureRegionForDeclContext()
694 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
699 dyn_cast<BlockInvocationContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
712 LC = LC->getParent(); in getStackOrCaptureRegionForDeclContext()
718 const LocationContext *LC) { in getVarRegion() argument
750 getStackOrCaptureRegionForDeclContext(LC, DC, D); in getVarRegion()
[all …]
DBugReporter.cpp318 const LocationContext *LC; member in __anon19063aa80111::PathDiagnosticBuilder
324 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext()) in PathDiagnosticBuilder()
336 ParentMap& getParentMap() { return LC->getParentMap(); } in getParentMap()
359 return PathDiagnosticLocation(S, getSourceManager(), LC); in ExecutionContinues()
431 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
436 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
441 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
443 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
449 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
451 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
[all …]
/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]* @"\01LC", i32 0, i32 0), double %4)…
44 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
63 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
82 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
101 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
120 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
139 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
158 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
177 …%5 = call i32 (i8*, ...)* @printf(i8* getelementptr ([4 x i8]* @"\01LC", i32 0, i32 0), double %4)…
[all …]
/external/llvm/include/llvm/IR/
DIRBuilder.h572 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
574 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
586 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
588 return Insert(Folder.CreateFAdd(LC, RC), Name);
594 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
596 return Insert(Folder.CreateSub(LC, RC), Name);
608 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
610 return Insert(Folder.CreateFSub(LC, RC), Name);
616 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
618 return Insert(Folder.CreateMul(LC, RC), Name);
[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() struct
30 LC localobj; in f3()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h91 const LocationContext *LC,
102 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar() argument
103 return svalBuilder.makeLoc(MRMgr.getVarRegion(VD, LC)); in getLValueVar()
107 const LocationContext *LC) { in getLValueCompoundLiteral() argument
108 return loc::MemRegionVal(MRMgr.getCompoundLiteralRegion(CL, LC)); in getLValueCompoundLiteral()

12345678910