Home
last modified time | relevance | path

Searched refs:CurField (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp586 CXXRecordDecl::field_iterator CurField = LE->getLambdaClass()->field_begin(); in VisitLambdaExpr() local
589 i != e; ++i, ++CurField) { in VisitLambdaExpr()
590 FieldDecl *FieldForCapture = *CurField; in VisitLambdaExpr()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1942 CXXRecordDecl::field_iterator CurField = E->getLambdaClass()->field_begin(); in EmitLambdaExpr() local
1945 i != e; ++i, ++CurField) { in EmitLambdaExpr()
1947 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); in EmitLambdaExpr()
1948 if (CurField->hasCapturedVLAType()) { in EmitLambdaExpr()
1949 auto VAT = CurField->getCapturedVLAType(); in EmitLambdaExpr()
1953 if (CurField->getType()->isArrayType()) in EmitLambdaExpr()
1955 EmitInitializerForField(*CurField, LV, *i, ArrayIndexes); in EmitLambdaExpr()
DCGStmt.cpp2158 RecordDecl::field_iterator CurField = RD->field_begin(); in InitCapturedStruct() local
2161 I != E; ++I, ++CurField) { in InitCapturedStruct()
2162 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); in InitCapturedStruct()
2163 if (CurField->hasCapturedVLAType()) { in InitCapturedStruct()
2164 auto VAT = CurField->getCapturedVLAType(); in InitCapturedStruct()
2167 EmitInitializerForField(*CurField, LV, *I, None); in InitCapturedStruct()
DCGStmtOpenMP.cpp128 auto CurField = RD->field_begin(); in GenerateOpenMPCapturedVars() local
132 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
133 if (CurField->hasCapturedVLAType()) { in GenerateOpenMPCapturedVars()
134 auto VAT = CurField->getCapturedVLAType(); in GenerateOpenMPCapturedVars()
145 if (!CurField->getType()->isAnyPointerType()) { in GenerateOpenMPCapturedVars()
154 Ctx.getPointerType(CurField->getType()), SourceLocation()); in GenerateOpenMPCapturedVars()
156 MakeNaturalAlignAddrLValue(SrcAddrVal, CurField->getType()); in GenerateOpenMPCapturedVars()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp1331 CXXRecordDecl::field_iterator CurField = E->getLambdaClass()->field_begin(); in VisitLambdaExpr() local
1334 i != e; ++i, ++CurField) { in VisitLambdaExpr()
1336 LValue LV = CGF.EmitLValueForFieldInitialization(SlotLV, *CurField); in VisitLambdaExpr()
1337 if (CurField->hasCapturedVLAType()) { in VisitLambdaExpr()
1338 CGF.EmitLambdaVLACapture(CurField->getCapturedVLAType(), LV); in VisitLambdaExpr()
1346 CurField->getType().isDestructedType()) { in VisitLambdaExpr()
1355 CGF.pushDestroy(EHCleanup, LV.getAddress(CGF), CurField->getType(), in VisitLambdaExpr()
DCGStmt.cpp2599 RecordDecl::field_iterator CurField = RD->field_begin(); in InitCapturedStruct() local
2602 I != E; ++I, ++CurField) { in InitCapturedStruct()
2603 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); in InitCapturedStruct()
2604 if (CurField->hasCapturedVLAType()) { in InitCapturedStruct()
2605 EmitLambdaVLACapture(CurField->getCapturedVLAType(), LV); in InitCapturedStruct()
2607 EmitInitializerForField(*CurField, LV, *I); in InitCapturedStruct()
DCGStmtOpenMP.cpp310 auto CurField = RD->field_begin(); in GenerateOpenMPCapturedVars() local
314 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
315 if (CurField->hasCapturedVLAType()) { in GenerateOpenMPCapturedVars()
316 const VariableArrayType *VAT = CurField->getCapturedVLAType(); in GenerateOpenMPCapturedVars()
326 if (!CurField->getType()->isAnyPointerType()) { in GenerateOpenMPCapturedVars()
335 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
337 MakeNaturalAlignAddrLValue(SrcAddrVal, CurField->getType()); in GenerateOpenMPCapturedVars()
DCGOpenMPRuntimeGPU.cpp4229 auto CurField = RD->field_begin(); in createParallelDataSharingWrapper() local
4289 for (unsigned I = 0, E = CS.capture_size(); I < E; ++I, ++CI, ++CurField) { in createParallelDataSharingWrapper()
4290 QualType ElemTy = CurField->getType(); in createParallelDataSharingWrapper()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp1002 CXXRecordDecl::field_iterator CurField = LE->getLambdaClass()->field_begin(); in VisitLambdaExpr() local
1005 i != e; ++i, ++CurField) { in VisitLambdaExpr()
1006 FieldDecl *FieldForCapture = *CurField; in VisitLambdaExpr()
/external/clang/lib/Sema/
DSemaLambda.cpp1527 auto CurField = Class->field_begin(); in BuildLambdaExpr() local
1528 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I, ++CurField) { in BuildLambdaExpr()
1557 *this, From, *CurField, ArrayIndexVars, ArrayIndexStarts); in BuildLambdaExpr()