/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
MachOTest.cpp | 40 macho_load_command *LC = 43 swapStruct(LC->load_command_data); 44 ASSERT_EQ(LC->load_command_data.cmd, LC_SEGMENT); 45 Current += LC->load_command_data.cmdsize;
|
/external/clang/test/CodeGenCXX/ |
mangle-extern-local.cpp | 29 struct LC { int localfunc() { extern int var4; return var4; } }; 30 LC localobj;
|
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 20 const LocationContext *LC = C.getLocationContext(); 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext(); 52 const Decl *D = LC->getDecl(); 70 C = LC->getCFG(); 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
|
ExprInspectionChecker.cpp | 75 const LocationContext *LC = N->getLocationContext(); 79 SVal AssertionVal = State->getSVal(Assertion, LC); 115 const LocationContext *LC = C.getPredecessor()->getLocationContext(); 119 if (LC->getCurrentStackFrame()->getParent() != nullptr) 132 const LocationContext *LC = C.getPredecessor()->getLocationContext(); 139 if (LC->getCurrentStackFrame()->getParent() == nullptr)
|
UnreachableCodeChecker.cpp | 60 const LocationContext *LC = nullptr; 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);
|
VLASizeChecker.cpp | 167 const LocationContext *LC = C.getLocationContext(); 169 state->getRegion(VD, LC)->getExtent(svalBuilder);
|
/external/clang/test/Parser/ |
cxx-casting.cpp | 76 #define LC <: 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/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_format_interceptor_test.cc | 44 static const unsigned LC = sizeof(wchar_t); 119 testScanf("%lc", 1, LC); 135 testScanf("%10ls", 1, 11 * LC); 136 testScanf("%10lc", 1, 10 * LC);
|
/external/clang/lib/StaticAnalyzer/Core/ |
CoreEngine.cpp | 302 const LocationContext *LC = Pred->getLocationContext(); 304 LC->getDecl(), 305 LC->getCFG()->getNumBlockIDs()); 339 const LocationContext *LC = Pred->getLocationContext(); 342 Counter = BCounterFactory.IncrementCount(Counter, LC->getCurrentStackFrame(),
|
ExprEngineC.cpp | 497 const LocationContext *LC = N->getLocationContext(); 504 SVal InitVal = state->getSVal(InitEx, LC); 533 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, 540 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); [all...] |
PathDiagnostic.cpp | 638 PathDiagnosticLocation::createDeclBegin(const LocationContext *LC, 642 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) 652 PathDiagnosticLocation::createDeclEnd(const LocationContext *LC, 654 SourceLocation L = LC->getDecl()->getBodyRBrace(); 747 const LocationContext *LC = N->getLocationContext(); 758 return PathDiagnosticLocation::createEnd(S, SM, LC); 761 return PathDiagnosticLocation(S, SM, LC); 762 return PathDiagnosticLocation(getValidSourceLocation(S, LC), SM); [all...] |
ExprEngine.cpp | 185 const LocationContext *LC, 188 SVal V = State->getSVal(Ex, LC); 235 TR = MRMgr.getCXXTempObjectRegion(Inner, LC); 240 V = getSValBuilder().conjureSymbolVal(Result, LC, TR->getValueType(), 251 State = State->BindExpr(Result, LC, Reg); 319 const LocationContext *LC) { 339 ParentMap &PM = LC->getAnalysisDeclContext()->getParentMap(); 345 const LocationContext *LC, 351 assert(LC && "Must pass the current (or expiring) LocationContext"); 361 // LC is the location context being destroyed, but SymbolReaper wants [all...] |
/external/llvm/tools/obj2yaml/ |
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, [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
macho2yaml.cpp | 26 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, 120 MachOYAML::LoadCommand &LC, 123 LoadCmd, LC.Sections, Obj.isLittleEndian()); 128 MachOYAML::LoadCommand &LC, 131 LoadCmd, LC.Sections, Obj.isLittleEndian()); 136 readString(MachOYAML::LoadCommand &LC, [all...] |
/external/clang/lib/Analysis/ |
AnalysisDeclContext.cpp | 169 for (const LambdaCapture &LC : parent->captures()) { 170 if (!LC.capturesVariable()) 173 VarDecl *VD = LC.getCapturedVar(); 447 const LocationContext *LC = this; 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->getParent() [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CoreEngine.h | 185 const LocationContext *LC; 187 : Eng(E), Block(B), LC(N->getLocationContext()) { assert(B); } 196 LC->getCurrentStackFrame(),
|
MemRegion.h | 630 const LocationContext *LC; // Can be null */ 635 BlockDataRegion(const BlockCodeRegion *bc, const LocationContext *lc, 637 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc), [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ScalarEvolution.cpp | 509 const SCEVConstant *LC = cast<SCEVConstant>(LHS); 513 const APInt &LA = LC->getValue()->getValue(); 553 const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS); 557 unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands(); 561 long X = compare(LC->getOperand(i), RC->getOperand(i)); 569 const SCEVUDivExpr *LC = cast<SCEVUDivExpr>(LHS); 573 long X = compare(LC->getLHS(), RC->getLHS()); 576 return compare(LC->getRHS(), RC->getRHS()); 582 const SCEVCastExpr *LC = cast<SCEVCastExpr>(LHS); 586 return compare(LC->getOperand(), RC->getOperand()) [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
LegalizeFloatTypes.cpp | 357 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); 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)); 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; 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 != RTLIB::UNKNOWN_LIBCALL && "Unsupported XINT_TO_FP!") [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 534 const SCEVConstant *LC = cast<SCEVConstant>(LHS); 538 const APInt &LA = LC->getAPInt(); 578 const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS); 582 unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands(); 589 long X = compare(LC->getOperand(i), RC->getOperand(i)); 597 const SCEVUDivExpr *LC = cast<SCEVUDivExpr>(LHS); 601 long X = compare(LC->getLHS(), RC->getLHS()); 604 return compare(LC->getRHS(), RC->getRHS()); 610 const SCEVCastExpr *LC = cast<SCEVCastExpr>(LHS); 614 return compare(LC->getOperand(), RC->getOperand()) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeFloatTypes.cpp | 474 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); 477 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); 478 return TLI.makeLibCall(DAG, LC, NVT, Op, false, SDLoc(N)).first; 492 RTLIB::Libcall LC = RTLIB::getFPEXT(MVT::f32, N->getValueType(0)); 493 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); 494 return TLI.makeLibCall(DAG, LC, NVT, Res32, false, SDLoc(N)).first; 506 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); 507 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!"); 508 return TLI.makeLibCall(DAG, LC, NVT, Op, false, SDLoc(N)).first; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 659 const SCEVConstant *LC = cast<SCEVConstant>(LHS); 663 const APInt &LA = LC->getAPInt(); 715 const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS); 719 unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands(); 724 if (LC->getNoWrapFlags() != RC->getNoWrapFlags()) 725 return (int)LC->getNoWrapFlags() - (int)RC->getNoWrapFlags(); 729 LC->getOperand(i), RC->getOperand(i), DT, 739 const SCEVUDivExpr *LC = cast<SCEVUDivExpr>(LHS); 743 int X = CompareSCEVComplexity(EqCacheSCEV, EqCacheValue, LI, LC->getLHS(), 747 X = CompareSCEVComplexity(EqCacheSCEV, EqCacheValue, LI, LC->getRHS() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeFloatTypes.cpp | 477 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); 478 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); 479 return TLI.makeLibCall(DAG, LC, NVT, Op, false, SDLoc(N)).first; 493 RTLIB::Libcall LC = RTLIB::getFPEXT(MVT::f32, N->getValueType(0)); 494 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_EXTEND!"); 495 return TLI.makeLibCall(DAG, LC, NVT, Res32, false, SDLoc(N)).first; 507 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); 508 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_ROUND!"); 509 return TLI.makeLibCall(DAG, LC, NVT, Op, false, SDLoc(N)).first; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
AVRISelLowering.cpp | 339 RTLIB::Libcall LC; 344 LC = IsSigned ? RTLIB::SDIVREM_I8 : RTLIB::UDIVREM_I8; 347 LC = IsSigned ? RTLIB::SDIVREM_I16 : RTLIB::UDIVREM_I16; 350 LC = IsSigned ? RTLIB::SDIVREM_I32 : RTLIB::UDIVREM_I32; 353 LC = IsSigned ? RTLIB::SDIVREM_I64 : RTLIB::UDIVREM_I64; 356 LC = IsSigned ? RTLIB::SDIVREM_I128 : RTLIB::UDIVREM_I128; 372 SDValue Callee = DAG.getExternalSymbol(getLibcallName(LC), 381 .setLibCallee(getLibcallCallingConv(LC), RetTy, Callee, std::move(Args)) [all...] |