repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LangRef] Fix code segment and numbering issue in the 'call' instruction section...
[llvm-project.git]
/
libclc
/
clc
/
lib
/
generic
/
integer
/
clc_abs.inc
blob
dcdd77fd71730810722c74bda5c0a9199e605edc
1
_CLC_OVERLOAD _CLC_DEF __CLC_U_GENTYPE __clc_abs(__CLC_GENTYPE x) {
2
return __builtin_astype((__CLC_GENTYPE)(x > (__CLC_GENTYPE)(0) ? x : -x),
3
__CLC_U_GENTYPE);
4
}