[llvm-branch-commits] [clang] [CIR] Upstream ComplexImagPtrOp for ComplexType (PR #144236)

2025-07-11 Thread Henrich Lauko via llvm-branch-commits
@@ -1775,6 +1775,44 @@ OpFoldResult cir::ComplexCreateOp::fold(FoldAdaptor adaptor) { return cir::ConstComplexAttr::get(realAttr, imagAttr); } +//===--===// xlauko wrote: These are copy/pa

[llvm-branch-commits] [clang] [CIR] Upstream ComplexImagPtrOp for ComplexType (PR #144236)

2025-07-11 Thread Henrich Lauko via llvm-branch-commits
@@ -2385,4 +2385,62 @@ def ComplexCreateOp : CIR_Op<"complex.create", [Pure, SameTypeOperands]> { let hasFolder = 1; } +//===--===// +// ComplexRealPtrOp +//===--

[llvm-branch-commits] [clang] [CIR] Upstream ComplexImagPtrOp for ComplexType (PR #144236)

2025-07-11 Thread Henrich Lauko via llvm-branch-commits
@@ -1775,6 +1775,44 @@ OpFoldResult cir::ComplexCreateOp::fold(FoldAdaptor adaptor) { return cir::ConstComplexAttr::get(realAttr, imagAttr); } +//===--===// +// ComplexRealPtrOp +//===--

[llvm-branch-commits] [clang] [CIR] Upstream ComplexImagPtrOp for ComplexType (PR #144236)

2025-07-11 Thread Henrich Lauko via llvm-branch-commits
@@ -1775,6 +1775,44 @@ OpFoldResult cir::ComplexCreateOp::fold(FoldAdaptor adaptor) { return cir::ConstComplexAttr::get(realAttr, imagAttr); } +//===--===// +// ComplexRealPtrOp +//===--

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146662). https://github.com/llvm/llvm-project/pull/146662 __

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146661). https://github.com/llvm/llvm-project/pull/146661 __

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146663). https://github.com/llvm/llvm-project/pull/146663 __

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146662 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146663?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146663 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146661 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146663 This will allow to use Attributes and Types together in tablegen without inducing cyclic dependency. This mirrors incubator changes from https://github.com/llvm/clangir/pull/1727 >From 43374714e80db860b2e51cbb4

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146661?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146661 - Add common CIR_ prefix - Simplify printing/parsing - Make it use IntTypeInterface This mirrors incubator changes from https://github.com/llvm/clangir/pull/1725 >From 7e092b87f30c9081551158186c0afae3b337b66f Mo

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146662?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146662 - Adds CIR_ prefix to the definition - Removes redundant builder and cleans up attribute creations This mirrors incubator changes from https://github.com/llvm/clangir/pull/1726 >From 99f74b960a9416c267e4406de1fa

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-07-01 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 1, 10:27 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146243). https://github.com/llvm/llvm-project/pull/146243 _

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-07-01 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/146243 >From e0c10a284a049a08f624178ec6dc70a36043eb65 Mon Sep 17 00:00:00 2001 From: xlauko Date: Sat, 28 Jun 2025 23:20:19 +0200 Subject: [PATCH] [mlir][tblgen] Fix test definition names to reflect expected valid resu

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-07-01 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/146243 >From e0c10a284a049a08f624178ec6dc70a36043eb65 Mon Sep 17 00:00:00 2001 From: xlauko Date: Sat, 28 Jun 2025 23:20:19 +0200 Subject: [PATCH] [mlir][tblgen] Fix test definition names to reflect expected valid resu

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-06-28 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146243?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-06-28 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/146243 >From e2ad5d5e425e01fc8e5a3250780b42306bf703cd Mon Sep 17 00:00:00 2001 From: xlauko Date: Sat, 28 Jun 2025 23:20:19 +0200 Subject: [PATCH] [mlir][tblgen] Fix test definition names to reflect expected valid resu

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-06-28 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/146243 >From e2ad5d5e425e01fc8e5a3250780b42306bf703cd Mon Sep 17 00:00:00 2001 From: xlauko Date: Sat, 28 Jun 2025 23:20:19 +0200 Subject: [PATCH] [mlir][tblgen] Fix test definition names to reflect expected valid resu

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-06-28 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146243 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][tblgen] Fix test definition names to reflect expected valid results (NFC) (PR #146243)

2025-06-28 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146243 None >From bc29f7fb61b14933052aabb325e1828053014b14 Mon Sep 17 00:00:00 2001 From: xlauko Date: Sat, 28 Jun 2025 23:20:19 +0200 Subject: [PATCH] [mlir][tblgen] Fix test definition names to reflect expected vali

[llvm-branch-commits] [clang] [CIR] Implement SizedTypeInterface to make isSized hookable (PR #146045)

2025-06-27 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146045 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Implement SizedTypeInterface to make isSized hookable (PR #146045)

2025-06-27 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146045?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Implement SizedTypeInterface to make isSized hookable (PR #146045)

2025-06-27 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146045 Resolves issues pointed out in https://github.com/llvm/llvm-project/pull/143960/files#r2164047625 of needing to update sized list of types on each new type. This mirrors incubator changes from https://github.co

[llvm-branch-commits] [clang] [CIR] Refactor VoidPtr constraint to CIR_VoidPtrType (PR #138859)

2025-05-07 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **May 7, 1:16 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138859). https://github.com/llvm/llvm-project/pull/138859 __

[llvm-branch-commits] [clang] [CIR] Remove implicit options from tablegen files (PR #138860)

2025-05-07 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **May 7, 1:16 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138860). https://github.com/llvm/llvm-project/pull/138860 __

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/138112 >From 88149b4832f7a162854edde12975d877f0958ff8 Mon Sep 17 00:00:00 2001 From: xlauko Date: Thu, 1 May 2025 12:48:17 +0200 Subject: [PATCH] [CIR] Refactor floating point type constraints - This cleans up moves ci

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/138112 >From 88149b4832f7a162854edde12975d877f0958ff8 Mon Sep 17 00:00:00 2001 From: xlauko Date: Thu, 1 May 2025 12:48:17 +0200 Subject: [PATCH] [CIR] Refactor floating point type constraints - This cleans up moves ci

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-01 Thread Henrich Lauko via llvm-branch-commits
@@ -110,4 +110,35 @@ def CIR_AnyFundamentalSIntType let cppFunctionName = "isFundamentalSIntType"; } +//===--===// +// Float Type predicates +//===--

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-01 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/138112 - This cleans up moves cir floating point type constraints to dedicated constraints file, and fixes long double verifier to use constraints directly. - Renames `CIR_AnyFloat` to `CIR_AnyFloatType`. This mirrors

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-01 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/138112 Rate limit ยท GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-se

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-01 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/138112?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

2025-05-01 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/138112 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-22 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136606 >From 7a8311eddc12d1119338261721de7561297037cb Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:23:40 +0200 Subject: [PATCH] [CIR] Let ConstantOp builder infer its type automatically --- clang/in

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-22 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136606 >From 166bf478dde94b6dac144a43a7ececa6cbcb8223 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:23:40 +0200 Subject: [PATCH] [CIR] Let ConstantOp builder infer its type automatically --- clang/in

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136605 >From acad78ff14ab0cd18f8e65a279b0ad5fd13d0c89 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:03:35 +0200 Subject: [PATCH] [CIR] Make UndefAttr use AttrBuilderWithInferredContext --- clang/incl

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136606 >From 045977803f6459a62ac15a873416730e9e962e77 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:23:40 +0200 Subject: [PATCH] [CIR] Let ConstantOp builder infer its type automatically --- clang/in

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136606 >From 045977803f6459a62ac15a873416730e9e962e77 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:23:40 +0200 Subject: [PATCH] [CIR] Let ConstantOp builder infer its type automatically --- clang/in

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko updated https://github.com/llvm/llvm-project/pull/136605 >From acad78ff14ab0cd18f8e65a279b0ad5fd13d0c89 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:03:35 +0200 Subject: [PATCH] [CIR] Make UndefAttr use AttrBuilderWithInferredContext --- clang/incl

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Apr 22, 2:26 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/136606). https://github.com/llvm/llvm-project/pull/136606 _

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Apr 22, 2:26 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/136605). https://github.com/llvm/llvm-project/pull/136605 _

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/136606 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko edited https://github.com/llvm/llvm-project/pull/136606 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/136605 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko edited https://github.com/llvm/llvm-project/pull/136605 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/136606?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/136605?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Let ConstantOp builder infer its type automatically (PR #136606)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/136606 None >From 93d5397e3a90d05cb89c6c5fd622cfb01f425321 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:23:40 +0200 Subject: [PATCH] [CIR] Let ConstantOp builder infer its type automatically --- cl

[llvm-branch-commits] [clang] [CIR] Make UndefAttr use AttrBuilderWithInferredContext (PR #136605)

2025-04-21 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/136605 None >From 40e72ddd5b2afc2fd83070822bb6aa1294e873fe Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 21 Apr 2025 22:03:35 +0200 Subject: [PATCH] [CIR] Make UndefAttr use AttrBuilderWithInferredContext --- clan