Lines Matching refs:cast
36 CGF.EmitVarDecl(cast<VarDecl>(*I));
39 CGF.EmitAutoVarAlloca(cast<VarDecl>(*I));
63 auto *CS = cast<CapturedStmt>(S.getAssociatedStmt());
91 CGF.EmitVarDecl(cast<VarDecl>(*I));
336 // Cast from pointer to array type to pointer to single element.
405 auto *CE = cast<CallExpr>(InitOp);
406 auto *OVE = cast<OpaqueValueExpr>(CE->getCallee());
409 auto *LHSDRE = cast<DeclRefExpr>(cast<UnaryOperator>(LHS)->getSubExpr());
410 auto *RHSDRE = cast<DeclRefExpr>(cast<UnaryOperator>(RHS)->getSubExpr());
412 PrivateScope.addPrivate(cast<VarDecl>(LHSDRE->getDecl()),
414 PrivateScope.addPrivate(cast<VarDecl>(RHSDRE->getDecl()),
471 // Cast from pointer to array type to pointer to single element.
581 cast<VarDecl>(cast<DeclRefExpr>(D)->getDecl())->getCanonicalDecl());
584 CGCapturedStmtInfo CapturesInfo(cast<CapturedStmt>(*D.getAssociatedStmt()));
589 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
604 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
605 auto *VDInit = cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl());
674 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
676 auto VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
706 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
741 auto *SrcVD = cast<VarDecl>(cast<DeclRefExpr>(*ISrcRef)->getDecl());
742 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl());
765 auto *LoopDirective = cast<OMPLoopDirective>(&D);
768 cast<VarDecl>(cast<DeclRefExpr>(C)->getDecl())->getCanonicalDecl());
781 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
785 auto *DestVD = cast<VarDecl>(cast
798 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
841 cast<VarDecl>(cast<DeclRefExpr>(*IC)->getDecl())->getCanonicalDecl();
854 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
863 auto *SrcVD = cast<VarDecl>(cast<DeclRefExpr>(*ISrcRef)->getDecl());
864 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl());
945 auto *LHSVD = cast<VarDecl>(cast<DeclRefExpr>(*ILHS)->getDecl());
946 auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(*IRHS)->getDecl());
947 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IPriv)->getDecl());
955 auto *DE = cast<DeclRefExpr>(Base);
956 auto *OrigVD = cast<VarDecl>(DE->getDecl());
981 *this, cast<OpaqueValueExpr>(
1012 auto *DE = cast<DeclRefExpr>(Base);
1013 auto *OrigVD = cast<VarDecl>(DE->getDecl());
1052 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(IRef)->getDecl());
1070 *this, cast<OpaqueValueExpr>(
1194 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
1243 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
1327 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(Init)->getDecl());
1330 auto *OrigVD = cast<VarDecl>(Ref->getDecl());
1345 if (auto SaveRef = cast<DeclRefExpr>(CS->getLHS())) {
1346 EmitVarDecl(*cast<VarDecl>(SaveRef->getDecl()));
1373 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IC)->getDecl());
1399 cast<llvm::ConstantInt>(CGF.EmitScalarExpr(AlignmentExpr));
1430 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
1431 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*I)->getDecl());
1480 auto *LoopDirective = cast<OMPLoopDirective>(&D);
1483 cast<VarDecl>(cast<DeclRefExpr>(C)->getDecl())->getCanonicalDecl());
1489 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
1491 cast<VarDecl>(cast<DeclRefExpr>(*CurPrivate)->getDecl());
1516 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal());
1526 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal());
1552 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>((*IC))->getDecl());
1553 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>((*IPC))->getDecl());
1617 const VarDecl *IVDecl = cast<VarDecl>(cast<DeclRefExpr>(IVExpr)->getDecl());
1625 CGF.EmitVarDecl(*cast<VarDecl>(LIExpr->getDecl()));
1876 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
1888 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
1900 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
1912 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
1919 auto VDecl = cast<VarDecl>(Helper->getDecl());
1938 auto IVExpr = cast<DeclRefExpr>(S.getIterationVariable());
1939 auto IVDecl = cast<VarDecl>(IVExpr->getDecl());
1946 cast<VarDecl>(LIExpr->getDecl()));
1987 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getLowerBoundVariable()));
1989 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getUpperBoundVariable()));
1991 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getStrideVariable()));
1993 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getIsLastIterVariable()));
2154 auto *Stmt = cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt();
2302 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
2333 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
2353 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
2362 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
2408 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
2444 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
2458 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
2474 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
2480 {cast<VarDecl>(cast<DeclRefExpr>(*ID)->getDecl()),
2481 cast<DeclRefExpr>(*IRef)});
2505 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
2512 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
2520 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
2529 auto *OrigVD = cast<VarDecl>(Pair.second->getDecl());
2559 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
2604 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
2622 auto IVExpr = cast<DeclRefExpr>(S.getIterationVariable());
2623 auto IVDecl = cast<VarDecl>(IVExpr->getDecl());
2630 EmitVarDecl(*cast<VarDecl>(LIExpr->getDecl()));
2661 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getLowerBoundVariable()));
2663 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getUpperBoundVariable()));
2665 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getStrideVariable()));
2667 EmitOMPHelperVar(*this, cast<DeclRefExpr>(S.getIsLastIterVariable()));
2766 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
2774 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
3009 auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts());
3021 auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts());
3022 auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts());
3076 auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts());
3083 auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts());
3084 cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts());
3256 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
3265 const CapturedStmt &CS = *cast<CapturedStmt>(S.getAssociatedStmt());
3308 CGM.getMangledName(GlobalDecl(cast<FunctionDecl>(CurFuncDecl)));
3321 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
3351 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
3390 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
3470 auto *VDecl = cast<VarDecl>(Helper->getDecl());
3478 auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
3542 mapParam(CGF, cast<DeclRefExpr>(S.getLowerBoundVariable()), *LBP,
3544 mapParam(CGF, cast<DeclRefExpr>(S.getUpperBoundVariable()), *UBP,
3546 mapParam(CGF, cast<DeclRefExpr>(S.getStrideVariable()), *STP, LoopScope);
3547 mapParam(CGF, cast<DeclRefExpr>(S.getIsLastIterVariable()), *LIP,
3554 const VarDecl *IVDecl = cast<VarDecl>(cast<DeclRefExpr>(IVExpr)->getDecl());
3562 CGF.EmitVarDecl(*cast<VarDecl>(LIExpr->getDecl()));