aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-09-18 14:41:56 +0100
committerGitHub <noreply@github.com>2024-09-18 14:41:56 +0100
commit0d736e296c2feed7709e002d5972ed60844b6b56 (patch)
tree658fa338a07011434106375272acf3c07017e5be /clang/lib/Parse/ParseDecl.cpp
parentce74d5ff878b901d6582e407fddd808ad1236d20 (diff)
downloadllvm-0d736e296c2feed7709e002d5972ed60844b6b56.zip
llvm-0d736e296c2feed7709e002d5972ed60844b6b56.tar.gz
llvm-0d736e296c2feed7709e002d5972ed60844b6b56.tar.bz2
[VPlan] Add getSCEVExprForVPValue util, use to get trip count SCEV (NFC) (#94464)
Add a new getSCEVExprForVPValue utility which can be used to get a SCEV expression for a VPValue. The initial implementation only returns SCEVs for live-in IR values (by constructing a SCEV based on the live-in IR value) and VPExpandSCEVRecipe. This is enough to serve its first use, getting a SCEV for a VPlan's trip count, but will be extended in the future. It also removes createTripCountSCEV, as the new helper can be used to retrieve the SCEV from the VPlan. PR: https://github.com/llvm/llvm-project/pull/94464
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions