aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-10-27 14:38:28 +0100
committerGitHub <noreply@github.com>2023-10-27 14:38:28 +0100
commitb0b88643a1facc4fcb06783e295de3d4a91dc924 (patch)
tree027bbd524445f9ac40404d166732ed7c11f52f7f /clang/lib/Lex/ModuleMap.cpp
parent37d9dc47931fa6bd722be97f5906641a7e8e6c0e (diff)
downloadllvm-b0b88643a1facc4fcb06783e295de3d4a91dc924.zip
llvm-b0b88643a1facc4fcb06783e295de3d4a91dc924.tar.gz
llvm-b0b88643a1facc4fcb06783e295de3d4a91dc924.tar.bz2
[VPlan] Add initial anlysis to infer scalar type of VPValues. (#69013)
This patch adds initial type inferrence for VPValues. It infers the scalar type of a VPValue, by bottom-up traversing through defining recipes until root nodes with known types are reached (e.g. live-ins or load recipes). The types are then propagated top down through operations. This is intended as building block for a VPlan-based cost model, which will need access to type information for VPValues/recipes. Initial testing is done by asserting the inferred type matches the type of the result value generated for a widen and replicate recipes.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions