Home
last modified time | relevance | path

Searched refs:normalize (Results 1 – 25 of 137) sorted by relevance

123456

/llvm-project/llvm/unittests/TargetParser/
H A DTripleTest.cpp1383 EXPECT_EQ("unknown", Triple::normalize("")); in TEST()
1384 EXPECT_EQ("unknown-unknown", Triple::normalize("-")); in TEST()
1385 EXPECT_EQ("unknown-unknown-unknown", Triple::normalize("--")); in TEST()
1386 EXPECT_EQ("unknown-unknown-unknown-unknown", Triple::normalize("---")); in TEST()
1388 Triple::normalize("----")); in TEST()
1390 EXPECT_EQ("a", Triple::normalize("a")); in TEST()
1391 EXPECT_EQ("a-b", Triple::normalize("a-b")); in TEST()
1392 EXPECT_EQ("a-b-c", Triple::normalize("a-b-c")); in TEST()
1393 EXPECT_EQ("a-b-c-d", Triple::normalize("a-b-c-d")); in TEST()
1395 EXPECT_EQ("i386-b-c", Triple::normalize("i38 in TEST()
[all...]
/llvm-project/libc/src/__support/FPUtil/generic/
H A Dsqrt.h41 LIBC_INLINE void normalize(int &exponent,
52 LIBC_INLINE void normalize<long double>(int &exponent, uint64_t &mantissa) {
53 normalize<double>(exponent, mantissa);
57 LIBC_INLINE void normalize<long double>(int &exponent, UInt128 &mantissa) {
112 internal::normalize<InType>(x_exp, x_mant);
H A Dsqrt_80_bit_long_double.h24 LIBC_INLINE void normalize(int &exponent, in normalize()
67 normalize(x_exp, x_mant); in sqrt()
23 LIBC_INLINE void normalize(int &exponent, UInt128 &mantissa) { normalize() function
/llvm-project/libclc/generic/lib/geometric/
H A Dnormalize.cl25 _CLC_OVERLOAD _CLC_DEF float normalize(float p) {
29 _CLC_OVERLOAD _CLC_DEF float2 normalize(float2 p) {
49 _CLC_OVERLOAD _CLC_DEF float3 normalize(float3 p) {
69 _CLC_OVERLOAD _CLC_DEF float4 normalize(float4 p) {
93 _CLC_OVERLOAD _CLC_DEF double normalize(double p) {
97 _CLC_OVERLOAD _CLC_DEF double2 normalize(double2 p) {
117 _CLC_OVERLOAD _CLC_DEF double3 normalize(double3 p) {
137 _CLC_OVERLOAD _CLC_DEF double4 normalize(double4 p) {
/llvm-project/libc/fuzzing/string/
H A Dbcmp_fuzz.cpp29 const auto normalize = [](int value) -> int { in LLVMFuzzerTestOneInput() local
40 if (normalize(actual) == normalize(reference)) in LLVMFuzzerTestOneInput()
/llvm-project/clang/test/AST/
H A Dgen_ast_dump_json_test.py15 def normalize(dict_var): function
18 normalize(v)
22 normalize(e)
206 normalize(j)
212 normalize(j)
/llvm-project/llvm/unittests/MIR/
H A DMachineMetadata.cpp203 auto TM = createTargetMachine(Triple::normalize("aarch64--"), "", "");
293 auto TM = createTargetMachine(Triple::normalize("x86_64--"), "", "");
352 auto TM = createTargetMachine(Triple::normalize("x86_64--"), "", "");
443 auto TM = createTargetMachine(Triple::normalize("amdgcn-amd-amdhsa"),
542 auto TM = createTargetMachine(Triple::normalize("powerpc64--"), "", "");
573 auto TM = createTargetMachine(Triple::normalize("powerpc64--"), "", "");
/llvm-project/llvm/test/Transforms/MergeFunc/
H A Dexternal-before-local.ll3 ; We should normalize to test2 rather than test1,
31 ; We should normalize to the existing test6 rather than
/llvm-project/libc/src/__support/FPUtil/
H A Ddyadic_float.h56 normalize(); in DyadicFloat()
61 normalize(); in normalize()
66 LIBC_INLINE constexpr DyadicFloat &normalize() { in normalize()
379 // Quick add - Add 2 dyadic floats with rounding toward 0 and then normalize the
389 // don't need to normalize the inputs again in this function. If the inputs are
433 return result.normalize();
437 // floats with rounding toward 0 and then normalize the output:
444 // don't need to normalize the inputs again in this function. If the inputs are
456 // normalize().
60 LIBC_INLINE constexpr DyadicFloat &normalize() { normalize() function
/llvm-project/llvm/tools/llvm-isel-fuzzer/
H A Dllvm-isel-fuzzer.cpp94 M->setTargetTriple(TM->getTargetTriple().normalize()); in LLVMFuzzerTestOneInput()
144 Triple::normalize(TargetTriple), OLvl)); in LLVMFuzzerInitialize()
/llvm-project/llvm/tools/llvm-mc-assemble-fuzzer/
H A Dllvm-mc-assemble-fuzzer.cpp134 Triple TheTriple(Triple::normalize(TripleName)); in AssembleOneInput()
151 errs() << "error: this target '" << TheTriple.normalize() in AssembleOneInput()
186 << TheTriple.normalize() << "' with assembly variant " in AssembleOneInput()
/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc68 scale += normalize(&aSignificand);
70 scale += normalize(&bSignificand);
74 // denormal path it was already set by normalize( ), but setting it twice
H A Dfp_add_impl.inc75 aExponent = normalize(&aSignificand);
77 bExponent = normalize(&bSignificand);
87 // was already set by normalize( ), but setting it twice won't hurt
H A Dfp_lib.h230 static __inline int normalize(rep_t *significand) {
284 // Subnormal number; normalize and repeat in __compiler_rt_logbX()
286 const int shift = 1 - normalize(&rep); in __compiler_rt_logbX()
304 exp += normalize(&sig); in __compiler_rt_scalbnX()
236 static __inline int normalize(rep_t *significand) { normalize() function
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DLlvmState.cpp29 TripleName = Triple::normalize(sys::getDefaultTargetTriple()); in Create()
96 TheTargetMachine->getTargetTriple().normalize(), in createTargetMachine()
/llvm-project/llvm/tools/llvm-opt-fuzzer/
H A Dllvm-opt-fuzzer.cpp127 M->setTargetTriple(TM->getTargetTriple().normalize()); in LLVMFuzzerTestOneInput()
203 Triple::normalize(TargetTripleStr))); in LLVMFuzzerInitialize()
/llvm-project/libclc/generic/include/clc/geometric/
H A Dnormalize.h1 #define __CLC_BODY <clc/geometric/normalize.inc>
H A Dnormalize.inc1 _CLC_OVERLOAD _CLC_DECL __CLC_FLOATN normalize(__CLC_FLOATN p);
/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp25 auto KV = Mapping.find(Key.normalize()); in map()
50 Mapping[KeyVersion.normalize()] = ValueVersion; in parseJSON()
/llvm-project/libc/benchmarks/automemcpy/lib/
H A DResultAnalyzer.cpp
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDwarfUtils.cpp30 Triple T(Triple::normalize(sys::getDefaultTargetTriple())); in getNormalizedDefaultTargetTriple()
/llvm-project/llvm/unittests/Target/AArch64/
H A DImmediates.cpp91 auto TT = Triple::normalize("aarch64"); in TEST()
/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestAPICommon.h54 HostTriple = Triple::normalize(HostTriple); in MCJITTestAPICommon()
/llvm-project/llvm/test/ExecutionEngine/MCJIT/
H A Dlit.local.cfg13 # FIXME: autoconf and cmake produce different arch names. We should normalize
/llvm-project/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h103 virtual float normalize(float UseDefFreq, unsigned Size, in normalize()
100 virtual float normalize(float UseDefFreq, unsigned Size, normalize() function

123456