diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2020-04-22 21:49:18 +0100 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2020-04-22 21:49:18 +0100 |
commit | 2d1baf606ab46daf9a322e5751d364c55c86deca (patch) | |
tree | d3cda809cf92f1666edf2881412ed7dee5142c9f /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 1559485e600242343cb21c7ffbf345172008cd59 (diff) | |
download | llvm-2d1baf606ab46daf9a322e5751d364c55c86deca.zip llvm-2d1baf606ab46daf9a322e5751d364c55c86deca.tar.gz llvm-2d1baf606ab46daf9a322e5751d364c55c86deca.tar.bz2 |
[SveEmitter] Add builtins for svwhilerw/svwhilewr
This also adds the IsOverloadWhileRW flag which tells CGBuiltin to use
the result predicate type and the first pointer type as the
overloaded types for the LLVM IR intrinsic.
Reviewers: SjoerdMeijer, efriedma
Reviewed By: efriedma
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78238
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 7e2624a..a16ad1d 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3912,6 +3912,7 @@ public: ArrayRef<llvm::Value *> Ops); llvm::Type *getEltType(SVETypeFlags TypeFlags); llvm::VectorType *getSVEType(const SVETypeFlags &TypeFlags); + llvm::VectorType *getSVEPredType(SVETypeFlags TypeFlags); llvm::Value *EmitSVEDupX(llvm::Value *Scalar); llvm::Value *EmitSVEPredicateCast(llvm::Value *Pred, llvm::VectorType *VTy); llvm::Value *EmitSVEGatherLoad(SVETypeFlags TypeFlags, |