Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:UB

2608     // UB = min(UB, GlobalUB) or
2609 // UB = min(UB, PrevUB) for combined loop sharing constructs (e.g.
2614 // IV < UB
2619 LoopArgs.LB, LoopArgs.UB, LoopArgs.ST);
2663 // while (idx <= UB) { BODY; ++idx; }
2666 // while (idx <= UB) { <CodeGen rest of pragma>; idx += ST; }
2680 // Emit "LB = LB + Stride", "UB = UB + Stride".
2747 // while(__kmpc_dispatch_next(&LB, &UB)) {
2749 // while (idx <= UB) { BODY; ++idx;
2759 // while(UB = min(UB, GlobalUB), idx = LB, idx < UB) {
2760 // while (idx <= UB) { BODY; ++idx; } // inner loop
2762 // UB = UB + ST;
2772 CGDispatchBounds(*this, S, LoopArgs.LB, LoopArgs.UB);
2781 IVSize, IVSigned, Ordered, LoopArgs.IL, LoopArgs.LB, LoopArgs.UB,
2796 OMPLoopArguments OuterLoopArgs(LoopArgs.LB, LoopArgs.UB, LoopArgs.ST,
2828 LoopArgs.UB, LoopArgs.ST, LoopArgs.Chunk);
2844 OuterLoopArgs.UB = LoopArgs.UB;
2876 LValue UB =
2901 CGF.EmitStoreOfScalar(PrevUBVal, UB);
2903 return {LB, UB};
2907 /// we need to use the LB and UB expressions generated by the worksharing
2910 /// This function is necessary due to the difference of the LB and UB
2916 Address LB, Address UB) {
2927 CGF.EmitLoadOfScalar(UB, /*Volatile=*/false, IteratorTy, S.getBeginLoc());
2941 LValue UB =
2945 CGF.Builder.CreateIntCast(CGF.Builder.CreateLoad(UB.getAddress(CGF)),
3101 LValue UB = Bounds.second;
3188 [IVSize, IVSigned, Ordered, IL, LB, UB, ST, StaticChunkedOne, Chunk,
3198 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF),
3203 // UB = min(UB, GlobalUB);
3210 // while (idx <= UB) {
3239 // Emit the outer loop, which requests its work chunk [LB..UB] from
3242 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),
3291 LValue UB =
3293 return {LB, UB};
3302 Address LB, Address UB) {
3664 LValue UB =
3665 createSectionLVal(CGF, KmpInt32Ty, ".omp.sections.ub.", GlobalUBVal);
3675 CodeGenFunction::OpaqueValueMapping OpaqueUB(CGF, &UBRefExpr, UB);
3742 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF));
3745 // UB = min(UB, GlobalUB);
3746 llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, S.getBeginLoc());
3749 CGF.EmitStoreOfScalar(MinUBGlobalUB, UB);
3752 // while (idx <= UB) { BODY; ++idx; }
5088 LValue UB = EmitOMPHelperVar(
5153 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),
5159 // UB = min(UB, GlobalUB);
5179 // while (idx <= UB) {
5185 // while (idx <= UB) {
5186 // <CodeGen rest of pragma>(LB, UB);
5193 // <CodeGen rest of pragma>(LB, UB);
5195 // UB += ST;
5196 // UB = min(UB, GlobalUB);
5226 // Emit the outer loop, which requests its work chunk [LB..UB] from
5229 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this),