Lines Matching refs:omp

62 using namespace omp;
148 static const omp::GV &getGridValue(const Triple &T, Function *Kernel) { in getGridValue()
153 return omp::getAMDGPUGridValues<64>(); in getGridValue()
154 return omp::getAMDGPUGridValues<32>(); in getGridValue()
157 return omp::NVPTXGridValues; in getGridValue()
164 getOpenMPBaseScheduleType(llvm::omp::ScheduleKind ClauseKind, bool HasChunks, in getOpenMPBaseScheduleType()
178 return llvm::omp::OMPScheduleType::BaseAuto; in getOpenMPBaseScheduleType()
520 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes()
932 omp::Directive CanceledDirective) { in createCancel()
966 omp::Directive::OMPD_unknown, /* ForceSimpleCall */ false, in createCancel()
1073 omp::Directive CanceledDirective, in emitCancelationCheckImpl()
1291 omp::ProcBindKind ProcBind, bool IsCancellable) { in createParallel()
2440 M, omp::RuntimeFunction::OMPRTL___kmpc_for_static_init_4u); in getKmpcForStaticInitForType()
2443 M, omp::RuntimeFunction::OMPRTL___kmpc_for_static_init_8u); in getKmpcForStaticInitForType()
2468 getOrCreateRuntimeFunction(M, omp::OMPRTL___kmpc_for_static_fini); in applyStaticWorkshareLoop()
2525 omp::Directive::OMPD_for, /* ForceSimpleCall */ false, in applyStaticWorkshareLoop()
2556 getOrCreateRuntimeFunction(M, omp::OMPRTL___kmpc_for_static_fini); in applyStaticChunkedWorkshareLoop()
2689 M, omp::RuntimeFunction::OMPRTL___kmpc_for_static_loop_4u); in getKmpcForStaticLoopForType()
2692 M, omp::RuntimeFunction::OMPRTL___kmpc_for_static_loop_8u); in getKmpcForStaticLoopForType()
2697 M, omp::RuntimeFunction::OMPRTL___kmpc_distribute_static_loop_4u); in getKmpcForStaticLoopForType()
2700 M, omp::RuntimeFunction::OMPRTL___kmpc_distribute_static_loop_8u); in getKmpcForStaticLoopForType()
2705 M, omp::RuntimeFunction::OMPRTL___kmpc_distribute_for_static_loop_4u); in getKmpcForStaticLoopForType()
2708 M, omp::RuntimeFunction::OMPRTL___kmpc_distribute_for_static_loop_8u); in getKmpcForStaticLoopForType()
2739 M, omp::RuntimeFunction::OMPRTL_omp_get_num_threads); in createTargetLoopWorkshareCall()
2908 bool NeedsBarrier, omp::ScheduleKind SchedKind, Value *ChunkSize, in applyWorkshareLoop()
2969 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_init_4u); in getKmpcForDynamicInitForType()
2972 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_init_8u); in getKmpcForDynamicInitForType()
2985 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_next_4u); in getKmpcForDynamicNextForType()
2988 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_next_8u); in getKmpcForDynamicNextForType()
3000 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_fini_4u); in getKmpcForDynamicFiniForType()
3003 M, omp::RuntimeFunction::OMPRTL___kmpc_dispatch_fini_8u); in getKmpcForDynamicFiniForType()
3126 omp::Directive::OMPD_for, /* ForceSimpleCall */ false, in applyDynamicWorkshareLoop()
4031 omp::Directive::OMPD_unknown, /* ForceSimpleCall */ false, in createSingle()
4226 omp::Directive OMPD, InsertPointTy FinIP, Instruction *ExitCall, in emitCommonDirectiveExit()
4343 omp::OMPInteropType InteropType, Value *Device, Value *NumDependences, in createOMPInteropInit()
4490 omp::RuntimeFunction::OMPRTL___kmpc_target_init); in createTargetInit()
4582 omp::RuntimeFunction::OMPRTL___kmpc_target_deinit); in createTargetDeinit()
4786 omp::RuntimeFunction *MapperFunc, in createTargetData()
4836 omp::OMPRTL___tgt_target_data_begin_mapper); in createTargetData()
4884 getOrCreateRuntimeFunctionPtr(omp::OMPRTL___tgt_target_data_end_mapper); in createTargetData()
4928 ? (IVSigned ? omp::OMPRTL___kmpc_distribute_static_init_4 in createForStaticInitFunction()
4929 : omp::OMPRTL___kmpc_distribute_static_init_4u) in createForStaticInitFunction()
4930 : (IVSigned ? omp::OMPRTL___kmpc_distribute_static_init_8 in createForStaticInitFunction()
4931 : omp::OMPRTL___kmpc_distribute_static_init_8u); in createForStaticInitFunction()
4933 Name = IVSize == 32 ? (IVSigned ? omp::OMPRTL___kmpc_for_static_init_4 in createForStaticInitFunction()
4934 : omp::OMPRTL___kmpc_for_static_init_4u) in createForStaticInitFunction()
4935 : (IVSigned ? omp::OMPRTL___kmpc_for_static_init_8 in createForStaticInitFunction()
4936 : omp::OMPRTL___kmpc_for_static_init_8u); in createForStaticInitFunction()
4946 ? (IVSigned ? omp::OMPRTL___kmpc_dispatch_init_4 in createDispatchInitFunction()
4947 : omp::OMPRTL___kmpc_dispatch_init_4u) in createDispatchInitFunction()
4948 : (IVSigned ? omp::OMPRTL___kmpc_dispatch_init_8 in createDispatchInitFunction()
4949 : omp::OMPRTL___kmpc_dispatch_init_8u); in createDispatchInitFunction()
4959 ? (IVSigned ? omp::OMPRTL___kmpc_dispatch_next_4 in createDispatchNextFunction()
4960 : omp::OMPRTL___kmpc_dispatch_next_4u) in createDispatchNextFunction()
4961 : (IVSigned ? omp::OMPRTL___kmpc_dispatch_next_8 in createDispatchNextFunction()
4962 : omp::OMPRTL___kmpc_dispatch_next_8u); in createDispatchNextFunction()
4972 ? (IVSigned ? omp::OMPRTL___kmpc_dispatch_fini_4 in createDispatchFiniFunction()
4973 : omp::OMPRTL___kmpc_dispatch_fini_4u) in createDispatchFiniFunction()
4974 : (IVSigned ? omp::OMPRTL___kmpc_dispatch_fini_8 in createDispatchFiniFunction()
4975 : omp::OMPRTL___kmpc_dispatch_fini_8u); in createDispatchFiniFunction()
5146 llvm::omp::IdentFlag(0), 0); in emitTargetCall()
6027 omp::OMPAtomicCompareOp Op, bool IsXBinopExpr, bool IsPostfixUpdate, in createAtomicCompare()
6038 omp::OMPAtomicCompareOp Op, bool IsXBinopExpr, bool IsPostfixUpdate, in createAtomicCompare()
6336 omp::RuntimeFunction::OMPRTL___kmpc_fork_teams), in createTeams()
6629 static_cast<std::underlying_type_t<omp::OpenMPOffloadMappingFlags>>( in getFlagMemberOffset()
6630 omp::OpenMPOffloadMappingFlags::OMP_MAP_MEMBER_OF); in getFlagMemberOffset()
6636 omp::OpenMPOffloadMappingFlags
6639 return static_cast<omp::OpenMPOffloadMappingFlags>(((uint64_t)Position + 1) in getMemberOfFlag()
6644 omp::OpenMPOffloadMappingFlags &Flags, in setCorrectMemberOfFlag()
6645 omp::OpenMPOffloadMappingFlags MemberOfFlag) { in setCorrectMemberOfFlag()
6649 if (static_cast<std::underlying_type_t<omp::OpenMPOffloadMappingFlags>>( in setCorrectMemberOfFlag()
6650 Flags & omp::OpenMPOffloadMappingFlags::OMP_MAP_PTR_AND_OBJ) && in setCorrectMemberOfFlag()
6651 static_cast<std::underlying_type_t<omp::OpenMPOffloadMappingFlags>>( in setCorrectMemberOfFlag()
6652 (Flags & omp::OpenMPOffloadMappingFlags::OMP_MAP_MEMBER_OF) != in setCorrectMemberOfFlag()
6653 omp::OpenMPOffloadMappingFlags::OMP_MAP_MEMBER_OF)) in setCorrectMemberOfFlag()
6658 Flags &= ~omp::OpenMPOffloadMappingFlags::OMP_MAP_MEMBER_OF; in setCorrectMemberOfFlag()
6889 omp::RuntimeFunction::OMPRTL___tgt_register_requires); in createRegisterRequires()