HomeSort by: relevance | last modified time | path
    Searched defs:LSI (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUnrollAndJam.cpp 959 SimpleLoopSafetyInfo LSI;
960 LSI.computeLoopSafetyInfo(L);
961 if (LSI.anyBlockMayThrow()) {
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExprCXX.cpp 1088 // a Lambda (i.e. LambdaScopeInfo) AND each LSI's 'closure-type' is lexically
1089 // enclosed by the call-operator of the LSI below it on the stack (while
1090 // tracking the enclosing DC for step 2 if needed). Note the topmost LSI on
1093 // 2) If we run out of enclosing LSI's, check if the enclosing DeclContext
1095 // a generic lambda's call operator (represented by the Current LSI, and
1096 // should be the only scenario where an inconsistency between the LSI and the
1129 "run out of enclosing LSI's, yet the enclosing DC is a "
1130 "lambda-call-operator we must be (i.e. Current LSI) in a generic "
1229 static void buildLambdaThisCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI) {
1230 SourceLocation DiagLoc = LSI->IntroducerRange.getEnd()
    [all...]
Sema.cpp 1928 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics());
1929 FunctionScopes.push_back(LSI);
1930 return LSI;
1934 if (LambdaScopeInfo *const LSI = getCurLambda()) {
1935 LSI->AutoTemplateParameterDepth = Depth;
2112 if (auto *LSI = dyn_cast<sema::LambdaScopeInfo>(Scope)) {
2113 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext)) {
2120 return LSI;
2152 if (LambdaScopeInfo *LSI = getCurLambda())
    [all...]
SemaLambda.cpp 87 const clang::sema::LambdaScopeInfo *LSI =
116 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) {
117 if (IsCapturingVariable && !LSI->isCaptured(VarToCapture))
119 if (IsCapturingThis && !LSI->isCXXThisCaptured())
228 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) {
229 if (!LSI->GLTemplateParameterList && !LSI->TemplateParams.empty()) {
230 LSI->GLTemplateParameterList = TemplateParameterList::Create(
233 /*L angle loc*/ LSI->ExplicitTemplateParamsRange.getBegin(),
234 LSI->TemplateParams
    [all...]
SemaDecl.cpp 7544 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI,
7546 for (const Capture &Capture : LSI->Captures) {
7657 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction());
7659 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl));
7719 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) {
7720 for (const auto &Shadow : LSI->ShadowingDecls) {
7723 SourceLocation CaptureLoc = getCaptureLocation(LSI, ShadowedDecl);
13854 if (auto *LSI = getEnclosingLambda())
13855 LSI->LocalPacks.push_back(New);
14089 LambdaScopeInfo *LSI = S.PushLambdaScope()
    [all...]
SemaExpr.cpp 3462 else if (const LambdaScopeInfo *LSI = getCurLambda())
3463 currentDecl = LSI->CallOperator;
4466 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI))
4467 DC = LSI->CallOperator;
5607 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI))
5608 DC = LSI->CallOperator;
17452 static bool captureInLambda(LambdaScopeInfo *LSI,
17468 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref);
17539 if (!LSI->Mutable && !CaptureType->isReferenceType())
17545 LSI->addCapture(Var, /*isBlock=*/false, ByRef, RefersToCapturedVariable
    [all...]
TreeTransform.h 12692 LambdaScopeInfo *LSI = getSema().PushLambdaScope();
12699 LSI->GLTemplateParameterList = TPL;
12759 LSI->CallOperator = NewCallOperator;
12772 getSema().buildLambdaScope(LSI, NewCallOperator,
12825 getSema().addInitCapture(LSI, NewVD);
12898 getSema().finishLambdaExplicitCaptures(LSI);
12919 // Copy the LSI before ActOnFinishFunctionBody removes it.
12922 auto LSICopy = *LSI;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MustExecute.cpp 404 SimpleLoopSafetyInfo LSI;
405 LSI.computeLoopSafetyInfo(L);
406 return LSI.isGuaranteedToExecute(I, DT, L) ||
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopUnswitch.cpp 636 SelectInst *LSI = dyn_cast<SelectInst>(LHS);
638 if ((LSI && HasUndefInSelect(*LSI)) || (RSI && HasUndefInSelect(*RSI)))

Completed in 115 milliseconds