Lines Matching defs:OMPInfoCache

927             OMPInformationCache &OMPInfoCache, Attributor &A)
929 OREGetter(OREGetter), OMPInfoCache(OMPInfoCache), A(A) {}
951 OMPInfoCache.recollectUses();
967 OMPInfoCache.recollectUses();
982 if (OMPInfoCache.OpenMPPostLink)
996 auto ICVInfo = OMPInfoCache.ICVs[ICV];
1058 OMPInfoCache.RFIs[OMPRTL___kmpc_fork_call];
1065 OMPInfoCache.RFIs[OMPRTL___kmpc_push_proc_bind],
1066 OMPInfoCache.RFIs[OMPRTL___kmpc_push_num_threads],
1168 OMPInfoCache.OMPBuilder.createMaster(Loc, BodyGenCB, FiniCB);
1170 OMPInfoCache.OMPBuilder.createBarrier(SeqAfterIP, OMPD_parallel);
1242 InsertPointTy AfterIP = OMPInfoCache.OMPBuilder.createParallel(
1248 OMPInfoCache.OMPBuilder.finalize(OriginalFn);
1257 FunctionType *FT = OMPInfoCache.OMPBuilder.ParallelTask;
1281 OMPInfoCache.OMPBuilder.createBarrier(
1415 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_fork_call);
1416 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_barrier);
1417 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_master);
1418 OMPInfoCache.recollectUsesForFunction(OMPRTL___kmpc_end_master);
1429 OMPInfoCache.RFIs[OMPRTL___kmpc_fork_call];
1497 *F, OMPInfoCache.RFIs[DeduplicableRuntimeCallID]);
1508 *F, OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num], GTIdArg);
1552 auto &RFI = OMPInfoCache.RFIs[OMPRTL___tgt_target_data_begin_mapper];
1574 if (OMPInfoCache.runtimeFnsAvailable(
1583 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared];
1721 auto &IRBuilder = OMPInfoCache.OMPBuilder;
1745 OMPInfoCache.setCallingConvention(IssueDecl, IssueCallsite);
1760 OMPInfoCache.setCallingConvention(WaitDecl, WaitCallsite);
1802 if (!OMPInfoCache.OMPBuilder.getInsertionPoint().getBlock())
1803 OMPInfoCache.OMPBuilder.updateToLocation(OpenMPIRBuilder::InsertPointTy(
1809 OMPInfoCache.OMPBuilder.getOrCreateDefaultSrcLocStr(SrcLocStrSize);
1810 Ident = OMPInfoCache.OMPBuilder.getOrCreateIdent(Loc, SrcLocStrSize);
1837 if (CB.getArgOperand(0)->getType() != OMPInfoCache.OMPBuilder.IdentPtr)
1847 OMPInfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>(F);
1874 CI->getArgOperand(0)->getType() == OMPInfoCache.OMPBuilder.IdentPtr) {
1924 *ArgOp, &OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num]))
1944 OMPInfoCache.RFIs[OMPRTL___kmpc_global_thread_num];
2038 OMPInformationCache &OMPInfoCache;
2056 OMPInfoCache.invalidateAnalyses();
2074 if (OMPInfoCache.CGSCC && !OMPInfoCache.CGSCC->empty() &&
2075 !OMPInfoCache.CGSCC->contains(&F))
2118 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51];
2146 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51];
2317 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
2320 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter];
2372 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
2373 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter];
2374 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter];
2400 OMPInfoCache)))
2563 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
2565 auto ICVInfo = OMPInfoCache.ICVs[ICV];
2566 auto &Getter = OMPInfoCache.RFIs[ICVInfo.Getter];
2935 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
2936 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_target_init];
3420 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
3421 auto &FreeRFI = OMPInfoCache.RFIs[OMPRTL___kmpc_free_shared];
3446 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
3447 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared];
3480 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
3481 auto &FreeCall = OMPInfoCache.RFIs[OMPRTL___kmpc_free_shared];
3558 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
3559 auto &RFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared];
3700 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
3705 OMPInfoCache.RFIs[OMPRTL___kmpc_target_init];
3707 OMPInfoCache.RFIs[OMPRTL___kmpc_target_deinit];
3814 if (!OMPInfoCache.RFIs[RFKind].Declaration)
3816 A.registerVirtualUseCallback(*OMPInfoCache.RFIs[RFKind].Declaration, CB);
3942 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4040 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4047 OMPInfoCache.OMPBuilder.updateToLocation(Loc);
4050 OMPInfoCache.OMPBuilder.getOrCreateSrcLocStr(Loc, SrcLocStrSize);
4052 OMPInfoCache.OMPBuilder.getOrCreateIdent(SrcLocStr, SrcLocStrSize);
4059 OMPInfoCache.OMPBuilder.updateToLocation(LocRegionCheckTid);
4061 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4064 OMPInfoCache.OMPBuilder.Builder.CreateCall(HardwareTidFn, {});
4066 OMPInfoCache.setCallingConvention(HardwareTidFn, Tid);
4067 Value *TidCheck = OMPInfoCache.OMPBuilder.Builder.CreateIsNull(Tid);
4068 OMPInfoCache.OMPBuilder.Builder
4075 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4077 OMPInfoCache.OMPBuilder.updateToLocation(InsertPointTy(
4080 OMPInfoCache.OMPBuilder.Builder.CreateCall(BarrierFn, {Ident, Tid});
4082 OMPInfoCache.setCallingConvention(BarrierFn, Barrier);
4090 OMPInfoCache.setCallingConvention(BarrierFn, Barrier);
4094 auto &AllocSharedRFI = OMPInfoCache.RFIs[OMPRTL___kmpc_alloc_shared];
4196 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4198 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4204 OMPInfoCache.setCallingConvention(ThreadIdInBlockFn, ThreadIdInBlock);
4217 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4220 if (!OMPInfoCache.runtimeFnsAvailable(
4232 if (OMPInfoCache.RTLFunctions.contains(CB->getCalledFunction()))
4309 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4310 if (!OMPInfoCache.runtimeFnsAvailable(
4465 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4468 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4472 OMPInfoCache.setCallingConvention(BlockHwSizeFn, BlockHwSize);
4476 OMPInfoCache.setCallingConvention(WarpSizeFn, WarpSize);
4496 OMPInfoCache.OMPBuilder.updateToLocation(
4506 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4510 OMPInfoCache.setCallingConvention(BarrierFn, Barrier);
4522 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4526 OMPInfoCache.setCallingConvention(KernelParallelFn, IsActiveWorker);
4610 OMPInfoCache.OMPBuilder.getOrCreateRuntimeFunction(
4614 OMPInfoCache.setCallingConvention(EndParallelFn, EndParallel);
4821 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4823 OMPInfoCache.RFIs[OMPRTL___kmpc_parallel_51];
4897 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
4898 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(Callee);
4899 if (It == OMPInfoCache.RuntimeFunctionIDMap.end()) {
5053 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
5057 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(F);
5061 if (It == OMPInfoCache.RuntimeFunctionIDMap.end()) {
5221 auto &OMPInfoCache = static_cast<OMPInformationCache &>(A.getInfoCache());
5222 const auto &It = OMPInfoCache.RuntimeFunctionIDMap.find(Callee);
5223 assert(It != OMPInfoCache.RuntimeFunctionIDMap.end() &&
5473 auto &RFI = OMPInfoCache.RFIs[RF];
5503 OMPInfoCache.RFIs[OMPRTL___kmpc_target_init];
5514 for (int Idx = 0; Idx < OMPInfoCache.ICVs.size() - 1; ++Idx) {
5515 auto ICVInfo = OMPInfoCache.ICVs[static_cast<InternalControlVar>(Idx)];
5517 auto &GetterRFI = OMPInfoCache.RFIs[ICVInfo.Getter];