clang
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
Enumerations
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Examples
lib
Headers
cldemoteintrin.h
Go to the documentation of this file.
1
/*===---- cldemoteintrin.h - CLDEMOTE intrinsic ----------------------------===
2
*
3
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
* See https://llvm.org/LICENSE.txt for license information.
5
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
*
7
*===-----------------------------------------------------------------------===
8
*/
9
10
#if !defined __X86INTRIN_H && !defined __IMMINTRIN_H
11
#error "Never use <cldemoteintrin.h> directly; include <x86intrin.h> instead."
12
#endif
13
14
#ifndef __CLDEMOTEINTRIN_H
15
#define __CLDEMOTEINTRIN_H
16
17
/* Define the default attributes for the functions in this file. */
18
#define __DEFAULT_FN_ATTRS \
19
__attribute__((__always_inline__, __nodebug__, __target__("cldemote"
)))
20
21
/// Hint to hardware that the cache line that contains \p __P should be demoted
22
/// from the cache closest to the processor core to a level more distant from
23
/// the processor core.
24
///
25
/// \headerfile <x86intrin.h>
26
///
27
/// This intrinsic corresponds to the <c> CLDEMOTE </c> instruction.
28
static
__inline__
void
__DEFAULT_FN_ATTRS
29
_cldemote
(
const
void
*
__P
) {
30
__builtin_ia32_cldemote(
__P
);
31
}
32
33
#define _mm_cldemote(p) _cldemote(p)
34
#undef __DEFAULT_FN_ATTRS
35
36
#endif
__DEFAULT_FN_ATTRS
#define __DEFAULT_FN_ATTRS
Definition:
cldemoteintrin.h:18
_cldemote
static __inline__ void __DEFAULT_FN_ATTRS _cldemote(const void *__P)
Hint to hardware that the cache line that contains __P should be demoted from the cache closest to th...
Definition:
cldemoteintrin.h:29
__P
__inline unsigned int unsigned int unsigned int * __P
Definition:
bmi2intrin.h:25
Generated on Tue Mar 11 2025 11:28:31 for clang by
1.9.6