@@ -14,63 +14,63 @@ using llvm::integerPart;
14
14
typedef void integerPart ;
15
15
#endif
16
16
17
- DLLEXPORT void LLVMNeg (unsigned numbits , integerPart * pa , integerPart * pr );
18
- DLLEXPORT void LLVMByteSwap (unsigned numbits , integerPart * pa , integerPart * pr );
19
-
20
- DLLEXPORT void LLVMAdd (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
21
- DLLEXPORT void LLVMSub (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
22
- DLLEXPORT void LLVMMul (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
23
- DLLEXPORT void LLVMSDiv (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
24
- DLLEXPORT void LLVMUDiv (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
25
- DLLEXPORT void LLVMSRem (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
26
- DLLEXPORT void LLVMURem (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
27
-
28
- DLLEXPORT void LLVMAnd (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
29
- DLLEXPORT void LLVMOr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
30
- DLLEXPORT void LLVMXor (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
31
- DLLEXPORT void LLVMShl (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
32
- DLLEXPORT void LLVMLShr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
33
- DLLEXPORT void LLVMAShr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
34
- DLLEXPORT void LLVMFlipAllBits (unsigned numbits , integerPart * pa , integerPart * pr );
35
-
36
- DLLEXPORT int LLVMICmpEQ (unsigned numbits , integerPart * pa , integerPart * pr );
37
- DLLEXPORT int LLVMICmpNE (unsigned numbits , integerPart * pa , integerPart * pb );
38
- DLLEXPORT int LLVMICmpSLT (unsigned numbits , integerPart * pa , integerPart * pb );
39
- DLLEXPORT int LLVMICmpULT (unsigned numbits , integerPart * pa , integerPart * pb );
40
- DLLEXPORT int LLVMICmpSLE (unsigned numbits , integerPart * pa , integerPart * pb );
41
- DLLEXPORT int LLVMICmpULE (unsigned numbits , integerPart * pa , integerPart * pb );
42
-
43
- DLLEXPORT int LLVMAdd_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
44
- DLLEXPORT int LLVMAdd_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
45
- DLLEXPORT int LLVMSub_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
46
- DLLEXPORT int LLVMSub_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
47
- DLLEXPORT int LLVMMul_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
48
- DLLEXPORT int LLVMMul_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
49
-
50
- DLLEXPORT unsigned LLVMCountPopulation (unsigned numbits , integerPart * pa );
51
- DLLEXPORT unsigned LLVMCountTrailingOnes (unsigned numbits , integerPart * pa );
52
- DLLEXPORT unsigned LLVMCountTrailingZeros (unsigned numbits , integerPart * pa );
53
- DLLEXPORT unsigned LLVMCountLeadingOnes (unsigned numbits , integerPart * pa );
54
- DLLEXPORT unsigned LLVMCountLeadingZeros (unsigned numbits , integerPart * pa );
55
-
56
- DLLEXPORT void LLVMFPtoSI (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
57
- DLLEXPORT void LLVMFPtoUI (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
58
- DLLEXPORT void LLVMSItoFP (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
59
- DLLEXPORT void LLVMUItoFP (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
60
- DLLEXPORT void LLVMSExt (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
61
- DLLEXPORT void LLVMZExt (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
62
- DLLEXPORT void LLVMTrunc (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
63
-
64
- DLLEXPORT int LLVMFPtoSI_exact (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
65
- DLLEXPORT int LLVMFPtoUI_exact (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
66
-
67
- DLLEXPORT void jl_LLVMSMod (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
68
- DLLEXPORT void jl_LLVMFlipSign (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
69
-
70
- DLLEXPORT unsigned countTrailingZeros_8 (uint8_t Val );
71
- DLLEXPORT unsigned countTrailingZeros_16 (uint16_t Val );
72
- DLLEXPORT unsigned countTrailingZeros_32 (uint32_t Val );
73
- DLLEXPORT unsigned countTrailingZeros_64 (uint64_t Val );
17
+ JL_DLLEXPORT void LLVMNeg (unsigned numbits , integerPart * pa , integerPart * pr );
18
+ JL_DLLEXPORT void LLVMByteSwap (unsigned numbits , integerPart * pa , integerPart * pr );
19
+
20
+ JL_DLLEXPORT void LLVMAdd (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
21
+ JL_DLLEXPORT void LLVMSub (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
22
+ JL_DLLEXPORT void LLVMMul (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
23
+ JL_DLLEXPORT void LLVMSDiv (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
24
+ JL_DLLEXPORT void LLVMUDiv (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
25
+ JL_DLLEXPORT void LLVMSRem (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
26
+ JL_DLLEXPORT void LLVMURem (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
27
+
28
+ JL_DLLEXPORT void LLVMAnd (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
29
+ JL_DLLEXPORT void LLVMOr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
30
+ JL_DLLEXPORT void LLVMXor (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
31
+ JL_DLLEXPORT void LLVMShl (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
32
+ JL_DLLEXPORT void LLVMLShr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
33
+ JL_DLLEXPORT void LLVMAShr (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
34
+ JL_DLLEXPORT void LLVMFlipAllBits (unsigned numbits , integerPart * pa , integerPart * pr );
35
+
36
+ JL_DLLEXPORT int LLVMICmpEQ (unsigned numbits , integerPart * pa , integerPart * pr );
37
+ JL_DLLEXPORT int LLVMICmpNE (unsigned numbits , integerPart * pa , integerPart * pb );
38
+ JL_DLLEXPORT int LLVMICmpSLT (unsigned numbits , integerPart * pa , integerPart * pb );
39
+ JL_DLLEXPORT int LLVMICmpULT (unsigned numbits , integerPart * pa , integerPart * pb );
40
+ JL_DLLEXPORT int LLVMICmpSLE (unsigned numbits , integerPart * pa , integerPart * pb );
41
+ JL_DLLEXPORT int LLVMICmpULE (unsigned numbits , integerPart * pa , integerPart * pb );
42
+
43
+ JL_DLLEXPORT int LLVMAdd_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
44
+ JL_DLLEXPORT int LLVMAdd_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
45
+ JL_DLLEXPORT int LLVMSub_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
46
+ JL_DLLEXPORT int LLVMSub_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
47
+ JL_DLLEXPORT int LLVMMul_sov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
48
+ JL_DLLEXPORT int LLVMMul_uov (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
49
+
50
+ JL_DLLEXPORT unsigned LLVMCountPopulation (unsigned numbits , integerPart * pa );
51
+ JL_DLLEXPORT unsigned LLVMCountTrailingOnes (unsigned numbits , integerPart * pa );
52
+ JL_DLLEXPORT unsigned LLVMCountTrailingZeros (unsigned numbits , integerPart * pa );
53
+ JL_DLLEXPORT unsigned LLVMCountLeadingOnes (unsigned numbits , integerPart * pa );
54
+ JL_DLLEXPORT unsigned LLVMCountLeadingZeros (unsigned numbits , integerPart * pa );
55
+
56
+ JL_DLLEXPORT void LLVMFPtoSI (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
57
+ JL_DLLEXPORT void LLVMFPtoUI (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
58
+ JL_DLLEXPORT void LLVMSItoFP (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
59
+ JL_DLLEXPORT void LLVMUItoFP (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
60
+ JL_DLLEXPORT void LLVMSExt (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
61
+ JL_DLLEXPORT void LLVMZExt (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
62
+ JL_DLLEXPORT void LLVMTrunc (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
63
+
64
+ JL_DLLEXPORT int LLVMFPtoSI_exact (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
65
+ JL_DLLEXPORT int LLVMFPtoUI_exact (unsigned numbits , integerPart * pa , unsigned onumbits , integerPart * pr );
66
+
67
+ JL_DLLEXPORT void jl_LLVMSMod (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
68
+ JL_DLLEXPORT void jl_LLVMFlipSign (unsigned numbits , integerPart * pa , integerPart * pb , integerPart * pr );
69
+
70
+ JL_DLLEXPORT unsigned countTrailingZeros_8 (uint8_t Val );
71
+ JL_DLLEXPORT unsigned countTrailingZeros_16 (uint16_t Val );
72
+ JL_DLLEXPORT unsigned countTrailingZeros_32 (uint32_t Val );
73
+ JL_DLLEXPORT unsigned countTrailingZeros_64 (uint64_t Val );
74
74
75
75
//uint8_t getSwappedBytes_8(uint8_t Value); // no-op
76
76
//uint16_t getSwappedBytes_16(uint16_t Value);
0 commit comments