Home
last modified time | relevance | path

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

12345678910>>...27

/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp111 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writeLoadCommandData() argument
116 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() argument
119 for (const auto &Sec : LC.Sections) { in writeLoadCommandData()
130 writeLoadCommandData<MachO::segment_command_64>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() argument
133 for (const auto &Sec : LC.Sections) { in writeLoadCommandData()
143 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() argument
145 if (!LC.PayloadString.empty()) { in writePayloadString()
146 OS.write(LC.PayloadString.c_str(), LC.PayloadString.length()); in writePayloadString()
147 BytesWritten = LC.PayloadString.length(); in writePayloadString()
153 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2macho.cpp116 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData() argument
122 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() argument
126 for (const auto &Sec : LC.Sections) { in writeLoadCommandData()
139 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument
141 for (const auto &Sec : LC.Sections) { in writeLoadCommandData()
153 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() argument
155 if (!LC.PayloadString.empty()) { in writePayloadString()
156 OS.write(LC.PayloadString.c_str(), LC.PayloadString.length()); in writePayloadString()
157 BytesWritten = LC.PayloadString.length(); in writePayloadString()
163 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() argument
[all …]
/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.cpp169 for (const LambdaCapture &LC : parent->captures()) { in getSelfDecl() local
170 if (!LC.capturesVariable()) in getSelfDecl()
173 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl()
447 const LocationContext *LC = this; in getCurrentStackFrame() local
448 while (LC) { in getCurrentStackFrame()
449 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
451 LC = LC->getParent(); in getCurrentStackFrame()
460 bool LocationContext::isParentOf(const LocationContext *LC) const { in isParentOf()
462 const LocationContext *Parent = LC->getParent(); in isParentOf()
466 LC = Parent; in isParentOf()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dmacho2yaml.cpp26 MachOYAML::LoadCommand &LC,
50 memcpy((void *) & (LC.Data.LCStruct##_data), LoadCmd.Ptr, \
53 MachO::swapStruct(LC.Data.LCStruct##_data); \
54 EndPtr = processLoadCommandData<MachO::LCStruct>(LC, LoadCmd); \
113 MachOYAML::LoadCommand &LC, in processLoadCommandData() argument
120 MachOYAML::LoadCommand &LC, in processLoadCommandData() argument
123 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
128 MachOYAML::LoadCommand &LC, in processLoadCommandData() argument
131 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
136 readString(MachOYAML::LoadCommand &LC, in readString() argument
[all …]
/external/llvm/tools/obj2yaml/
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, in processLoadCommandData() argument
115 MachOYAML::LoadCommand &LC, in processLoadCommandData() argument
118 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
123 MachOYAML::LoadCommand &LC, in processLoadCommandData() argument
126 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
131 readString(MachOYAML::LoadCommand &LC, in readString() argument
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DTraversalChecker.cpp80 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() local
81 LC != nullptr; LC = LC->getParent()) in checkPreCall()
97 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall() local
98 LC != nullptr; LC = LC->getParent()) in checkPostCall()
DUnreachableCodeChecker.cpp60 const LocationContext *LC = nullptr; in checkEndAnalysis() local
65 LC = P.getLocationContext(); in checkEndAnalysis()
66 if (!LC->inTopFrame()) in checkEndAnalysis()
70 D = LC->getAnalysisDeclContext()->getDecl(); in checkEndAnalysis()
74 C = LC->getAnalysisDeclContext()->getUnoptimizedCFG(); in checkEndAnalysis()
76 PM = &LC->getParentMap(); in checkEndAnalysis()
151 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC); in checkEndAnalysis()
DExprInspectionChecker.cpp75 const LocationContext *LC = N->getLocationContext(); in getArgumentValueString() local
79 SVal AssertionVal = State->getSVal(Assertion, LC); in getArgumentValueString()
115 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerEval() local
119 if (LC->getCurrentStackFrame()->getParent() != nullptr) in analyzerEval()
132 const LocationContext *LC = C.getPredecessor()->getLocationContext(); in analyzerCheckInlined() local
139 if (LC->getCurrentStackFrame()->getParent() == nullptr) in analyzerCheckInlined()
/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]]:
/external/swiftshader/third_party/llvm-7.0/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: addis [[REG0:[0-9]+]], 2, .LCPI[[LC]]_0@toc@ha
47 ; CHECK: addis [[REG1:[0-9]+]], 2, .LCPI[[LC]]_1@toc@ha
48 ; CHECK: lfs 1, .LCPI[[LC]]_0@toc@l([[REG0]])
49 ; CHECK: lfs 2, .LCPI[[LC]]_1@toc@l([[REG1]])
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]]:
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1169 RTLIB::Libcall LC; in ExpandAtomic() local
1178 case MVT::i8: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_1; break; in ExpandAtomic()
1179 case MVT::i16: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_2; break; in ExpandAtomic()
1180 case MVT::i32: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_4; break; in ExpandAtomic()
1181 case MVT::i64: LC = RTLIB::SYNC_LOCK_TEST_AND_SET_8; break; in ExpandAtomic()
1187 case MVT::i8: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_1; break; in ExpandAtomic()
1188 case MVT::i16: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_2; break; in ExpandAtomic()
1189 case MVT::i32: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_4; break; in ExpandAtomic()
1190 case MVT::i64: LC = RTLIB::SYNC_VAL_COMPARE_AND_SWAP_8; break; in ExpandAtomic()
1196 case MVT::i8: LC = RTLIB::SYNC_FETCH_AND_ADD_1; break; in ExpandAtomic()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/
DMachOTest.cpp40 macho_load_command *LC = in TEST() local
43 swapStruct(LC->load_command_data); in TEST()
44 ASSERT_EQ(LC->load_command_data.cmd, LC_SEGMENT); in TEST()
45 Current += LC->load_command_data.cmdsize; in TEST()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp325 const LocationContext *LC; member in __anon6d7da64b0111::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.cpp381 const LocationContext *LC, in ProfileRegion() argument
386 ID.AddPointer(LC); in ProfileRegion()
392 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion()); in Profile()
794 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, in getStackOrCaptureRegionForDeclContext() argument
797 while (LC) { in getStackOrCaptureRegionForDeclContext()
798 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
803 dyn_cast<BlockInvocationContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
816 LC = LC->getParent(); in getStackOrCaptureRegionForDeclContext()
822 const LocationContext *LC) { in getVarRegion() argument
854 getStackOrCaptureRegionForDeclContext(LC, DC, D); in getVarRegion()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-nm/X86/
Ddyldinfo.test5 # RUN: llvm-nm %p/Inputs/Strip-N.LC_MAIN.exe.macho-x86_64 | FileCheck --check-prefix=LC-MAIN %s
29 # LC-MAIN: 0000000100000f50 t <redacted LC_MAIN>
30 # LC-MAIN: 0000000100000000 T __mh_execute_header
31 # LC-MAIN: U _printf
32 # LC-MAIN: U dyld_stub_binder
/external/swiftshader/third_party/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/swiftshader/third_party/LLVM/include/llvm/Support/
DIRBuilder.h502 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
504 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
515 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
517 return Insert(Folder.CreateFAdd(LC, RC), Name);
522 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
524 return Insert(Folder.CreateSub(LC, RC), Name);
535 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
537 return Insert(Folder.CreateFSub(LC, RC), Name);
542 if (Constant *LC = dyn_cast<Constant>(LHS)) variable
544 return Insert(Folder.CreateMul(LC, RC), Name);
[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], [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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/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 …]

12345678910>>...27