aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2020-04-24 11:31:34 +0100
committerSander de Smalen <sander.desmalen@arm.com>2020-04-24 11:35:59 +0100
commit823e2a670a9da8e5cd8beed108355a168ca1a23b (patch)
treec2731a8542c5955ae34e90fd642291af2ad72ab6 /clang/lib/CodeGen/CodeGenFunction.h
parent9cd4debd5ae43b03c96a2f8f24c73c5fd317d8ac (diff)
downloadllvm-823e2a670a9da8e5cd8beed108355a168ca1a23b.zip
llvm-823e2a670a9da8e5cd8beed108355a168ca1a23b.tar.gz
llvm-823e2a670a9da8e5cd8beed108355a168ca1a23b.tar.bz2
[SveEmitter] Add builtins for contiguous prefetches
This patch also adds the enum `sv_prfop` for the prefetch operation specifier and checks to ensure the passed enum values are valid. Reviewers: SjoerdMeijer, efriedma, ctetreau Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78674
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index a16ad1d..53809b6 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -3927,6 +3927,9 @@ public:
llvm::Value *EmitSVEMaskedStore(const CallExpr *,
SmallVectorImpl<llvm::Value *> &Ops,
unsigned BuiltinID);
+ llvm::Value *EmitSVEPrefetchLoad(SVETypeFlags TypeFlags,
+ SmallVectorImpl<llvm::Value *> &Ops,
+ unsigned BuiltinID);
llvm::Value *EmitAArch64SVEBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
llvm::Value *EmitAArch64BuiltinExpr(unsigned BuiltinID, const CallExpr *E,