diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2020-03-16 10:14:05 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2020-03-16 10:52:37 +0000 |
commit | 8b409eabaf755c88a7d652fe99d3ad858a4fe82a (patch) | |
tree | 0d90b5ab7b2d1cf7b52b8661e509aeb0233f8a73 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | c93652517c810a3afafe6d2a57b528bf2692a165 (diff) | |
download | llvm-8b409eabaf755c88a7d652fe99d3ad858a4fe82a.zip llvm-8b409eabaf755c88a7d652fe99d3ad858a4fe82a.tar.gz llvm-8b409eabaf755c88a7d652fe99d3ad858a4fe82a.tar.bz2 |
[SVE] Auto-generate builtins and header for svld1.
This is a first patch in a series for the SveEmitter to generate the arm_sve.h
header file and builtins.
I've tried my best to strip down this patch as best as I could, but there
are still a few changes that are not necessarily exercised by the load intrinsics
in this patch, mostly around the SVEType class which has some common logic to
represent types from a type and prototype string. I thought it didn't make
much sense to remove that from this patch and split it up.
Reviewers: efriedma, rovka, SjoerdMeijer, rsandifo-arm, rengolin
Reviewed By: SjoerdMeijer
Tags: #clang
Differential Revision: https://reviews.llvm.org/D75470
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index e470bec..440b088 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3904,6 +3904,7 @@ public: llvm::Value *EmitSVEPredicateCast(llvm::Value *Pred, llvm::VectorType *VTy); llvm::Value *EmitSVEMaskedLoad(llvm::Type *ReturnTy, SmallVectorImpl<llvm::Value *> &Ops); + llvm::Value *EmitAArch64SVEBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitAArch64BuiltinExpr(unsigned BuiltinID, const CallExpr *E, llvm::Triple::ArchType Arch); |