Intrinsics
Class methods
pause
Sourcepopcount128(src)
Sourceread_cycle_counter
Sourceunreachable
Should codegen to the following LLVM IR (before being inlined):
define internal void @"*Intrinsics::unreachable:NoReturn"() #12 {
entry:
unreachable
}
Can be used like @llvm.assume(i1 cond) as unreachable unless (assumption).
WARNING: the behaviour of the program is undefined if the assumption is broken!
Macros
countleading128(src, zero_is_undef)
Sourcecountleading16(src, zero_is_undef)
Sourcecountleading32(src, zero_is_undef)
Sourcecountleading64(src, zero_is_undef)
Sourcecountleading8(src, zero_is_undef)
Sourcecounttrailing128(src, zero_is_undef)
Sourcecounttrailing16(src, zero_is_undef)
Sourcecounttrailing32(src, zero_is_undef)
Sourcecounttrailing64(src, zero_is_undef)
Sourcecounttrailing8(src, zero_is_undef)
Sourcedebugtrap
Sourcememcpy(dest, src, len, is_volatile)
Sourcememmove(dest, src, len, is_volatile)
Sourcememset(dest, val, len, is_volatile)
Sourceva_end(ap)
Sourceva_start(ap)
Source