anthony cantor
38a00c6e55
fixed typo in new_from_triple and added args to new_from_name
...
new_from_triple: need to pass subtarget info to new_from_target
new_from_name: allow caller to pass cpu and feature info
2013-09-18 11:52:20 -05:00
anthony cantor
818c9289fc
implemented binding for MCDisassembler.getInstruction
...
also added new llvm.mc module to act as higher level
python access to the MC section of LLVM (added Instr
and Disassembler classes).
2013-09-18 11:52:20 -05:00
anthony cantor
ba03b226c8
added Target.createMCSubtargetInfo and createMCDisassembler
...
also added bindings to classes required by the target methods. also
added a convenience function to initialize all target components to
the llvm module
2013-09-18 11:52:20 -05:00
Siu Kwan Lam
536bc37c94
Disable MCJIT test on windows 64-bit ( #79 )
2013-08-22 14:13:17 -05:00
Jay Bourque
351bd39814
Python3 fix: Implement __hash__ method for Value class
2013-08-20 17:20:57 -05:00
Siu Kwan Lam
d57c4d88c6
fix x86 arch type for LLRT
2013-08-14 18:25:32 -05:00
Siu Kwan Lam
328f88bbd5
llvm3.3 has a different TargetTransformInfo
2013-08-14 18:18:05 -05:00
Siu Kwan Lam
bf8693bb80
disable float div/mod test temporarily
2013-08-14 17:45:38 -05:00
Siu Kwan Lam
d10b182479
dislabe MCJIT tests for LLVM3.2
2013-08-13 15:27:54 -05:00
Siu Kwan Lam
1ed3c77310
add neg nuw nsw
2013-08-12 16:16:38 -05:00
Siu Kwan Lam
cfe5e9ea92
add exact flag to IRBuilder
2013-08-12 16:11:34 -05:00
Siu Kwan Lam
1e9d37a64e
add no-signed-wrap and no-unsigned-wrap flags to IRBuilder
2013-08-12 15:59:17 -05:00
Siu Kwan Lam
eb4fc653f2
ensure MCJIT ELF autoselect works
2013-08-12 14:52:16 -05:00
Siu Kwan Lam
b4d943a671
add autoselect ELF generation for MCJIT
2013-08-12 14:43:30 -05:00
Siu Kwan Lam
c20c4d776f
fix exception handling for TargetMachine
2013-08-12 14:43:30 -05:00
Siu Kwan Lam
2a25b1c2b3
fix avx detection for py3
2013-08-01 13:04:04 -05:00
Siu Kwan Lam
c4db61c7f5
add test for basic arith operators and problems for div and mod on 32bit platforms
2013-08-01 13:02:45 -05:00
Siu Kwan Lam
c0e9dedc90
add binding to dynamiclibrary namespace for multimodule linking
2013-07-31 17:50:30 -05:00
Siu Kwan Lam
319984f0e0
add MCJIT test
2013-07-31 16:57:29 -05:00
Siu Kwan Lam
56a511854a
update "attribute(s)" ignorance
2013-07-31 16:43:50 -05:00
Siu Kwan Lam
6d3253e4ea
Add things to make MCJIT working
2013-07-31 15:44:01 -05:00
Mark Florisson
6b333e84aa
Use error message string from BytesIO
2013-05-27 12:22:13 +01:00
Siu Kwan Lam
a0eb03b239
Fix CompareInstruction.predicate
2013-05-23 11:45:15 -05:00
Siu Kwan Lam
5b2b878f24
Enable MCJIT
2013-05-22 15:17:59 -05:00
Siu Kwan Lam
96dc907613
Make enum integer constants prints name
2013-05-16 13:46:57 -05:00
Siu Kwan Lam
592f9c6988
Allow retrieving argument attributes
2013-05-16 13:45:59 -05:00
Siu Kwan Lam
331f71f26f
Fix hashing of llvm type
2013-05-16 11:34:27 -05:00
Siu Kwan Lam
08bed7dd74
Fix bug with Module.to_bitcode() (Reported by Jun Koi)
2013-05-14 10:33:49 -05:00
Travis E. Oliphant
c118427118
Don't get name field from literal structure and avoid a segfault.
2013-05-14 04:26:10 -05:00
Siu Kwan Lam
489d8056b9
Fix error msg
2013-05-03 10:57:38 -05:00
Siu Kwan Lam
a357987597
Allow initialization of other targets.
...
- Remove PTX/NVPTX targets from default built and init
2013-05-03 10:45:02 -05:00
Siu Kwan Lam
b754e803ec
Cleanup
2013-05-02 12:17:38 -05:00
Siu Kwan Lam
a5f6f2596f
Fix ignored name arg
2013-05-02 12:16:39 -05:00
Conner Bryan
e74b26f84c
Add methods to instructions to retrieve metadata and determine if metadata exists for the instruction.
2013-04-27 09:01:32 -03:00
Siu Kwan Lam
0b1abe7b26
Add isLayoutIdentical
2013-04-01 11:24:19 -05:00
Siu Kwan Lam
d06a5f3eb4
Fix setOptLevel in EngineBuilder
2013-03-24 14:58:04 -05:00
Siu Kwan Lam
edc391f292
Merge pull request #61 from hgrecco/master
...
Fix Python 3.2 and provides testing for travis
2013-03-13 08:35:24 -07:00
Siu Kwan Lam
ec0dda4621
Fix ownership bug
2013-03-12 21:38:00 -05:00
Ilan Schnell
3c4769c58d
test bug: only attempt to compile when cc is available
2013-03-05 16:47:31 -06:00
Hernan Grecco
372d601875
Changed test command for travis
2013-03-04 23:37:28 -03:00
Ilan Schnell
f8deae06dd
remove excess whitespace
2013-03-02 12:56:00 -06:00
Siu Kwan Lam
fde153aab6
Add relocation model enums and allow TargetMachine to handle these enums
2013-02-28 18:05:30 -06:00
Siu Kwan Lam
0cccb3dec9
Attempt to fix object code printing problem due to unicode
2013-02-27 19:03:44 -06:00
Siu Kwan Lam
9df508f7c0
Fix test with unicode problem in py3k
2013-02-27 18:43:57 -06:00
Siu Kwan Lam
cd8d622fc9
Fix mysin test for AVX support
2013-02-27 18:34:00 -06:00
Siu Kwan Lam
9f9d5a6081
More fixes to disable AVX in tests
2013-02-27 18:31:54 -06:00
Siu Kwan Lam
8073b67c96
Fix test related to AVX instructions.
2013-02-27 18:28:15 -06:00
Siu Kwan Lam
d485c22b08
Add llvm.workaround package
2013-02-27 16:32:00 -06:00
Siu Kwan Lam
93cd20e933
Fix for python 3
2013-02-27 13:48:08 -06:00
Siu Kwan Lam
740d2595ee
Replace StringIO with BytesIO
2013-02-27 13:25:19 -06:00