aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-03-28 08:43:46 +0000
committerGitHub <noreply@github.com>2025-03-28 08:43:46 +0000
commit7b75db5755e63ddefa35101cf6a1179de560d312 (patch)
treef41118c15d68c056f287529e4913c93c656ac831 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent883612859bd255fc964c121ea6d3b1a9fb37fc65 (diff)
downloadllvm-7b75db5755e63ddefa35101cf6a1179de560d312.zip
llvm-7b75db5755e63ddefa35101cf6a1179de560d312.tar.gz
llvm-7b75db5755e63ddefa35101cf6a1179de560d312.tar.bz2
[VPlan] Add new VPIRPhi overlay for VPIRInsts wrapping phi nodes (NFC). (#129387)
Add a new VPIRPhi subclass of VPIRInstruction, that purely serves as an overlay, to provide more convenient checking (via directly doing isa/dyn_cast/cast) and specialied execute/print implementations. Both VPIRInstruction and VPIRPhi share the same VPDefID, and are differentiated by the backing IR instruction. This pattern could alos be used to provide more specialized interfaces for some VPInstructions ocpodes, without introducing new, completely spearate recipes. An example would be modeling VPWidenPHIRecipe & VPScalarPHIRecip using VPInstructions opcodes and providing an interface to retrieve incoming blocks and values through a VPInstruction subclass similar to VPIRPhi. PR: https://github.com/llvm/llvm-project/pull/129387
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions