Lines Matching refs:CodeGenFunction
26 void CodeGenFunction::EmitOMPAggregateAssign( in EmitOMPAggregateAssign()
75 void CodeGenFunction::EmitOMPCopy(CodeGenFunction &CGF, in EmitOMPCopy()
94 CodeGenFunction::OMPPrivateScope Remap(CGF); in EmitOMPCopy()
106 CodeGenFunction::OMPPrivateScope Remap(CGF); in EmitOMPCopy()
115 bool CodeGenFunction::EmitOMPFirstprivateClause(const OMPExecutableDirective &D, in EmitOMPFirstprivateClause()
188 void CodeGenFunction::EmitOMPPrivateClause( in EmitOMPPrivateClause()
190 CodeGenFunction::OMPPrivateScope &PrivateScope) { in EmitOMPPrivateClause()
214 bool CodeGenFunction::EmitOMPCopyinClause(const OMPExecutableDirective &D) { in EmitOMPCopyinClause()
278 bool CodeGenFunction::EmitOMPLastprivateClauseInit( in EmitOMPLastprivateClauseInit()
323 void CodeGenFunction::EmitOMPLastprivateClauseFinal( in EmitOMPLastprivateClauseFinal()
405 void CodeGenFunction::EmitOMPReductionClauseInit( in EmitOMPReductionClauseInit()
407 CodeGenFunction::OMPPrivateScope &PrivateScope) { in EmitOMPReductionClauseInit()
439 void CodeGenFunction::EmitOMPReductionClauseFinal( in EmitOMPReductionClauseFinal()
464 static void emitCommonOMPParallelDirective(CodeGenFunction &CGF, in emitCommonOMPParallelDirective()
473 CodeGenFunction::RunCleanupsScope NumThreadsScope(CGF); in emitCommonOMPParallelDirective()
481 CodeGenFunction::RunCleanupsScope NumThreadsScope(CGF); in emitCommonOMPParallelDirective()
494 void CodeGenFunction::EmitOMPParallelDirective(const OMPParallelDirective &S) { in EmitOMPParallelDirective()
497 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelDirective()
521 void CodeGenFunction::EmitOMPLoopBody(const OMPLoopDirective &D, in EmitOMPLoopBody()
550 void CodeGenFunction::EmitOMPInnerLoop( in EmitOMPInnerLoop()
553 const llvm::function_ref<void(CodeGenFunction &)> &BodyGen, in EmitOMPInnerLoop()
554 const llvm::function_ref<void(CodeGenFunction &)> &PostIncGen) { in EmitOMPInnerLoop()
597 void CodeGenFunction::EmitOMPLinearClauseInit(const OMPLoopDirective &D) { in EmitOMPLinearClauseInit()
627 static void emitLinearClauseFinal(CodeGenFunction &CGF, in emitLinearClauseFinal()
639 CodeGenFunction::OMPPrivateScope VarScope(CGF); in emitLinearClauseFinal()
649 static void emitAlignedClause(CodeGenFunction &CGF, in emitAlignedClause()
681 static void emitPrivateLoopCounters(CodeGenFunction &CGF, in emitPrivateLoopCounters()
682 CodeGenFunction::OMPPrivateScope &LoopScope, in emitPrivateLoopCounters()
695 static void emitPreCond(CodeGenFunction &CGF, const OMPLoopDirective &S, in emitPreCond()
699 CodeGenFunction::OMPPrivateScope PreCondScope(CGF); in emitPreCond()
712 emitPrivateLinearVars(CodeGenFunction &CGF, const OMPExecutableDirective &D, in emitPrivateLinearVars()
713 CodeGenFunction::OMPPrivateScope &PrivateScope) { in emitPrivateLinearVars()
731 static void emitSafelenClause(CodeGenFunction &CGF, in emitSafelenClause()
746 void CodeGenFunction::EmitOMPSimdInit(const OMPLoopDirective &D) { in EmitOMPSimdInit()
753 void CodeGenFunction::EmitOMPSimdFinal(const OMPLoopDirective &D) { in EmitOMPSimdFinal()
773 void CodeGenFunction::EmitOMPSimdDirective(const OMPSimdDirective &S) { in EmitOMPSimdDirective()
774 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPSimdDirective()
828 [&S](CodeGenFunction &CGF) { in EmitOMPSimdDirective()
832 [](CodeGenFunction &) {}); in EmitOMPSimdDirective() argument
849 void CodeGenFunction::EmitOMPForOuterLoop(OpenMPScheduleClauseKind ScheduleKind, in EmitOMPForOuterLoop()
979 [&S, LoopExit](CodeGenFunction &CGF) { in EmitOMPForOuterLoop()
983 [Ordered, IVSize, IVSigned, Loc](CodeGenFunction &CGF) { in EmitOMPForOuterLoop()
1009 static LValue EmitOMPHelperVar(CodeGenFunction &CGF, in EmitOMPHelperVar()
1017 emitScheduleClause(CodeGenFunction &CGF, const OMPLoopDirective &S, in emitScheduleClause()
1048 bool CodeGenFunction::EmitOMPWorksharingLoop(const OMPLoopDirective &S) { in EmitOMPWorksharingLoop()
1145 [&S, LoopExit](CodeGenFunction &CGF) { in EmitOMPWorksharingLoop()
1149 [](CodeGenFunction &) {}); in EmitOMPWorksharingLoop() argument
1178 void CodeGenFunction::EmitOMPForDirective(const OMPForDirective &S) { in EmitOMPForDirective()
1181 auto &&CodeGen = [&S, &HasLastprivates](CodeGenFunction &CGF) { in EmitOMPForDirective()
1192 void CodeGenFunction::EmitOMPForSimdDirective(const OMPForSimdDirective &S) { in EmitOMPForSimdDirective()
1195 auto &&CodeGen = [&S, &HasLastprivates](CodeGenFunction &CGF) { in EmitOMPForSimdDirective()
1206 static LValue createSectionLVal(CodeGenFunction &CGF, QualType Ty, in createSectionLVal()
1216 CodeGenFunction::EmitSections(const OMPExecutableDirective &S) { in EmitSections()
1221 auto &&CodeGen = [&S, CS, &HasLastprivates](CodeGenFunction &CGF) { in EmitSections()
1237 CodeGenFunction::OpaqueValueMapping OpaqueIV(CGF, &IVRefExpr, IV); in EmitSections()
1239 CodeGenFunction::OpaqueValueMapping OpaqueUB(CGF, &UBRefExpr, UB); in EmitSections()
1247 auto BodyGen = [CS, &S, &IV](CodeGenFunction &CGF) { in EmitSections()
1275 CodeGenFunction::OMPPrivateScope LoopScope(CGF); in EmitSections()
1301 [](CodeGenFunction &) {}); in EmitSections() argument
1335 auto &&CodeGen = [Stmt, &S, &HasFirstprivates](CodeGenFunction &CGF) { in EmitSections()
1336 CodeGenFunction::OMPPrivateScope SingleScope(CGF); in EmitSections()
1358 void CodeGenFunction::EmitOMPSectionsDirective(const OMPSectionsDirective &S) { in EmitOMPSectionsDirective()
1367 void CodeGenFunction::EmitOMPSectionDirective(const OMPSectionDirective &S) { in EmitOMPSectionDirective()
1369 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPSectionDirective()
1376 void CodeGenFunction::EmitOMPSingleDirective(const OMPSingleDirective &S) { in EmitOMPSingleDirective()
1398 auto &&CodeGen = [&S, &HasFirstprivates](CodeGenFunction &CGF) { in EmitOMPSingleDirective()
1399 CodeGenFunction::OMPPrivateScope SingleScope(CGF); in EmitOMPSingleDirective()
1420 void CodeGenFunction::EmitOMPMasterDirective(const OMPMasterDirective &S) { in EmitOMPMasterDirective()
1422 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPMasterDirective()
1429 void CodeGenFunction::EmitOMPCriticalDirective(const OMPCriticalDirective &S) { in EmitOMPCriticalDirective()
1431 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPCriticalDirective()
1439 void CodeGenFunction::EmitOMPParallelForDirective( in EmitOMPParallelForDirective()
1445 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelForDirective()
1456 void CodeGenFunction::EmitOMPParallelForSimdDirective( in EmitOMPParallelForSimdDirective()
1462 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelForSimdDirective()
1473 void CodeGenFunction::EmitOMPParallelSectionsDirective( in EmitOMPParallelSectionsDirective()
1478 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelSectionsDirective()
1487 void CodeGenFunction::EmitOMPTaskDirective(const OMPTaskDirective &S) { in EmitOMPTaskDirective()
1541 CodeGenFunction &CGF) { in EmitOMPTaskDirective()
1614 void CodeGenFunction::EmitOMPTaskyieldDirective( in EmitOMPTaskyieldDirective()
1619 void CodeGenFunction::EmitOMPBarrierDirective(const OMPBarrierDirective &S) { in EmitOMPBarrierDirective()
1623 void CodeGenFunction::EmitOMPTaskwaitDirective(const OMPTaskwaitDirective &S) { in EmitOMPTaskwaitDirective()
1627 void CodeGenFunction::EmitOMPTaskgroupDirective( in EmitOMPTaskgroupDirective()
1630 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPTaskgroupDirective()
1637 void CodeGenFunction::EmitOMPFlushDirective(const OMPFlushDirective &S) { in EmitOMPFlushDirective()
1648 void CodeGenFunction::EmitOMPOrderedDirective(const OMPOrderedDirective &S) { in EmitOMPOrderedDirective()
1650 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPOrderedDirective()
1657 static llvm::Value *convertToScalarValue(CodeGenFunction &CGF, RValue Val, in convertToScalarValue()
1668 static CodeGenFunction::ComplexPairTy
1669 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, in convertToComplexValue()
1673 CodeGenFunction::ComplexPairTy ComplexVal; in convertToComplexValue()
1679 ComplexVal = CodeGenFunction::ComplexPairTy( in convertToComplexValue()
1693 static void emitSimpleAtomicStore(CodeGenFunction &CGF, bool IsSeqCst, in emitSimpleAtomicStore()
1704 static void emitSimpleStore(CodeGenFunction &CGF, LValue LVal, RValue RVal, in emitSimpleStore()
1722 static void EmitOMPAtomicReadExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicReadExpr()
1745 static void EmitOMPAtomicWriteExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicWriteExpr()
1759 static std::pair<bool, RValue> emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, in emitOMPAtomicRMW()
1851 std::pair<bool, RValue> CodeGenFunction::EmitOMPAtomicSimpleUpdateExpr( in EmitOMPAtomicSimpleUpdateExpr()
1875 static void EmitOMPAtomicUpdateExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicUpdateExpr()
1898 CodeGenFunction::OpaqueValueMapping MapExpr(CGF, ERValExpr, ExprRValue); in EmitOMPAtomicUpdateExpr()
1899 CodeGenFunction::OpaqueValueMapping MapX(CGF, XRValExpr, XRValue); in EmitOMPAtomicUpdateExpr()
1912 static RValue convertToType(CodeGenFunction &CGF, RValue Value, in convertToType()
1927 static void EmitOMPAtomicCaptureExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicCaptureExpr()
1958 CodeGenFunction::OpaqueValueMapping MapExpr(CGF, ERValExpr, ExprRValue); in EmitOMPAtomicCaptureExpr()
1959 CodeGenFunction::OpaqueValueMapping MapX(CGF, XRValExpr, XRValue); in EmitOMPAtomicCaptureExpr()
1974 CodeGenFunction::OpaqueValueMapping MapExpr(CGF, ERValExpr, ExprRValue); in EmitOMPAtomicCaptureExpr()
1975 CodeGenFunction::OpaqueValueMapping MapX(CGF, XRValExpr, Res.second); in EmitOMPAtomicCaptureExpr()
2007 static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, in EmitOMPAtomicExpr()
2056 void CodeGenFunction::EmitOMPAtomicDirective(const OMPAtomicDirective &S) { in EmitOMPAtomicDirective()
2082 auto &&CodeGen = [&S, Kind, IsSeqCst](CodeGenFunction &CGF) { in EmitOMPAtomicDirective()
2090 void CodeGenFunction::EmitOMPTargetDirective(const OMPTargetDirective &) { in EmitOMPTargetDirective()
2094 void CodeGenFunction::EmitOMPTeamsDirective(const OMPTeamsDirective &) { in EmitOMPTeamsDirective()
2098 void CodeGenFunction::EmitOMPCancellationPointDirective( in EmitOMPCancellationPointDirective()
2104 void CodeGenFunction::EmitOMPCancelDirective(const OMPCancelDirective &S) { in EmitOMPCancelDirective()
2109 CodeGenFunction::JumpDest
2110 CodeGenFunction::getOMPCancelDestination(OpenMPDirectiveKind Kind) { in getOMPCancelDestination()