Records
-
class Bcmp -
class BcmpSequence -
class Memcmp -
class MemcmpSequence -
class Memmove -
class Memset -
class MemsetSequence -
class array_size -
class array_size -
class cmp_is_expensive -
class cmp_is_expensive -
class cmp_is_expensive -
class cmp_is_expensive -
class cmp_is_expensive -
class cmp_is_expensive -
class is_array -
class is_array -
class is_scalar -
class is_scalar -
class is_scalar -
class is_scalar -
class is_scalar -
class is_vector -
class is_vector -
class is_vector -
class is_vector -
class is_vector
Functions
-
template <>MemcmpReturnType cmp_neq<unsigned short> (CPtr p1, CPtr p2, size_t offset) -
template <>MemcmpReturnType cmp<unsigned long> (CPtr p1, CPtr p2, size_t offset) -
template <>bool eq<unsigned long> (CPtr p1, CPtr p2, size_t offset)Defined at line 116 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>uint32_t neq<unsigned long> (CPtr p1, CPtr p2, size_t offset)Defined at line 119 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>MemcmpReturnType cmp_neq<unsigned long> (CPtr p1, CPtr p2, size_t offset)Defined at line 125 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>MemcmpReturnType cmp_neq<unsigned int> (CPtr p1, CPtr p2, size_t offset) -
template <typename T>bool eq (CPtr p1, CPtr p2, size_t offset)Equality: returns true iff values at locations (p1 + offset) and (p2 +
offset) compare equal.
-
template <typename T>MemcmpReturnType cmp (CPtr p1, CPtr p2, size_t offset)Lexicographic comparison:
- returns 0 iff values at locations (p1 + offset) and (p2 + offset) compare
equal.
- returns a negative value if value at location (p1 + offset) is
lexicographically less than value at (p2 + offset).
- returns a positive value if value at location (p1 + offset) is
lexicographically greater than value at (p2 + offset).
-
template <>MemcmpReturnType cmp<unsigned int> (CPtr p1, CPtr p2, size_t offset)Defined at line 104 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <typename T>MemcmpReturnType cmp_neq (CPtr p1, CPtr p2, size_t offset)Lexicographic comparison of non-equal values:
- returns a negative value if value at location (p1 + offset) is
lexicographically less than value at (p2 + offset).
- returns a positive value if value at location (p1 + offset) is
lexicographically greater than value at (p2 + offset).
-
template <>MemcmpReturnType cmp_neq<unsigned char> (CPtr p1, CPtr p2, size_t offset) -
template <>bool eq<unsigned short> (CPtr p1, CPtr p2, size_t offset)Defined at line 79 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>uint32_t neq<unsigned short> (CPtr p1, CPtr p2, size_t offset)Defined at line 82 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>MemcmpReturnType cmp<unsigned short> (CPtr p1, CPtr p2, size_t offset)Defined at line 86 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>bool eq<unsigned int> (CPtr p1, CPtr p2, size_t offset)Defined at line 97 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>uint32_t neq<unsigned int> (CPtr p1, CPtr p2, size_t offset)Defined at line 100 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <typename T>T load (CPtr src)Generic operations for the above type categories.
Defined at line 125 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <typename T>T load (CPtr ptr, size_t offset)Same as load above but with an offset to the pointer.
Making the offset explicit hints the compiler to use relevant addressing mode
consistently.
Defined at line 359 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <typename T>T load_be (CPtr ptr, size_t offset)Same as above but also makes sure the loaded value is in big endian format.
This is useful when implementing lexicograhic comparisons as big endian
scalar comparison directly maps to lexicographic byte comparisons.
Defined at line 366 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <>bool eq<unsigned char> (CPtr p1, CPtr p2, size_t offset)Defined at line 591 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <>uint32_t neq<unsigned char> (CPtr p1, CPtr p2, size_t offset)Defined at line 594 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <>MemcmpReturnType cmp<unsigned char> (CPtr p1, CPtr p2, size_t offset)Defined at line 597 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
template <typename T>uint32_t neq (CPtr p1, CPtr p2, size_t offset)Not equals: returns non-zero iff values at locations (p1 + offset) and (p2 +
offset) differ.
-
template <typename T>void store (Ptr dst, T value)Defined at line 138 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
__m128i bytewise_max (__m128i a, __m128i b)Defined at line 148 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <typename T>T splat (uint8_t value)Defined at line 149 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
-
__m128i bytewise_reverse (__m128i value)Defined at line 151 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
uint16_t big_endian_cmp_mask (__m128i max, __m128i value)Defined at line 155 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>bool eq<__attribute__((__vector_size__(2 * sizeof(long long)))) long long> (CPtr p1, CPtr p2, size_t offset)Defined at line 159 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>uint32_t neq<__attribute__((__vector_size__(2 * sizeof(long long)))) long long> (CPtr p1, CPtr p2, size_t offset)Defined at line 165 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
-
template <>MemcmpReturnType cmp_neq<__attribute__((__vector_size__(2 * sizeof(long long)))) long long> (CPtr p1CPtr p2size_t offset)Defined at line 171 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_x86.h
Variables
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_scalar_v
Defined at line 88 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_vector_v
Defined at line 96 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_array_v
Defined at line 106 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 110 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const bool is_element_type_v
Defined at line 111 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const size_t array_size_v
Defined at line 121 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const size_t array_size_v
Defined at line 121 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h
const size_t array_size_v
Defined at line 121 of file ../../third_party/llvm-libc/src/src/string/memory_utils/op_generic.h