Home
last modified time | relevance | path

Searched refs:ThreadLimitVal (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6454 llvm::Value *ThreadLimitVal = nullptr; in emitNumThreadsForTargetDirective() local
6464 ThreadLimitVal = in emitNumThreadsForTargetDirective()
6466 ThreadLimitVal = CGF.Builder.CreateIntCast(ThreadLimitVal, CGF.Int32Ty, in emitNumThreadsForTargetDirective()
6477 } else if (ThreadLimitVal) { in emitNumThreadsForTargetDirective()
6480 NumThreadsVal = ThreadLimitVal; in emitNumThreadsForTargetDirective()
6481 ThreadLimitVal = nullptr; in emitNumThreadsForTargetDirective()
6484 assert(!ThreadLimitVal && "Default not applicable with thread limit value"); in emitNumThreadsForTargetDirective()
6498 if (ThreadLimitVal) { in emitNumThreadsForTargetDirective()
6500 CGF.Builder.CreateICmpULT(ThreadLimitVal, NumThreadsVal), in emitNumThreadsForTargetDirective()
6501 ThreadLimitVal, NumThreadsVal); in emitNumThreadsForTargetDirective()
[all …]