Lines Matching defs:UB
2130 Value *UB = ConstantInt::get(I32Ty, SectionCBs.size());
2133 Loc, LoopBodyGenCB, LB, UB, ST, true, false, AllocaIP, "section_loop");
3929 // UB < LB.
3933 // Ensure that increment is positive. If not, negate and invert LB and UB.
3937 Value *UB = Builder.CreateSelect(IsNeg, Start, Stop);
3938 Span = Builder.CreateSub(UB, LB, "", false, true);
3940 InclusiveStop ? CmpInst::ICMP_SLT : CmpInst::ICMP_SLE, UB, LB);
6215 int32_t LB, UB;
6216 if (!llvm::to_integer(UBStr, UB, 10))
6218 UB = ThreadLimit ? std::min(ThreadLimit, UB) : UB;
6220 return {0, UB};
6221 return {LB, UB};
6226 int32_t UB = cast<ConstantInt>(OldVal->getValue())->getZExtValue();
6227 return {0, ThreadLimit ? std::min(ThreadLimit, UB) : UB};
6234 int32_t UB) {
6235 Kernel.addFnAttr("omp_target_thread_limit", std::to_string(UB));
6239 llvm::utostr(LB) + "," + llvm::utostr(UB));
6243 updateNVPTXMetadata(Kernel, "maxntidx", UB, true);
6253 int32_t LB, int32_t UB) {
6255 if (UB > 0)
6256 updateNVPTXMetadata(Kernel, "maxclusterrank", UB, true);