Lines Matching refs:CodeGenFunction

33 static void EmitOMPIfClause(CodeGenFunction &CGF, const Expr *Cond,  in EmitOMPIfClause()
35 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in EmitOMPIfClause()
72 void CodeGenFunction::EmitOMPAggregateAssign( in EmitOMPAggregateAssign()
121 void CodeGenFunction::EmitOMPCopy(CodeGenFunction &CGF, in EmitOMPCopy()
140 CodeGenFunction::OMPPrivateScope Remap(CGF); in EmitOMPCopy()
152 CodeGenFunction::OMPPrivateScope Remap(CGF); in EmitOMPCopy()
161 bool CodeGenFunction::EmitOMPFirstprivateClause(const OMPExecutableDirective &D, in EmitOMPFirstprivateClause()
239 void CodeGenFunction::EmitOMPPrivateClause( in EmitOMPPrivateClause()
241 CodeGenFunction::OMPPrivateScope &PrivateScope) { in EmitOMPPrivateClause()
266 bool CodeGenFunction::EmitOMPCopyinClause(const OMPExecutableDirective &D) { in EmitOMPCopyinClause()
322 bool CodeGenFunction::EmitOMPLastprivateClauseInit( in EmitOMPLastprivateClauseInit()
370 void CodeGenFunction::EmitOMPLastprivateClauseFinal( in EmitOMPLastprivateClauseFinal()
415 void CodeGenFunction::EmitOMPReductionClauseInit( in EmitOMPReductionClauseInit()
417 CodeGenFunction::OMPPrivateScope &PrivateScope) { in EmitOMPReductionClauseInit()
454 void CodeGenFunction::EmitOMPReductionClauseFinal( in EmitOMPReductionClauseFinal()
483 static void emitOMPParallelCall(CodeGenFunction &CGF, in emitOMPParallelCall()
488 CodeGenFunction::RunCleanupsScope NumThreadsScope(CGF); in emitOMPParallelCall()
499 static void emitCommonOMPParallelDirective(CodeGenFunction &CGF, in emitCommonOMPParallelDirective()
519 void CodeGenFunction::EmitOMPParallelDirective(const OMPParallelDirective &S) { in EmitOMPParallelDirective()
522 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelDirective()
546 void CodeGenFunction::EmitOMPLoopBody(const OMPLoopDirective &S, in EmitOMPLoopBody()
576 void CodeGenFunction::EmitOMPInnerLoop( in EmitOMPInnerLoop()
579 const llvm::function_ref<void(CodeGenFunction &)> &BodyGen) { in EmitOMPInnerLoop()
622 void CodeGenFunction::EmitOMPSimdFinal(const OMPLoopDirective &S) { in EmitOMPSimdFinal()
638 static void EmitOMPAlignedClause(CodeGenFunction &CGF, CodeGenModule &CGM, in EmitOMPAlignedClause()
664 static void EmitPrivateLoopCounters(CodeGenFunction &CGF, in EmitPrivateLoopCounters()
665 CodeGenFunction::OMPPrivateScope &LoopScope, in EmitPrivateLoopCounters()
682 EmitPrivateLinearVars(CodeGenFunction &CGF, const OMPExecutableDirective &D, in EmitPrivateLinearVars()
683 CodeGenFunction::OMPPrivateScope &PrivateScope) { in EmitPrivateLinearVars()
700 void CodeGenFunction::EmitOMPSimdDirective(const OMPSimdDirective &S) { in EmitOMPSimdDirective()
701 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPSimdDirective()
799 [&S](CodeGenFunction &CGF) { in EmitOMPSimdDirective()
818 [&S](CodeGenFunction &CGF) { in EmitOMPSimdDirective()
829 void CodeGenFunction::EmitOMPForOuterLoop(OpenMPScheduleClauseKind ScheduleKind, in EmitOMPForOuterLoop()
945 [&S](CodeGenFunction &CGF) { in EmitOMPForOuterLoop()
970 static LValue EmitOMPHelperVar(CodeGenFunction &CGF, in EmitOMPHelperVar()
977 bool CodeGenFunction::EmitOMPWorksharingLoop(const OMPLoopDirective &S) { in EmitOMPWorksharingLoop()
1058 [&S](CodeGenFunction &CGF) { in EmitOMPWorksharingLoop()
1083 void CodeGenFunction::EmitOMPForDirective(const OMPForDirective &S) { in EmitOMPForDirective()
1086 auto &&CodeGen = [&S, &HasLastprivates](CodeGenFunction &CGF) { in EmitOMPForDirective()
1097 void CodeGenFunction::EmitOMPForSimdDirective(const OMPForSimdDirective &) { in EmitOMPForSimdDirective()
1101 static LValue createSectionLVal(CodeGenFunction &CGF, QualType Ty, in createSectionLVal()
1110 static OpenMPDirectiveKind emitSections(CodeGenFunction &CGF, in emitSections()
1115 auto &&CodeGen = [&S, CS](CodeGenFunction &CGF) { in emitSections()
1131 CodeGenFunction::OpaqueValueMapping OpaqueIV(CGF, &IVRefExpr, IV); in emitSections()
1133 CodeGenFunction::OpaqueValueMapping OpaqueUB(CGF, &UBRefExpr, UB); in emitSections()
1141 auto BodyGen = [CS, &S, &IV](CodeGenFunction &CGF) { in emitSections()
1191 auto &&CodeGen = [Stmt](CodeGenFunction &CGF) { in emitSections()
1201 void CodeGenFunction::EmitOMPSectionsDirective(const OMPSectionsDirective &S) { in EmitOMPSectionsDirective()
1210 void CodeGenFunction::EmitOMPSectionDirective(const OMPSectionDirective &S) { in EmitOMPSectionDirective()
1212 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPSectionDirective()
1219 void CodeGenFunction::EmitOMPSingleDirective(const OMPSingleDirective &S) { in EmitOMPSingleDirective()
1245 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPSingleDirective()
1258 void CodeGenFunction::EmitOMPMasterDirective(const OMPMasterDirective &S) { in EmitOMPMasterDirective()
1260 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPMasterDirective()
1267 void CodeGenFunction::EmitOMPCriticalDirective(const OMPCriticalDirective &S) { in EmitOMPCriticalDirective()
1269 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPCriticalDirective()
1277 void CodeGenFunction::EmitOMPParallelForDirective( in EmitOMPParallelForDirective()
1282 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelForDirective()
1293 void CodeGenFunction::EmitOMPParallelForSimdDirective( in EmitOMPParallelForSimdDirective()
1298 void CodeGenFunction::EmitOMPParallelSectionsDirective( in EmitOMPParallelSectionsDirective()
1303 auto &&CodeGen = [&S](CodeGenFunction &CGF) { in EmitOMPParallelSectionsDirective()
1312 void CodeGenFunction::EmitOMPTaskDirective(const OMPTaskDirective &S) { in EmitOMPTaskDirective()
1321 auto &&CodeGen = [PartId, &S](CodeGenFunction &CGF) { in EmitOMPTaskDirective()
1351 void CodeGenFunction::EmitOMPTaskyieldDirective( in EmitOMPTaskyieldDirective()
1356 void CodeGenFunction::EmitOMPBarrierDirective(const OMPBarrierDirective &S) { in EmitOMPBarrierDirective()
1360 void CodeGenFunction::EmitOMPTaskwaitDirective(const OMPTaskwaitDirective &) { in EmitOMPTaskwaitDirective()
1364 void CodeGenFunction::EmitOMPFlushDirective(const OMPFlushDirective &S) { in EmitOMPFlushDirective()
1375 void CodeGenFunction::EmitOMPOrderedDirective(const OMPOrderedDirective &) { in EmitOMPOrderedDirective()
1379 static llvm::Value *convertToScalarValue(CodeGenFunction &CGF, RValue Val, in convertToScalarValue()
1390 static CodeGenFunction::ComplexPairTy
1391 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, in convertToComplexValue()
1395 CodeGenFunction::ComplexPairTy ComplexVal; in convertToComplexValue()
1401 ComplexVal = CodeGenFunction::ComplexPairTy( in convertToComplexValue()
1415 static void EmitOMPAtomicReadExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicReadExpr()
1450 static void EmitOMPAtomicWriteExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicWriteExpr()
1472 bool emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update, in emitOMPAtomicRMW()
1559 void CodeGenFunction::EmitOMPAtomicSimpleUpdateExpr( in EmitOMPAtomicSimpleUpdateExpr()
1581 static void EmitOMPAtomicUpdateExpr(CodeGenFunction &CGF, bool IsSeqCst, in EmitOMPAtomicUpdateExpr()
1604 CodeGenFunction::OpaqueValueMapping MapExpr(CGF, ERValExpr, ExprRValue); in EmitOMPAtomicUpdateExpr()
1605 CodeGenFunction::OpaqueValueMapping MapX(CGF, XRValExpr, XRValue); in EmitOMPAtomicUpdateExpr()
1618 static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, in EmitOMPAtomicExpr()
1663 void CodeGenFunction::EmitOMPAtomicDirective(const OMPAtomicDirective &S) { in EmitOMPAtomicDirective()
1680 auto &&CodeGen = [&S, Kind, IsSeqCst](CodeGenFunction &CGF) { in EmitOMPAtomicDirective()
1687 void CodeGenFunction::EmitOMPTargetDirective(const OMPTargetDirective &) { in EmitOMPTargetDirective()
1691 void CodeGenFunction::EmitOMPTeamsDirective(const OMPTeamsDirective &) { in EmitOMPTeamsDirective()