Lines Matching refs:OMPInfoCache

700             OMPInformationCache &OMPInfoCache, Attributor &A)  in OpenMPOpt()
702 OREGetter(OREGetter), OMPInfoCache(OMPInfoCache), A(A) {} in OpenMPOpt()
719 << OMPInfoCache.ModuleSlice.size() << " functions\n"); in run()
725 OMPInfoCache.recollectUses(); in run()
741 OMPInfoCache.recollectUses(); in run()
765 for (Function *F : OMPInfoCache.ModuleSlice) { in printICVs()
767 auto ICVInfo = OMPInfoCache.ICVs[ICV]; in printICVs()
784 if (!OMPInfoCache.Kernels.count(F)) in printKernels()
829 OMPInfoCache.RFIs[OMPRTL___kmpc_fork_call]; in mergeParallelRegions()
836 OMPInfoCache.RFIs[OMPRTL___kmpc_push_proc_bind], in mergeParallelRegions()
837 OMPInfoCache.RFIs[OMPRTL___kmpc_push_num_threads], in mergeParallelRegions()
940 OMPInfoCache.OMPBuilder.createMaster(Loc, BodyGenCB, FiniCB); in mergeParallelRegions()
942 OMPInfoCache.OMPBuilder.createBarrier(SeqAfterIP, OMPD_parallel); in mergeParallelRegions()
1013 InsertPointTy AfterIP = OMPInfoCache.OMPBuilder.createParallel( in mergeParallelRegions()
1019 OMPInfoCache.OMPBuilder.finalize(OriginalFn, in mergeParallelRegions()
1054 OMPInfoCache.OMPBuilder.createBarrier( in mergeParallelRegions()
1188 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_fork_call); in mergeParallelRegions()
1189 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_barrier); in mergeParallelRegions()
1190 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_master); in mergeParallelRegions()
1191 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_end_master); in mergeParallelRegions()
1202 OMPInfoCache.RFIs[OMPRTL___kmpc_fork_call]; in deleteParallelRegions()
1272 *F, OMPInfoCache.RFIs[DeduplicableRuntimeCallID]); in deduplicateRuntimeCalls()
1283 *F, OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num], GTIdArg); in deduplicateRuntimeCalls()
1296 auto &RFI = OMPInfoCache.RFIs[OMPRTL___tgt_target_data_begin_mapper]; in hideMemTransfersLatency()
1324 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared]; in analysisGlobalization()
1462 auto &IRBuilder = OMPInfoCache.OMPBuilder; in splitTargetDataBeginRTC()
1536 if (!OMPInfoCache.OMPBuilder.getInsertionPoint().getBlock()) in getCombinedIdentFromCallUsesIn()
1537 OMPInfoCache.OMPBuilder.updateToLocation(OpenMPIRBuilder::InsertPointTy( in getCombinedIdentFromCallUsesIn()
1541 Constant *Loc = OMPInfoCache.OMPBuilder.getOrCreateDefaultSrcLocStr(); in getCombinedIdentFromCallUsesIn()
1542 Ident = OMPInfoCache.OMPBuilder.getOrCreateIdent(Loc); in getCombinedIdentFromCallUsesIn()
1569 if (CB.getArgOperand(0)->getType() != OMPInfoCache.OMPBuilder.IdentPtr) in deduplicateRuntimeCalls()
1587 auto &KernelInitRFI = OMPInfoCache.RFIs[OMPRTL___kmpc_target_init]; in deduplicateRuntimeCalls()
1616 CI->getArgOperand(0)->getType() == OMPInfoCache.OMPBuilder.IdentPtr) { in deduplicateRuntimeCalls()
1667 *ArgOp, &OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num])) in collectGlobalThreadIdArguments()
1687 OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num]; in collectGlobalThreadIdArguments()
1707 bool isKernel(Function &F) { return OMPInfoCache.Kernels.count(&F); } in isKernel()
1773 ExternalizationRAII(OMPInformationCache &OMPInfoCache, in ExternalizationRAII()
1775 : Declaration(OMPInfoCache.RFIs[RFKind].Declaration) { in ExternalizationRAII()
1808 OMPInformationCache &OMPInfoCache; member
1820 ExternalizationRAII Parallel(OMPInfoCache, OMPRTL___kmpc_kernel_parallel); in runAttributor()
1821 ExternalizationRAII EndParallel(OMPInfoCache, in runAttributor()
1823 ExternalizationRAII BarrierSPMD(OMPInfoCache, in runAttributor()
1844 if (!OMPInfoCache.ModuleSlice.count(&F)) in getUniqueKernelFor()
1887 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51]; in getUniqueKernelFor()
1915 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51]; in rewriteDeviceCodeStateMachine()
2086 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in updateImpl() local
2089 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in updateImpl()
2142 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in getValueForCall() local
2143 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2144 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in getValueForCall()
2330 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in initialize() local
2332 auto ICVInfo = OMPInfoCache.ICVs[ICV]; in initialize()
2333 auto &Getter = OMPInfoCache.RFIs[ICVInfo.Getter]; in initialize()
2509 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in updateImpl() local
2510 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_target_init]; in updateImpl()
2619 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in findPotentialRemovedFreeCalls() local
2620 auto &FreeRFI = OMPInfoCache.RFIs[OMPRTL___kmpc_free_shared]; in findPotentialRemovedFreeCalls()
2640 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in initialize() local
2641 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared]; in initialize()
2662 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in manifest() local
2663 auto &FreeCall = OMPInfoCache.RFIs[OMPRTL___kmpc_free_shared]; in manifest()
2727 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in updateImpl() local
2728 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared]; in updateImpl()
2806 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in initialize() local
2809 if (!OMPInfoCache.Kernels.count(Fn)) in initialize()
2817 OMPInfoCache.RFIs[OMPRTL___kmpc_target_init]; in initialize()
2819 OMPInfoCache.RFIs[OMPRTL___kmpc_target_deinit]; in initialize()
2966 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in changeToSPMDMode() local
2975 if (OMPInfoCache.RTLFunctions.contains(CB->getCalledFunction())) in changeToSPMDMode()
3197 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in buildCustomStateMachine() local
3198 OMPInfoCache.OMPBuilder.updateToLocation( in buildCustomStateMachine()
3208 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction( in buildCustomStateMachine()
3225 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction( in buildCustomStateMachine()
3308 CallInst::Create(OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction( in buildCustomStateMachine()
3416 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in updateParallelLevels() local
3418 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51]; in updateParallelLevels()
3493 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in initialize() local
3494 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(Callee); in initialize()
3495 if (It == OMPInfoCache.RuntimeFunctionIDMap.end()) { in initialize()
3600 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in updateImpl() local
3601 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(F); in updateImpl()
3604 if (It == OMPInfoCache.RuntimeFunctionIDMap.end()) { in updateImpl()
3705 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache()); in initialize() local
3706 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(Callee); in initialize()
3707 assert(It != OMPInfoCache.RuntimeFunctionIDMap.end() && in initialize()
3969 auto &RFI = OMPInfoCache.RFIs[RF]; in registerFoldRuntimeCall()
3991 for (Function *Kernel : OMPInfoCache.Kernels) in registerAAs()
4006 for (int Idx = 0; Idx < OMPInfoCache.ICVs.size() - 1; ++Idx) { in registerAAs()
4007 auto ICVInfo = OMPInfoCache.ICVs[static_cast<InternalControlVar>(Idx)]; in registerAAs()
4009 auto &GetterRFI = OMPInfoCache.RFIs[ICVInfo.Getter]; in registerAAs()
4025 auto &GlobalizationRFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared]; in registerAAs()