anthony cantor
f4bbb18e47
fixed arm test: arm code needs to be reverse b.c. its little endian
2013-09-18 11:52:20 -05:00
anthony cantor
25e6651055
added MCOperand methods
2013-09-18 11:52:20 -05:00
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
anthony cantor
8f2c27ba41
added TargetRegistry_targets_list
...
this allows all targets to be enumerated. this is generally useful,
but i specifically wanted to be able to see which targets report
having a disassembler. it is necessary to init the various
target components in order for them to report that they have one,
thus i added InitializeAllDisassemblers and InitializeAllAsmParsers
to TargetSelect.py
2013-09-18 11:52:20 -05:00
anthony cantor
ef59848d18
modify build process to support all targets
...
my goal is to facillitate a wide range of disassembly capability through
llvm disassemblers, so supporting as many machine targets as possible is ideal.
2013-09-18 11:52:20 -05:00
anthony cantor
4905743e0a
add BytesMemoryObject to extra.h and a binding for it in llvmpy/src
2013-09-18 11:52:20 -05:00
Jon Riehl
09d9dbba1e
Merge pull request #83 from sergiopasra/noshebang
...
Remove shebangs from library code
2013-09-09 14:12:40 -07:00
Sergio Pascual
aae25f5e55
Remove shebangs from library code
2013-09-09 13:00:01 +02:00
Siu Kwan Lam
af2c1d6d01
update change log
0.12.0
2013-08-28 17:11:03 -05:00
Siu Kwan Lam
4e993570cd
disable logging to avoid a exception ignored message
2013-08-28 14:18:35 -05:00
Siu Kwan Lam
6bbf53241d
revive a casting code in the binding
2013-08-28 13:55:38 -05:00
Siu Kwan Lam
0801df41dc
fix upcasting problem ( #77 thanks to cantora)
2013-08-26 12:23:28 -05:00
Siu Kwan Lam
24f1b33737
Fix a ownership bug (thanks to cantora)
2013-08-23 10:59:47 -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
majidaldo
33ca795e0c
remove chrpath
2013-08-16 11:50:38 -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
ea5b430297
add IR files in setup.py
2013-08-14 18:09:17 -05:00
Siu Kwan Lam
5f01343bba
Merge branch 'llrt'
2013-08-14 17:45:58 -05:00
Siu Kwan Lam
bf8693bb80
disable float div/mod test temporarily
2013-08-14 17:45:38 -05:00
Siu Kwan Lam
e69048ad3d
add div64 and mod64
2013-08-14 17:24:34 -05:00
Siu Kwan Lam
8480d55faf
add sdivmod;
...
improve build system;
2013-08-14 15:29:13 -05:00
majidaldo
7d1c4c18a0
high version number
2013-08-14 14:39:10 -05:00
Siu Kwan Lam
07c64779d8
begin low-level runtime implementation
2013-08-13 18:38:41 -05:00
Siu Kwan Lam
d10b182479
dislabe MCJIT tests for LLVM3.2
2013-08-13 15:27:54 -05:00
majidaldo
1be8b07ced
charpath just for linux
2013-08-13 14:59:33 -05:00
majidaldo
3a289ccace
add percent python
2013-08-13 14:55:42 -05:00
majidaldo
bf0253c9f9
add chrpath
2013-08-13 14:55:13 -05:00
majidaldo
d060c10096
add conda build script
2013-08-13 14:42: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
Ilan Schnell
84a95945ea
update marker header file
2013-08-06 14:17:14 -05:00
Siu Kwan Lam
0421ad8456
add dev docs
2013-08-02 12:12:47 -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
625858aa6f
fixes
2013-07-31 16:05:24 -05:00
Siu Kwan Lam
6d3253e4ea
Add things to make MCJIT working
2013-07-31 15:44:01 -05:00
Siu Kwan Lam
4c1b9016fb
binding compiles with llvm 3.3
2013-07-31 15:12:23 -05:00
Siu Kwan Lam
2338eae5f6
Fix py3 str has no buffer interface
2013-06-13 17:17:43 -05:00
Siu Kwan Lam
2415042a2a
DIDescriptor does not inherit MDNode
0.11.3
2013-05-31 15:01:02 -05:00