Lines Matching refs:NumThreads

2902                                            llvm::Value *NumThreads,  in emitNumThreadsClause()  argument
2909 CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned*/ true)}; in emitNumThreadsClause()
6730 llvm::Value *NumThreads = nullptr; in getNumThreads() local
6790 NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads()); in getNumThreads()
6791 NumThreads = CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, in getNumThreads()
6794 NumThreads = CGF.Builder.CreateSelect( in getNumThreads()
6795 CGF.Builder.CreateICmpULT(DefaultThreadLimitVal, NumThreads), in getNumThreads()
6796 DefaultThreadLimitVal, NumThreads); in getNumThreads()
6798 NumThreads = DefaultThreadLimitVal ? DefaultThreadLimitVal in getNumThreads()
6803 NumThreads = CGF.Builder.CreateSelect(CondVal, NumThreads, in getNumThreads()
6806 return NumThreads; in getNumThreads()
6839 if (llvm::Value *NumThreads = getNumThreads(CGF, CS, ThreadLimitVal)) in emitNumThreadsForTargetDirective() local
6840 return NumThreads; in emitNumThreadsForTargetDirective()
6878 if (llvm::Value *NumThreads = getNumThreads(CGF, CS, ThreadLimitVal)) in emitNumThreadsForTargetDirective() local
6879 return NumThreads; in emitNumThreadsForTargetDirective()
6896 if (llvm::Value *NumThreads = getNumThreads(CGF, CS, ThreadLimitVal)) in emitNumThreadsForTargetDirective() local
6897 return NumThreads; in emitNumThreadsForTargetDirective()
6903 if (llvm::Value *NumThreads = getNumThreads(CGF, CS, ThreadLimitVal)) in emitNumThreadsForTargetDirective() local
6904 return NumThreads; in emitNumThreadsForTargetDirective()
6959 llvm::Value *NumThreads = CGF.EmitScalarExpr( in emitNumThreadsForTargetDirective() local
6962 Bld.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned=*/false); in emitNumThreadsForTargetDirective()
10108 llvm::Value *NumThreads = emitNumThreadsForTargetDirective(CGF, D); in emitTargetCall() local
10150 assert(NumThreads && "Thread limit expression should be available along " in emitTargetCall()
10163 NumThreads}; in emitTargetCall()
12712 llvm::Value *NumThreads, in emitNumThreadsClause() argument