Lines Matching defs:UB
2869 // UB = min(UB, GlobalUB) or
2870 // UB = min(UB, PrevUB) for combined loop sharing constructs (e.g.
2875 // IV < UB
2880 LoopArgs.LB, LoopArgs.UB, LoopArgs.ST);
2924 // while (idx <= UB) { BODY; ++idx; }
2927 // while (idx <= UB) { <CodeGen rest of pragma>; idx += ST; }
2941 // Emit "LB = LB + Stride", "UB = UB + Stride".
3007 // while(__kmpc_dispatch_next(&LB, &UB)) {
3009 // while (idx <= UB) { BODY; ++idx;
3020 // while(UB = min(UB, GlobalUB), idx = LB, idx < UB) {
3021 // while (idx <= UB) { BODY; ++idx; } // inner loop
3023 // UB = UB + ST;
3033 CGDispatchBounds(*this, S, LoopArgs.LB, LoopArgs.UB);
3042 IVSize, IVSigned, Ordered, LoopArgs.IL, LoopArgs.LB, LoopArgs.UB,
3057 OMPLoopArguments OuterLoopArgs(LoopArgs.LB, LoopArgs.UB, LoopArgs.ST,
3093 LoopArgs.UB, LoopArgs.ST, LoopArgs.Chunk);
3109 OuterLoopArgs.UB = LoopArgs.UB;
3142 LValue UB =
3167 CGF.EmitStoreOfScalar(PrevUBVal, UB);
3169 return {LB, UB};
3173 /// we need to use the LB and UB expressions generated by the worksharing
3176 /// This function is necessary due to the difference of the LB and UB
3182 Address LB, Address UB) {
3193 CGF.EmitLoadOfScalar(UB, /*Volatile=*/false, IteratorTy, S.getBeginLoc());
3206 LValue UB =
3210 CGF.Builder.CreateLoad(UB.getAddress()), CGF.SizeTy, /*isSigned=*/false);
3365 LValue UB = Bounds.second;
3453 [IVSize, IVSigned, Ordered, IL, LB, UB, ST, StaticChunkedOne, Chunk,
3463 UB.getAddress(), ST.getAddress(),
3468 // UB = min(UB, GlobalUB);
3475 // while (idx <= UB) {
3504 // Emit the outer loop, which requests its work chunk [LB..UB] from
3506 OMPLoopArguments LoopArguments(LB.getAddress(), UB.getAddress(),
3558 LValue UB =
3560 return {LB, UB};
3569 Address LB, Address UB) {
4036 LValue UB =
4047 CodeGenFunction::OpaqueValueMapping OpaqueUB(CGF, &UBRefExpr, UB);
4114 LB.getAddress(), UB.getAddress(), ST.getAddress());
4117 // UB = min(UB, GlobalUB);
4118 llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, S.getBeginLoc());
4121 CGF.EmitStoreOfScalar(MinUBGlobalUB, UB);
4124 // while (idx <= UB) { BODY; ++idx; }
5703 LValue UB = EmitOMPHelperVar(
5768 LB.getAddress(), UB.getAddress(), ST.getAddress(),
5774 // UB = min(UB, GlobalUB);
5794 // while (idx <= UB) {
5800 // while (idx <= UB) {
5801 // <CodeGen rest of pragma>(LB, UB);
5808 // <CodeGen rest of pragma>(LB, UB);
5810 // UB += ST;
5811 // UB = min(UB, GlobalUB);
5841 // Emit the outer loop, which requests its work chunk [LB..UB] from
5844 LB.getAddress(), UB.getAddress(), ST.getAddress(), IL.getAddress(),