From 9a767330f555f21d6ef311d3a348d3a44f306d35 Mon Sep 17 00:00:00 2001
From: Bruno Cardoso Lopes
- declare void @llvm.prefetch(i8* <address>, i32 <rw>, i32 <locality>) + declare void @llvm.prefetch(i8* <address>, i32 <rw>, i32 <locality>, i32 <cache type>)
address is the address to be prefetched, rw is the specifier determining if the fetch should be for a read (0) or write (1), and locality is a temporal locality specifier ranging from (0) - no - locality, to (3) - extremely local keep in cache. The rw - and locality arguments must be constant integers.
+ locality, to (3) - extremely local keep in cache. The cache type + specifies whether the prefetch is performed on the data (1) or instruction (0) + cache. The rw, locality and cache type arguments + must be constant integers.This intrinsic does not modify the behavior of the program. In particular, -- cgit v1.1