• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching defs:CGOpenMPRuntime

1 //===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===//
13 #include "CGOpenMPRuntime.h"
1243 CGOpenMPRuntime::CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
1269 bool CGOpenMPRuntime::tryEmitDeclareVariant(const GlobalDecl &NewGD,
1315 void CGOpenMPRuntime::clear() {
1338 std::string CGOpenMPRuntime::getName(ArrayRef<StringRef> Parts) const {
1406 void CGOpenMPRuntime::emitUserDefinedReduction(
1433 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) {
1522 llvm::Function *CGOpenMPRuntime::emitParallelOutlinedFunction(
1530 llvm::Function *CGOpenMPRuntime::emitTeamsOutlinedFunction(
1538 llvm::Function *CGOpenMPRuntime::emitTaskOutlinedFunction(
1620 Address CGOpenMPRuntime::getOrCreateDefaultLocation(unsigned Flags) {
1653 void CGOpenMPRuntime::setLocThreadIdInsertPt(CodeGenFunction &CGF,
1669 void CGOpenMPRuntime::clearLocThreadIdInsertPt(CodeGenFunction &CGF) {
1678 llvm::Value *CGOpenMPRuntime::emitUpdateLocation(CodeGenFunction &CGF,
1739 llvm::Value *CGOpenMPRuntime::getThreadID(CodeGenFunction &CGF,
1796 void CGOpenMPRuntime::functionFinished(CodeGenFunction &CGF) {
1815 llvm::Type *CGOpenMPRuntime::getIdentTyPointerTy() {
1819 llvm::Type *CGOpenMPRuntime::getKmpc_MicroPointerTy() {
1829 llvm::FunctionCallee CGOpenMPRuntime::createRuntimeFunction(unsigned Function) {
2590 CGOpenMPRuntime::createForStaticInitFunction(unsigned IVSize, bool IVSigned) {
2616 CGOpenMPRuntime::createDispatchInitFunction(unsigned IVSize, bool IVSigned) {
2638 CGOpenMPRuntime::createDispatchFiniFunction(unsigned IVSize, bool IVSigned) {
2655 CGOpenMPRuntime::createDispatchNextFunction(unsigned IVSize, bool IVSigned) {
2703 Address CGOpenMPRuntime::getAddrOfDeclareTargetVar(const VarDecl *VD) {
2743 CGOpenMPRuntime::getOrCreateThreadPrivateCache(const VarDecl *VD) {
2752 Address CGOpenMPRuntime::getAddrOfThreadPrivate(CodeGenFunction &CGF,
2771 void CGOpenMPRuntime::emitThreadPrivateVarInit(
2788 llvm::Function *CGOpenMPRuntime::emitThreadPrivateVarDefinition(
2908 bool CGOpenMPRuntime::emitDeclareTargetVarDefinition(const VarDecl *VD,
3021 Address CGOpenMPRuntime::getAddrOfArtificialThreadPrivate(CodeGenFunction &CGF,
3050 void CGOpenMPRuntime::emitIfClause(CodeGenFunction &CGF, const Expr *Cond,
3089 void CGOpenMPRuntime::emitParallelCall(CodeGenFunction &CGF, SourceLocation Loc,
3099 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
3114 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
3155 Address CGOpenMPRuntime::emitThreadIDAddress(CodeGenFunction &CGF,
3172 llvm::Constant *CGOpenMPRuntime::getOrCreateInternalVariable(
3192 llvm::Value *CGOpenMPRuntime::getCriticalRegionLock(StringRef CriticalName) {
3237 void CGOpenMPRuntime::emitCriticalRegion(CodeGenFunction &CGF,
3263 void CGOpenMPRuntime::emitMasterRegion(CodeGenFunction &CGF,
3282 void CGOpenMPRuntime::emitTaskyieldCall(CodeGenFunction &CGF,
3295 void CGOpenMPRuntime::emitTaskgroupRegion(CodeGenFunction &CGF,
3380 void CGOpenMPRuntime::emitSingleRegion(CodeGenFunction &CGF,
3462 void CGOpenMPRuntime::emitOrderedRegion(CodeGenFunction &CGF,
3483 unsigned CGOpenMPRuntime::getDefaultFlagsForBarriers(OpenMPDirectiveKind Kind) {
3498 void CGOpenMPRuntime::getDefaultScheduleAndChunk(
3516 void CGOpenMPRuntime::emitBarrierCall(CodeGenFunction &CGF, SourceLocation Loc,
3592 bool CGOpenMPRuntime::isStaticNonchunked(OpenMPScheduleClauseKind ScheduleKind,
3599 bool CGOpenMPRuntime::isStaticNonchunked(
3605 bool CGOpenMPRuntime::isStaticChunked(OpenMPScheduleClauseKind ScheduleKind,
3612 bool CGOpenMPRuntime::isStaticChunked(
3618 bool CGOpenMPRuntime::isDynamic(OpenMPScheduleClauseKind ScheduleKind) const {
3676 void CGOpenMPRuntime::emitForDispatchInit(
3713 const CGOpenMPRuntime::StaticRTInput &Values) {
3758 void CGOpenMPRuntime::emitForStaticInit(CodeGenFunction &CGF,
3778 void CGOpenMPRuntime::emitDistributeStaticInit(
3781 const CGOpenMPRuntime::StaticRTInput &Values) {
3794 void CGOpenMPRuntime::emitForStaticFinish(CodeGenFunction &CGF,
3812 void CGOpenMPRuntime::emitForOrderedIterationEnd(CodeGenFunction &CGF,
3823 llvm::Value *CGOpenMPRuntime::emitForNext(CodeGenFunction &CGF,
3847 void CGOpenMPRuntime::emitNumThreadsClause(CodeGenFunction &CGF,
3860 void CGOpenMPRuntime::emitProcBindClause(CodeGenFunction &CGF,
3873 void CGOpenMPRuntime::emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *>,
3908 bool CGOpenMPRuntime::OffloadEntriesInfoManagerTy::empty() const {
3914 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::
3927 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::
3955 bool CGOpenMPRuntime::OffloadEntriesInfoManagerTy::hasTargetRegionEntryInfo(
3976 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo(
3986 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::
3997 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::
4037 void CGOpenMPRuntime::OffloadEntriesInfoManagerTy::
4045 void CGOpenMPRuntime::createOffloadEntry(
4075 void CGOpenMPRuntime::createOffloadEntriesAndInfoMetadata() {
4251 void CGOpenMPRuntime::loadOffloadInfoMetadata() {
4318 void CGOpenMPRuntime::emitKmpRoutineEntryT(QualType KmpInt32Ty) {
4330 QualType CGOpenMPRuntime::getTgtOffloadEntryQTy() {
4941 CGOpenMPRuntime::TaskResultTy
4942 CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
5161 void CGOpenMPRuntime::emitTaskCall(CodeGenFunction &CGF, SourceLocation Loc,
5318 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
5356 void CGOpenMPRuntime::emitTaskLoopCall(CodeGenFunction &CGF, SourceLocation Loc,
5541 llvm::Function *CGOpenMPRuntime::emitReductionFunction(
5633 void CGOpenMPRuntime::emitSingleReductionCombiner(CodeGenFunction &CGF,
5653 void CGOpenMPRuntime::emitReduction(CodeGenFunction &CGF, SourceLocation Loc,
5806 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
5910 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
6169 llvm::Value *CGOpenMPRuntime::emitTaskReductionInit(
6275 void CGOpenMPRuntime::emitTaskReductionFixups(CodeGenFunction &CGF,
6302 Address CGOpenMPRuntime::getTaskReductionItem(CodeGenFunction &CGF,
6320 void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF,
6333 void CGOpenMPRuntime::emitInlinedDirective(CodeGenFunction &CGF,
6368 void CGOpenMPRuntime::emitCancellationPointCall(
6403 void CGOpenMPRuntime::emitCancelCall(CodeGenFunction &CGF, SourceLocation Loc,
6414 CGOpenMPRuntime &RT = CGF.CGM.getOpenMPRuntime();
6445 void CGOpenMPRuntime::emitTargetOutlinedFunction(
6455 void CGOpenMPRuntime::emitTargetOutlinedFunctionHelper(
6532 const Stmt *CGOpenMPRuntime::getSingleCompoundChild(ASTContext &Ctx,
6601 CGOpenMPRuntime::getSingleCompoundChild(CGF.getContext(), Body);
6706 const Stmt *Child = CGOpenMPRuntime::getSingleCompoundChild(
6821 const Stmt *Child = CGOpenMPRuntime::getSingleCompoundChild(
6851 const Stmt *Child = CGOpenMPRuntime::getSingleCompoundChild(
6878 const Stmt *Child = CGOpenMPRuntime::getSingleCompoundChild(
8550 CGOpenMPRuntime::TargetDataInfo &Info) {
8665 llvm::Value *&MapTypesArrayArg, CGOpenMPRuntime::TargetDataInfo &Info) {
8824 void CGOpenMPRuntime::emitUserDefinedMapper(const OMPDeclareMapperDecl *D,
9080 void CGOpenMPRuntime::emitUDMapperArrayInitOrDel(
9127 void CGOpenMPRuntime::emitTargetNumIterationsCall(
9152 void CGOpenMPRuntime::emitTargetCall(
9430 void CGOpenMPRuntime::scanForTargetRegionsFunctions(const Stmt *S,
9574 bool CGOpenMPRuntime::emitTargetFunctions(GlobalDecl GD) {
9605 bool CGOpenMPRuntime::emitTargetGlobalVariable(GlobalDecl GD) {
9640 CGOpenMPRuntime::registerTargetFirstprivateCopy(CodeGenFunction &CGF,
9673 void CGOpenMPRuntime::registerTargetGlobalVariable(const VarDecl *VD,
9744 bool CGOpenMPRuntime::emitTargetGlobal(GlobalDecl GD) {
9752 void CGOpenMPRuntime::emitDeferredTargetDecls() const {
9771 void CGOpenMPRuntime::adjustTargetSpecificDataForLambdas(
9777 void CGOpenMPRuntime::checkArchForUnifiedAddressing(
9787 bool CGOpenMPRuntime::hasAllocateAttributeForGlobalVar(const VarDecl *VD,
9811 bool CGOpenMPRuntime::hasRequiresUnifiedSharedMemory() const {
9815 CGOpenMPRuntime::DisableAutoDeclareTargetRAII::DisableAutoDeclareTargetRAII(
9824 CGOpenMPRuntime::DisableAutoDeclareTargetRAII::~DisableAutoDeclareTargetRAII() {
9829 bool CGOpenMPRuntime::markAsGlobalTarget(GlobalDecl GD) {
9849 llvm::Function *CGOpenMPRuntime::emitRequiresDirectiveRegFun() {
9890 void CGOpenMPRuntime::emitTeamsCall(CodeGenFunction &CGF,
9914 void CGOpenMPRuntime::emitNumTeamsClause(CodeGenFunction &CGF,
9942 void CGOpenMPRuntime::emitTargetDataCalls(
10069 void CGOpenMPRuntime::emitTargetDataStandAloneCall(
10666 void CGOpenMPRuntime::emitDeclareSimdFunction(const FunctionDecl *FD,
10801 void CGOpenMPRuntime::emitDoacrossInit(CodeGenFunction &CGF,
10873 void CGOpenMPRuntime::emitDoacrossOrdered(CodeGenFunction &CGF,
10904 void CGOpenMPRuntime::emitCall(CodeGenFunction &CGF, SourceLocation Loc,
10919 void CGOpenMPRuntime::emitOutlinedFunctionCall(
10925 void CGOpenMPRuntime::emitFunctionProlog(CodeGenFunction &CGF, const Decl *D) {
10931 Address CGOpenMPRuntime::getParameterAddress(CodeGenFunction &CGF,
10963 Address CGOpenMPRuntime::getAddressOfLocalVariable(CodeGenFunction &CGF,
11271 bool CGOpenMPRuntime::emitDeclareVariant(GlobalDecl GD, bool IsForDefinition) {
11292 CGOpenMPRuntime::NontemporalDeclsRAII::NontemporalDeclsRAII(
11318 CGOpenMPRuntime::NontemporalDeclsRAII::~NontemporalDeclsRAII() {
11324 bool CGOpenMPRuntime::isNontemporalDecl(const ValueDecl *VD) const {
11332 CGOpenMPRuntime::LastprivateConditionalRAII::LastprivateConditionalRAII(
11379 CGOpenMPRuntime::LastprivateConditionalRAII::~LastprivateConditionalRAII() {
11385 void CGOpenMPRuntime::initLastprivateConditionalCounter(
11393 const CGOpenMPRuntime::LastprivateConditionalData &Data =
11411 ArrayRef<CGOpenMPRuntime::LastprivateConditionalData> LPM;
11422 for (const CGOpenMPRuntime::LastprivateConditionalData &D :
11440 for (const CGOpenMPRuntime::LastprivateConditionalData &D :
11469 ArrayRef<CGOpenMPRuntime::LastprivateConditionalData> LPM)
11479 void CGOpenMPRuntime::checkAndEmitLastprivateConditional(CodeGenFunction &CGF,
11587 void CGOpenMPRuntime::emitLastprivateConditionalFinalUpdate(
11778 CGOpenMPRuntime::emitReduction(CGF, Loc, Privates, LHSExprs, RHSExprs,