• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching defs:UB

2422     // UB = min(UB, GlobalUB) or
2423 // UB = min(UB, PrevUB) for combined loop sharing constructs (e.g.
2428 // IV < UB
2433 LoopArgs.LB, LoopArgs.UB, LoopArgs.ST);
2477 // while (idx <= UB) { BODY; ++idx; }
2480 // while (idx <= UB) { <CodeGen rest of pragma>; idx += ST; }
2494 // Emit "LB = LB + Stride", "UB = UB + Stride".
2560 // while(__kmpc_dispatch_next(&LB, &UB)) {
2562 // while (idx <= UB) { BODY; ++idx;
2572 // while(UB = min(UB, GlobalUB), idx = LB, idx < UB) {
2573 // while (idx <= UB) { BODY; ++idx; } // inner loop
2575 // UB = UB + ST;
2585 CGDispatchBounds(*this, S, LoopArgs.LB, LoopArgs.UB);
2594 IVSize, IVSigned, Ordered, LoopArgs.IL, LoopArgs.LB, LoopArgs.UB,
2609 OMPLoopArguments OuterLoopArgs(LoopArgs.LB, LoopArgs.UB, LoopArgs.ST,
2641 LoopArgs.UB, LoopArgs.ST, LoopArgs.Chunk);
2657 OuterLoopArgs.UB = LoopArgs.UB;
2689 LValue UB =
2714 CGF.EmitStoreOfScalar(PrevUBVal, UB);
2716 return {LB, UB};
2720 /// we need to use the LB and UB expressions generated by the worksharing
2723 /// This function is necessary due to the difference of the LB and UB
2729 Address LB, Address UB) {
2740 CGF.EmitLoadOfScalar(UB, /*Volatile=*/false, IteratorTy, S.getBeginLoc());
2754 LValue UB =
2758 CGF.Builder.CreateIntCast(CGF.Builder.CreateLoad(UB.getAddress(CGF)),
2914 LValue UB = Bounds.second;
3001 [IVSize, IVSigned, Ordered, IL, LB, UB, ST, StaticChunkedOne, Chunk,
3011 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF),
3016 // UB = min(UB, GlobalUB);
3023 // while (idx <= UB) {
3052 // Emit the outer loop, which requests its work chunk [LB..UB] from
3055 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),
3104 LValue UB =
3106 return {LB, UB};
3115 Address LB, Address UB) {
3407 LValue UB =
3418 CodeGenFunction::OpaqueValueMapping OpaqueUB(CGF, &UBRefExpr, UB);
3485 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF));
3488 // UB = min(UB, GlobalUB);
3489 llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, S.getBeginLoc());
3492 CGF.EmitStoreOfScalar(MinUBGlobalUB, UB);
3495 // while (idx <= UB) { BODY; ++idx; }
4571 LValue UB = EmitOMPHelperVar(
4636 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),
4642 // UB = min(UB, GlobalUB);
4662 // while (idx <= UB) {
4668 // while (idx <= UB) {
4669 // <CodeGen rest of pragma>(LB, UB);
4676 // <CodeGen rest of pragma>(LB, UB);
4678 // UB += ST;
4679 // UB = min(UB, GlobalUB);
4709 // Emit the outer loop, which requests its work chunk [LB..UB] from
4712 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),