Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Fixes SjLj preparation step on iOS #8

Closed
wants to merge 906 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
906 commits
Select commit Hold shift + click to select a range
371446a
[X86] Teach how to dump the name of target node RDTSCP_DAG.
Jun 12, 2014
24ba4fa
[mips][mips64r6] Add bgec and bgeuc instructions
Jun 12, 2014
14e97c4
[mips] Use MTHC1 when it is available (MIPS32r2 and later) for both F…
dsandersllvm Jun 12, 2014
9ac3cc8
Don't import make_error_code into the llvm namespace.
espindola Jun 12, 2014
10ce787
[mips][mips64r6] Add R_MIPS_PC19_S2
Jun 12, 2014
7a2514f
[mips][mips64r6] jalx is not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 12, 2014
8007133
[mips][mips64r6] c.cond.fmt, mov[fntz], and mov[fntz].[ds] are not av…
dsandersllvm Jun 12, 2014
c673d0b
[mips][mips64r6] 80 col corrections that should have been in r210777.
dsandersllvm Jun 12, 2014
7554a4a
[mips][mips64r6] prefx is not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 12, 2014
7edfaf7
This removes TODO added in http://reviews.llvm.org/D3658
dkdwivedi Jun 12, 2014
15aa07b
Replace llvm::error_code with std::error_code.
espindola Jun 12, 2014
28002c2
[mips][mips64r6] [sl][duw]xc1 are not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 12, 2014
159b95c
[mips][mips64r6] bc2[ft] are not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 12, 2014
1f4c755
[mips][mips64r6] bc1[tf] are not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 12, 2014
5eba90a
Disable the load/store optimization pass for Thumb-1.
Jun 12, 2014
82a51de
Revert "SelectionDAG: Enable (and (setcc x), (setcc y)) -> (setcc (an…
tstellarAMD Jun 12, 2014
070d532
Remove pimpl class from PassRegistry.
Jun 12, 2014
f58ab6b
adding re-include guards into lib/Support/reg*.h
Jun 12, 2014
d5132f9
Remove system_error.h.
espindola Jun 12, 2014
daf73d6
Trying to fix the windows build.
espindola Jun 12, 2014
a984b30
X86: stifle GCC warning
compnerd Jun 12, 2014
2627806
Revert r210721 as it causes breakage in internal builds (and possibly…
eliben Jun 12, 2014
7c3436d
Add missing "InitializerConstant" to global variable syntax in LangRef.
bob-wilson Jun 12, 2014
4dfa681
[llvm-symbolizer] Fix parsing DW_AT_ranges in Fission skeleton compil…
vonosmas Jun 12, 2014
a15b05e
Revert "[FastIsel][X86] Add support for lowering the first 8 floating…
ributzka Jun 12, 2014
3455c40
CodeGen: enable mov.w/mov.t pairs with minsize for WoA
compnerd Jun 12, 2014
3f2b28d
[FastIsel][X86] Add support for lowering the first 8 floating-point a…
ributzka Jun 12, 2014
c7147a3
[FastISel][X86] Argument lowering test case
ributzka Jun 12, 2014
4cea002
LangRef: clarify that global declarations can have section and alignm…
bob-wilson Jun 12, 2014
054a744
Move PPCFrameLowering into PPCSubtarget from PPCTargetMachine. Use
echristo Jun 12, 2014
159a755
Move DataLayout from the PPCTargetMachine to the subtarget.
echristo Jun 12, 2014
00c3986
R600: Mostly remove remaining AMDIL intrinsics.
arsenm Jun 12, 2014
3fdfffb
GVN: Enable value forwarding for calloc
dexonsmith Jun 12, 2014
cc738f8
Update test case to use "not" instead of "XFAIL".
ributzka Jun 12, 2014
231097b
Delete trailing whitespace.
arsenm Jun 12, 2014
7418e1f
Move test for r210734 to Feature/aliases.ll.
bob-wilson Jun 12, 2014
5c792fa
Don't use 'using std::error_code' in include/llvm.
espindola Jun 12, 2014
f7ab98c
Remove TargetMachine from PPCInstrInfo and all dependencies and
echristo Jun 12, 2014
647ab7f
Try to fix the windows build.
espindola Jun 12, 2014
e3466d3
Move PPCInstrInfo off of the target machine and onto the subtarget.
echristo Jun 12, 2014
f8f75df
[modules] The LLVM C API does not require C++!
zygoloid Jun 12, 2014
01d3cb8
Fix the build of KillTheDoctor.
espindola Jun 12, 2014
ad80737
Remove the use of TargetMachine from PPCJITInfo and replace with
echristo Jun 12, 2014
4ecff11
Move PPCJITInfo off of the TargetMachine and onto the subtarget.
echristo Jun 12, 2014
796f114
Fix the scheduler's MaxObservedStall computation.
atrick Jun 12, 2014
f6b9efa
Rename PPCSubTarget to Subtarget in PPCTargetLowering for consistency.
echristo Jun 12, 2014
cb7dc25
Remove an extraneous this-> to access the subtarget.
echristo Jun 12, 2014
a715914
Move PPCTargetLowering off of the TargetMachine and onto the subtarget.
echristo Jun 12, 2014
8c5dc52
Make PPCSelectionDAGInfo take a DataLayout instead of a TargetMachine
echristo Jun 12, 2014
cccc317
Move the PPCSelectionDAGInfo off the TargetMachine and onto the
echristo Jun 12, 2014
4eddf94
[FastISel][X86] Add MachineMemOperand to load/store instructions.
ributzka Jun 12, 2014
9a81e28
Have ARMSelectionDAGInfo take a DataLayout as it's argument as the
echristo Jun 12, 2014
740a759
[DWARF parser] Fix broken address ranges construction.
vonosmas Jun 12, 2014
1ee2461
Move to a private function to initialize subtarget dependencies
echristo Jun 13, 2014
f7a2d5e
Move ARMSelectionDAGInfo from the TargetMachine to the subtarget.
echristo Jun 13, 2014
7f8d138
[FastISel][X86] - Add branch weights
ributzka Jun 13, 2014
aa48b83
R600: Drop use of cached TargetMachine in AMDGPUInstrInfo.cpp
tstellarAMD Jun 13, 2014
a20bcb9
Remove all uses of 'using std::error_code' from headers.
espindola Jun 13, 2014
ee0f389
R600: Drop use of cached TargetMachine in R600InstrInfo.cpp
tstellarAMD Jun 13, 2014
6b0a08b
R600: Move AMDGPUInstrInfo from AMDGPUTargetMachine into AMDGPUSubtarget
tstellarAMD Jun 13, 2014
e431884
[FastISel][X86] Add support for cvttss2si/cvttsd2si intrinsics.
ributzka Jun 13, 2014
4e2b922
Remove 'using std::errro_code' from lib.
espindola Jun 13, 2014
7532b40
Fix build on windows.
espindola Jun 13, 2014
1ad4502
Remove 'using std::error_code' from tools.
espindola Jun 13, 2014
2503051
Remove the last uses of 'using std::error_code'
espindola Jun 13, 2014
d344c6b
R600/SI: Fix selection error on i64 rotl / rotr.
arsenm Jun 13, 2014
efa4805
R600: Don't call setOperationAction with things that aren't opcodes.
arsenm Jun 13, 2014
a19c2d4
ARM: Fix fastcc calling convention for Thumb1
ostannard Jun 13, 2014
d5d864b
CPP backend: set volatile property on atomic instructions.
TNorthover Jun 13, 2014
a411d0e
Add HasCDI predicate to AVX512 VPBROADCASTM*.
mcinally Jun 13, 2014
c5865cb
llvm/test/CodeGen/X86/fast-isel-args-fail2.ll: Don't expect to fail w…
chapuni Jun 13, 2014
94afbc6
[Win32] Let utils/not aware of abort(), aka llvm_unreachable(), in ms…
chapuni Jun 13, 2014
21c016f
[mips][mips64r6] daddi is not available on MIPS64r6
dsandersllvm Jun 13, 2014
21ed78f
[mips][mips64r6] b(ge|lt)zal are not available on MIPS32r6/MIPS64r6 a…
dsandersllvm Jun 13, 2014
ef8e567
[mips][mips64r6] bc1any[24] are not available on MIPS32r6/MIPS64r6
dsandersllvm Jun 13, 2014
7cfd0ff
[mips] Add cache and pref instructions
dsandersllvm Jun 13, 2014
1d5e379
Fix bad copy-and-paste from r210652. AVX512 masked leading zero intri…
mcinally Jun 13, 2014
8f2a85e
IR: add "cmpxchg weak" variant to support permitted failure.
TNorthover Jun 13, 2014
ab47c15
Docs: fix grammar error in description
TNorthover Jun 13, 2014
6eaf840
Docs: remove extra {} around result types.
TNorthover Jun 13, 2014
636ae2b
[mips][mips64r6] Relocation R_MIPS_PC18_S3
Jun 13, 2014
e1a9d50
SCCP: update for cmpxchg returning { iN, i1 } now.
TNorthover Jun 13, 2014
087c5bc
Fix KillTheDoctor after r210725.
espindola Jun 13, 2014
520ae5c
Remove broken include.
espindola Jun 13, 2014
cc0d35a
Remove unused and odd code.
espindola Jun 13, 2014
df46288
opt: Initialize asm printers
tobiasgrosser Jun 13, 2014
61bc72e
R600: Remove AMDIL instruction and register definitions
tstellarAMD Jun 13, 2014
6b3ed2b
Atomics: switch direction of cmpxchg comparison
TNorthover Jun 13, 2014
33fe993
Atomics: make use of the "cmpxchg weak" instruction.
TNorthover Jun 13, 2014
d8b2310
Finishing touch for the std::error_code transition.
espindola Jun 13, 2014
f317d86
R600: Cleanup some old AMDIL stuff.
arsenm Jun 13, 2014
eee7a7a
X86: lower ATOMIC_CMP_SWAP_WITH_SUCCESS directly
TNorthover Jun 13, 2014
6140939
Remove top-level Clang -fsanitize= flags for optional ASan features.
vonosmas Jun 13, 2014
89e90b2
Make the error-handling functions thread-safe.
Jun 13, 2014
0c2029a
test/DebugInfo/X86/dbg-value-isel.s: correct lexical block descriptor…
dwblaikie Jun 13, 2014
c4268a6
DebugInfo: Refactor some tests to allow DW_AT_name to not be the firs…
dwblaikie Jun 13, 2014
0fcb9cb
DebugInfo: Following up to r209677, refactor local variable emission …
dwblaikie Jun 13, 2014
9907af9
DwarfDebug::getExistingAbstractVariable: constify an existing referen…
dwblaikie Jun 13, 2014
869d3ef
[DWARF parser] Use distinction between DW_AT_ranges_base and DW_AT_GN…
vonosmas Jun 13, 2014
f154f3b
DebugInfo: Reference abstract definitions from variables in concrete …
dwblaikie Jun 13, 2014
0cf109d
Fix typo.
echristo Jun 13, 2014
7354a3f
The hazard recognizer only needs a subtarget, not a target machine
echristo Jun 13, 2014
c5bc067
Move GlobalMerge from Transform to CodeGen.
Jun 13, 2014
087f56e
Complete remove test/Transforms/GlobalMerge.
Jun 13, 2014
58c99da
Move ARMJITInfo off of the TargetMachine and down onto the subtarget.
echristo Jun 13, 2014
53551e2
Remove InstrItineraryData off of the TargetMachine - it's already
echristo Jun 13, 2014
d32eccc
DebugInfo: Remove some extra handling of abstract variables and inste…
dwblaikie Jun 13, 2014
38be65b
Remove extra whitespace in function declaration. No functionality cha…
nlewycky Jun 14, 2014
15f474c
R600: Use address space enum instead of value
arsenm Jun 14, 2014
aac455a
R600: Fix asserts related to constant initializers
arsenm Jun 14, 2014
212514f
Fix typo
arsenm Jun 14, 2014
7a3a020
R600: Add failing testcases.
arsenm Jun 14, 2014
9bb92cb
Renaming SwapByteOrder() to getSwappedBytes()
Jun 14, 2014
25e659b
Adding llvm::sys::swapByteOrder() for the common use-case of byte-swa…
Jun 14, 2014
ab22d95
Using llvm::sys::swapByteOrder() for the common case of byte-swapping…
Jun 14, 2014
f6b4b10
Replacing the private implementations of SwapValue with calls to sys:…
Jun 14, 2014
e12d893
Don't expect tests always crashing. Add "REQUIRES:asserts".
chapuni Jun 15, 2014
94fe5c1
AArch64: improve vector [su]itofp handling.
TNorthover Jun 15, 2014
8bfc50e
AArch64: improve handling & modelling of FP_TO_XINT nodes.
TNorthover Jun 15, 2014
40ed1d8
LegalizeDAG: make sure cast is unsigned before using FP_TO_UINT.
TNorthover Jun 15, 2014
cc3f31a
Add specialization of FoldingSetTrait for std::pair.
r4nt Jun 15, 2014
5379c69
PR20038: DebugInfo missing DIEs for some concrete variables.
dwblaikie Jun 15, 2014
36b9c7c
R600: Remove dead code
arsenm Jun 15, 2014
61bfbc4
R600: Report that integer division is expensive.
arsenm Jun 15, 2014
47d34ab
Temporarily revert r210953 in an attempt to bring the ARM buildbots
echristo Jun 15, 2014
57177e3
R600: Move division custom lowering out of AMDILISelLowering
arsenm Jun 15, 2014
62f6ab7
R600: Move / cleanup more leftover AMDIL stuff.
arsenm Jun 15, 2014
e2480a2
R600: Fix assert on vector sdiv
arsenm Jun 15, 2014
fa848cc
R600: Remove a few more things from AMDILISelLowering
arsenm Jun 15, 2014
3c11f69
R600: Add a rotr testcase I forgot to add
arsenm Jun 15, 2014
f9ef37a
Fix copy paste error
arsenm Jun 15, 2014
f6eb7e3
Canonicalize addrspacecast ConstExpr between different pointer types
Jun 15, 2014
467e6ad
ARMEB: Fix trunc store for vector types
Jun 16, 2014
5ee24f3
[mips][mips64r6] [ls][wd]c2 were re-encoded with 11-bit signed immedi…
dsandersllvm Jun 16, 2014
b0e4096
[mips] Merge most of the big/little endian checks in atomic.ll
dsandersllvm Jun 16, 2014
b3820b4
[AArch64] Fix a fencepost error in lowering for llvm.aarch64.neon.uqshl.
Jun 16, 2014
9becc6c
Support/ConvertUTF: implement U+FFFD insertion according to the recom…
gribozavr Jun 16, 2014
438c85b
Support/ConvertUTF: restore compatibility with MSVC, which only imple…
gribozavr Jun 16, 2014
af0d72a
[mips][mips64r6] ll, sc, lld, and scd are re-encoded on MIPS32r6/MIPS…
dsandersllvm Jun 16, 2014
77ae274
[mips][mips64r6] cl[oz], and dcl[oz] are re-encoded in MIPS32r6/MIPS64r6
dsandersllvm Jun 16, 2014
dfcd461
[mips][mips64r6] ssnop is deprecated on MIPS32r6/MIPS64r6
dsandersllvm Jun 16, 2014
5d57928
Hook up vector int_ctlz for AVX512.
mcinally Jun 16, 2014
d492c19
[AArch64] Remove dead code.
Jun 16, 2014
0659928
Convert the Archive API to use ErrorOr.
espindola Jun 16, 2014
7f2f94f
Fix pr17056.
espindola Jun 16, 2014
4085197
Refactor the disabling of Thumb-1 LDM/STM generation
Jun 16, 2014
dc2dc39
LowerSwitch: track bounding range for the condition tree.
Jun 16, 2014
a564159
Fix illegal relocations in X86FastISel
lgerbarg Jun 16, 2014
73b142e
ARM: implement correct atomic operations on v7M
TNorthover Jun 16, 2014
baf9879
Revert "lit: warn when passed invalid pathname" (r210597)
zmodem Jun 16, 2014
163eb09
Improve comments for r211040
lgerbarg Jun 16, 2014
4031acb
Clean up some unnecessary mutex guards.
Jun 16, 2014
e4f1220
Since the DataLayout is always found off of the subtarget go ahead
echristo Jun 16, 2014
212ec3a
[PPC64] Fix PR19893 - improve code generation for local function addr…
wschmidt-ibm Jun 16, 2014
5c1a1b2
ARM: intrinsic support for rbit.
Jun 16, 2014
44d2cdc
AArch64: Add backend intrinsic for rbit.
Jun 16, 2014
8b3a8d6
Add load/store functionality
Jun 16, 2014
9be5c8c
Users of the llvm global mutex must now acquire it manually.
Jun 16, 2014
aedb552
Remove some more code out into a separate CL.
Jun 16, 2014
497b7bb
Remove some code churn.
Jun 16, 2014
9020dc3
Kill the LLVM global lock.
Jun 16, 2014
4641b6b
Programmer's Manual changes.
Jun 16, 2014
298ff80
Cleanup more unreferenced MutexGuard parameters on functions.
Jun 16, 2014
5ea4669
Revert r211066, 211067, 211068, 211069, 211070.
Jun 16, 2014
4046db0
Teach LoopUnrollPass to respect loop unrolling hints in metadata.
eliben Jun 16, 2014
408691f
[FastISel][X86] Refactor the code to get the X86 condition from a hel…
ributzka Jun 16, 2014
84fea77
Expose ValueMap's mutex type as a typedef instead of a sys::Mutex.
Jun 17, 2014
0dee675
SROA: Only split loads on byte boundaries
dexonsmith Jun 17, 2014
4072aa3
Fix build breakage caused by change to ValueMapTest.
Jun 17, 2014
dcc9291
[InstCombine] mark ADD with nuw if no unsigned overflow
Jun 17, 2014
ecb1c3a
Modernize doc comments for SourceMgr.
jrose-apple Jun 17, 2014
4e23baa
Add an overload for SourceMgr::PrintMessage that takes an existing di…
jrose-apple Jun 17, 2014
8164e51
Convert a few loops to use ranges.
espindola Jun 17, 2014
d0dbed1
tools: Add a space between package version and LLVM_VERSION_INFO
bogner Jun 17, 2014
feacf82
Support: Inject LLVM_VERSION_INFO into the Support library
bogner Jun 17, 2014
792a173
[msan] Fix handling of multiplication by a constant with a number of …
eugenis Jun 17, 2014
9f27b05
ConvertUTF tests: remove uses of initializer lists to restore compati…
gribozavr Jun 17, 2014
3a001aa
[msan] Fix a comment.
eugenis Jun 17, 2014
c22960d
AArch64: estimate inline asm length during branch relaxation
TNorthover Jun 17, 2014
fc6e030
Fix memory leak of RegScavenger accidentally added in r211037.
Jun 17, 2014
3b2a256
Move SetTheory from utils/TableGen into lib/TableGen so Clang can use…
Jun 17, 2014
199da60
Fixed jump threading going to infinite loop.
dkdwivedi Jun 17, 2014
1d5ff6b
[FastISel][X86] Fix previous refactoring commit (r211077)
ributzka Jun 17, 2014
41bfd78
R600/SI: Re-initialize the m0 register after using it for indirect ad…
tstellarAMD Jun 17, 2014
bae98b1
SelectionDAG: Expand i64 = FP_TO_SINT i32
tstellarAMD Jun 17, 2014
ff8dc48
R600/SI: Add a pattern for llvm.AMDGPU.barrier.global
tstellarAMD Jun 17, 2014
f56e767
R600: Use LDS and vectors for private memory
tstellarAMD Jun 17, 2014
b5a9102
mark the old jit tests as unsupported for powerpc64 (for cmake)
willschm Jun 17, 2014
62e378b
R600/SI: Match ctlz_zero_undef
arsenm Jun 17, 2014
3f1f259
R600/SI: Match cttz_zero_undef
arsenm Jun 17, 2014
acc5e81
Add "-format darwin" to llvm-size to be like darwin's size(1) -m outp…
enderby Jun 17, 2014
476fd7c
Merge lib/Support/WindowsError.cpp into ib/Support/ErrorHandling.cpp.
espindola Jun 17, 2014
4a5916a
lit: simplify population of the actual_inputs array
zmodem Jun 17, 2014
540fe7f
R600/SI: Make sure target flags are set on pseudo VOP3 instructions
tstellarAMD Jun 17, 2014
97a66e6
Remove more occurrences of the unused-mutex-parameter pattern.
Jun 17, 2014
e8cb2ee
[FastISel][X86] Optimize predicates and fold CMP instructions.
ributzka Jun 17, 2014
41b3329
Allow X86FastIsel to cope with 64 bit absolute relocations
lgerbarg Jun 17, 2014
868e579
Add the coverage cflags to the link step as well to make sure
echristo Jun 17, 2014
10d664f
Replace some assert(0)'s with llvm_unreachable.
topperc Jun 18, 2014
74287ec
[AArch64] Fix a pattern match failure caused by creating improper CON…
Jun 18, 2014
1d04a23
Random Number Generator (llvm)
jfbastien Jun 18, 2014
02b4e6e
Revert "Random Number Generator (llvm)"
jfbastien Jun 18, 2014
42469f6
[llvm-readobj][ELF] New `-mips-plt-got` command line option to output
atanasyan Jun 18, 2014
4f05d1d
[llvm-readobj] Fix compile error.
atanasyan Jun 18, 2014
ef592db
[llvm-readobj] Fix member functions name style.
atanasyan Jun 18, 2014
5393254
DAG: move sret demotion into most basic LowerCallTo implementation.
TNorthover Jun 18, 2014
fc72762
[msan] Handle X86 *.psad.* and *.pmadd.* intrinsics.
eugenis Jun 18, 2014
a64058f
R600: Implement 64bit SHL
jvesely Jun 18, 2014
2d06e73
R600: Implement 64bit SRL
jvesely Jun 18, 2014
c32d52d
R600: Implement 64bit SRA
jvesely Jun 18, 2014
dd9e510
[mips] Remove the last usage of parseRegister from MipsAsmParser.
Jun 18, 2014
86f9d29
[mips] Implement alias for 'and' and 'or' instructions for all ISAs.
Jun 18, 2014
20887ff
[mips] Update MipsAsmParser so that it's possible to handle immediate…
Jun 18, 2014
c52345c
Add pattern for unsigned v4i32->v4f64 convert on AVX512.
mcinally Jun 18, 2014
7047ad9
[mips] Access $at only if necessary.
Jun 18, 2014
f3a4a4b
[mips][mips64r6] Add BLTC and BLTUC instructions
Jun 18, 2014
cacc062
[mips] Report correct location when "erroring" about the use of $at w…
Jun 18, 2014
c39b18b
[mips] Fix expansion of memory operation if destination register is n…
Jun 18, 2014
3fbbe94
Support LE in RelocVisitor::visitELF_PPC64_*
uweigand Jun 18, 2014
b7074b8
[PowerPC] Fix emitting instruction pairs on LE
uweigand Jun 18, 2014
aa6a13a
Do not XFAIL test/tools/llvm-cov tests on powerpc64le
uweigand Jun 18, 2014
336da8c
[PowerPC] Do not use BLA with the 64-bit SVR4 ABI
uweigand Jun 18, 2014
7fc6959
[X86] AVX512: Specify compressed displacement for vmovntdqa
anemet Jun 18, 2014
f1b790f
[X86] AVX512: Add non-temporal stores
anemet Jun 18, 2014
3de1bed
R600/SI: Comparisons set vcc.
arsenm Jun 18, 2014
f7aa5f9
R600/SI: Temporary fix for f64 fneg
arsenm Jun 18, 2014
a5395c0
R600: Custom lower f64 frint for pre-CI
arsenm Jun 18, 2014
debd831
R600: Implement f64 ftrunc, ffloor and fceil.
arsenm Jun 18, 2014
a841620
Fix a memory leak in the error path.
espindola Jun 18, 2014
95f1fa7
[mips] SYNC $stype instruction was added in Mips32
Jun 18, 2014
795ae86
R600/SI: Prettier operand printing for 64-bit ops.
arsenm Jun 18, 2014
2b6e6fc
R600/SI: Add intrinsics for brev instructions
arsenm Jun 18, 2014
5d5ddf9
Add a triple so that right syntax is choosen on mac osx systems
aschwaighofer Jun 18, 2014
496e7ea
[PowerPC] Add back test case for absolute calls (removed in r211174)
uweigand Jun 18, 2014
4380c61
Work around ridiculous warning.
arsenm Jun 18, 2014
0c57bab
[PowerPC] Simplify and improve loading into TOC register
uweigand Jun 18, 2014
52b6c2d
R600: Expand vector fceil
jvesely Jun 18, 2014
7ec69f6
ADT: correct typo in comment
emaste Jun 18, 2014
de04c48
[ARM] [MC] Refactor the constant pool classes
Jun 18, 2014
8252de6
ProfileData: Fix copy-paste type in RawInstrProfReader
bogner Jun 18, 2014
8dfacbc
Run clang-format in a small chunk of code I am about to change.
espindola Jun 18, 2014
75b56dc
Update to the latest registered ELF e_machine names and values.
espindola Jun 18, 2014
ffbd906
[PowerPC] Remove unnecessary load of r12 in indirect call
uweigand Jun 18, 2014
ec2d823
Simply test for available locations in optimization remarks.
dnovillo Jun 18, 2014
cc21bbd
Remove BitcodeReader::setBufferOwned.
espindola Jun 18, 2014
d681e31
Change IRObjectFile to parse the bitcode lazily.
espindola Jun 18, 2014
fff95d5
Make getBaseObject static.
espindola Jun 18, 2014
b279154
Revert a C API difference that I incorrectly introduced.
espindola Jun 18, 2014
1bba097
Add getPassInfo() function to llvm::Pass
c-a Dec 24, 2013
94b9a09
Fixes SjLj preparation step on iOS
vhbit Jun 20, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name

set(LLVM_ALL_TARGETS
AArch64
ARM64
ARM
CppBackend
Hexagon
Expand All @@ -144,7 +143,7 @@ set(LLVM_ALL_TARGETS
)

# List of targets with JIT support:
set(LLVM_TARGETS_WITH_JIT X86 PowerPC AArch64 ARM64 ARM Mips SystemZ)
set(LLVM_TARGETS_WITH_JIT X86 PowerPC AArch64 ARM Mips SystemZ)

set(LLVM_TARGETS_TO_BUILD "all"
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
Expand Down Expand Up @@ -235,7 +234,7 @@ option(LLVM_USE_OPROFILE
# If enabled, verify we are on a platform that supports oprofile.
if( LLVM_USE_OPROFILE )
if( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" )
message(FATAL_ERROR "OProfile support is available on Linux only.")
message(FATAL_ERROR "OProfile support is available on Linux only.")
endif( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" )
endif( LLVM_USE_OPROFILE )

Expand All @@ -245,6 +244,9 @@ set(LLVM_USE_SANITIZER "" CACHE STRING
option(LLVM_USE_SPLIT_DWARF
"Use -gsplit-dwarf when compiling llvm." OFF)

option(WITH_POLLY "Build LLVM with Polly" ON)
option(LINK_POLLY_INTO_TOOLS "Static link Polly into tools" OFF)

# Define an option controlling whether we should build for 32-bit on 64-bit
# platforms, where supported.
if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
Expand Down Expand Up @@ -516,9 +518,6 @@ endif()

add_subdirectory(projects)

option(WITH_POLLY "Build LLVM with Polly" ON)
option(LINK_POLLY_INTO_TOOLS "Static link Polly into tools" OFF)

if(WITH_POLLY)
if(NOT EXISTS ${LLVM_MAIN_SRC_DIR}/tools/polly/CMakeLists.txt)
set(WITH_POLLY OFF)
Expand Down Expand Up @@ -584,6 +583,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
PATTERN "*.inc"
# Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def"
PATTERN "CMakeFiles" EXCLUDE
PATTERN "config.h" EXCLUDE
PATTERN ".svn" EXCLUDE
)
endif()
16 changes: 14 additions & 2 deletions CREDITS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ N: Rafael Avila de Espindola
E: rafael.espindola@gmail.com
D: The ARM backend

N: Dave Estes
E: cestes@codeaurora.org
D: AArch64 machine description for Cortex-A53

N: Alkis Evlogimenos
E: alkis@evlogimenos.com
D: Linear scan register allocator, many codegen improvements, Java frontend
Expand Down Expand Up @@ -162,10 +166,12 @@ D: Improvements for space efficiency

N: James Grosbach
E: grosbach@apple.com
I: grosbach
D: SjLj exception handling support
D: General fixes and improvements for the ARM back-end
D: MCJIT
D: ARM integrated assembler and assembly parser
D: Led effort for the backend formerly known as ARM64

N: Lang Hames
E: lhames@gmail.com
Expand Down Expand Up @@ -339,6 +345,10 @@ D: LTO tool, PassManager rewrite, Loop Pass Manager, Loop Rotate
D: GCC PCH Integration (llvm-gcc), llvm-gcc improvements
D: Optimizer improvements, Loop Index Split

N: Ana Pazos
E: apazos@codeaurora.org
D: Fixes and improvements to the AArch64 backend

N: Wesley Peck
E: peckw@wesleypeck.com
W: http://wesleypeck.com/
Expand Down Expand Up @@ -368,8 +378,10 @@ D: ARM calling conventions rewrite, hard float support

N: Chad Rosier
E: mcrosier@codeaurora.org
D: ARM fast-isel improvements
D: Performance monitoring
I: mcrosier
D: AArch64 fast instruction selection pass
D: Fixes and improvements to the ARM fast-isel pass
D: Fixes and improvements to the AArch64 backend

N: Nadav Rotem
E: nrotem@apple.com
Expand Down
1 change: 1 addition & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ ifeq ($(ENABLE_COVERAGE),1)
BuildMode := $(BuildMode)+Coverage
CXX.Flags += -ftest-coverage -fprofile-arcs
C.Flags += -ftest-coverage -fprofile-arcs
LD.Flags += -ftest-coverage -fprofile-arcs
endif

# If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
Expand Down
91 changes: 5 additions & 86 deletions autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch],
amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
sparc*-*) llvm_cv_target_arch="Sparc" ;;
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
arm64*-*) llvm_cv_target_arch="ARM64" ;;
arm64*-*) llvm_cv_target_arch="AArch64" ;;
arm*-*) llvm_cv_target_arch="ARM" ;;
aarch64*-*) llvm_cv_target_arch="AArch64" ;;
mips-* | mips64-*) llvm_cv_target_arch="Mips" ;;
Expand Down Expand Up @@ -455,7 +455,7 @@ case $host in
amd64-* | x86_64-*) host_arch="x86_64" ;;
sparc*-*) host_arch="Sparc" ;;
powerpc*-*) host_arch="PowerPC" ;;
arm64*-*) host_arch="ARM64" ;;
arm64*-*) host_arch="AArch64" ;;
arm*-*) host_arch="ARM" ;;
aarch64*-*) host_arch="AArch64" ;;
mips-* | mips64-*) host_arch="Mips" ;;
Expand Down Expand Up @@ -786,7 +786,6 @@ else
PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;;
x86_64) AC_SUBST(TARGET_HAS_JIT,1) ;;
ARM) AC_SUBST(TARGET_HAS_JIT,1) ;;
AArch64) AC_SUBST(TARGET_HAS_JIT,0) ;;
Mips) AC_SUBST(TARGET_HAS_JIT,1) ;;
XCore) AC_SUBST(TARGET_HAS_JIT,0) ;;
MSP430) AC_SUBST(TARGET_HAS_JIT,0) ;;
Expand All @@ -797,7 +796,7 @@ else
esac
fi

TARGETS_WITH_JIT="AArch64 ARM ARM64 Mips PowerPC SystemZ X86"
TARGETS_WITH_JIT="ARM AArch64 Mips PowerPC SystemZ X86"
AC_SUBST(TARGETS_WITH_JIT,$TARGETS_WITH_JIT)

dnl Allow enablement of building and installing docs
Expand Down Expand Up @@ -950,7 +949,7 @@ if test "$llvm_cv_enable_crash_overrides" = "yes" ; then
fi

dnl List all possible targets
ALL_TARGETS="X86 Sparc PowerPC AArch64 ARM ARM64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600"
ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600"
AC_SUBST(ALL_TARGETS,$ALL_TARGETS)

dnl Allow specific targets to be specified for building (or not)
Expand All @@ -972,7 +971,7 @@ case "$enableval" in
sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
arm64) TARGETS_TO_BUILD="ARM64 $TARGETS_TO_BUILD" ;;
arm64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
Expand Down Expand Up @@ -1283,16 +1282,6 @@ AC_PATH_PROG(TAR, [tar], [gtar])
AC_PATH_PROG(BINPWD,[pwd], [pwd])

dnl Looking for misc. graph plotting software
AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
if test "$GRAPHVIZ" != "echo Graphviz" ; then
AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ${EXEEXT}",
[Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
fi
AC_PATH_PROG(DOT, [dot], [echo dot])
if test "$DOT" != "echo dot" ; then
AC_DEFINE([HAVE_DOT],[1],[Define if the dot program is available])
Expand All @@ -1303,76 +1292,6 @@ if test "$DOT" != "echo dot" ; then
AC_DEFINE_UNQUOTED([LLVM_PATH_DOT],"$DOT${EXEEXT}",
[Define to path to dot program if found or 'echo dot' otherwise])
fi
AC_PATH_PROG(FDP, [fdp], [echo fdp])
if test "$FDP" != "echo fdp" ; then
AC_DEFINE([HAVE_FDP],[1],[Define if the neat program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
FDP=`echo $FDP | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_FDP],"$FDP${EXEEXT}",
[Define to path to fdp program if found or 'echo fdp' otherwise])
fi
AC_PATH_PROG(NEATO, [neato], [echo neato])
if test "$NEATO" != "echo neato" ; then
AC_DEFINE([HAVE_NEATO],[1],[Define if the neat program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
NEATO=`echo $NEATO | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_NEATO],"$NEATO${EXEEXT}",
[Define to path to neato program if found or 'echo neato' otherwise])
fi
AC_PATH_PROG(TWOPI, [twopi], [echo twopi])
if test "$TWOPI" != "echo twopi" ; then
AC_DEFINE([HAVE_TWOPI],[1],[Define if the neat program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
TWOPI=`echo $TWOPI | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_TWOPI],"$TWOPI${EXEEXT}",
[Define to path to twopi program if found or 'echo twopi' otherwise])
fi
AC_PATH_PROG(CIRCO, [circo], [echo circo])
if test "$CIRCO" != "echo circo" ; then
AC_DEFINE([HAVE_CIRCO],[1],[Define if the neat program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
CIRCO=`echo $CIRCO | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_CIRCO],"$CIRCO${EXEEXT}",
[Define to path to circo program if found or 'echo circo' otherwise])
fi
AC_PATH_PROGS(GV, [gv gsview32], [echo gv])
if test "$GV" != "echo gv" ; then
AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
GV=`echo $GV | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV${EXEEXT}",
[Define to path to gv program if found or 'echo gv' otherwise])
fi
AC_PATH_PROG(DOTTY, [dotty], [echo dotty])
if test "$DOTTY" != "echo dotty" ; then
AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
DOTTY=`echo $DOTTY | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY${EXEEXT}",
[Define to path to dotty program if found or 'echo dotty' otherwise])
fi
AC_PATH_PROGS(XDOT, [xdot xdot.py], [echo xdot])
if test "$XDOT" != "echo xdot" ; then
AC_DEFINE([HAVE_XDOT],[1],[Define if the xdot program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" = "MingW" ; then
XDOT=`echo $XDOT | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_XDOT],"$XDOT${EXEEXT}",
[Define to path to xdot program if found or 'echo xdot' otherwise])
fi

dnl Find the install program
AC_PROG_INSTALL
Expand Down
2 changes: 1 addition & 1 deletion autoconf/m4/link_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
AC_DEFUN([AC_LINK_GET_VERSION],
[AC_CACHE_CHECK([for linker version],[llvm_cv_link_version],
[
version_string="$(ld -v 2>&1 | head -1)"
version_string="$(${LD:-ld} -v 2>&1 | head -1)"

# Check for ld64.
if (echo "$version_string" | grep -q "ld64"); then
Expand Down
39 changes: 0 additions & 39 deletions autoconf/m4/path_tclsh.m4

This file was deleted.

9 changes: 5 additions & 4 deletions bindings/ocaml/llvm/llvm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type lluse
type llbasicblock
type llbuilder
type llmemorybuffer
type llmdkind

module TypeKind = struct
type t =
Expand Down Expand Up @@ -299,7 +300,7 @@ type ('a, 'b) llrev_pos =
external create_context : unit -> llcontext = "llvm_create_context"
external dispose_context : llcontext -> unit = "llvm_dispose_context"
external global_context : unit -> llcontext = "llvm_global_context"
external mdkind_id : llcontext -> string -> int = "llvm_mdkind_id"
external mdkind_id : llcontext -> string -> llmdkind = "llvm_mdkind_id"

(*===-- Modules -----------------------------------------------------------===*)
external create_module : llcontext -> string -> llmodule = "llvm_create_module"
Expand Down Expand Up @@ -442,9 +443,9 @@ external constexpr_opcode : llvalue -> Opcode.t = "llvm_constexpr_get_opcode"

(*--... Operations on instructions .........................................--*)
external has_metadata : llvalue -> bool = "llvm_has_metadata"
external metadata : llvalue -> int -> llvalue option = "llvm_metadata"
external set_metadata : llvalue -> int -> llvalue -> unit = "llvm_set_metadata"
external clear_metadata : llvalue -> int -> unit = "llvm_clear_metadata"
external metadata : llvalue -> llmdkind -> llvalue option = "llvm_metadata"
external set_metadata : llvalue -> llmdkind -> llvalue -> unit = "llvm_set_metadata"
external clear_metadata : llvalue -> llmdkind -> unit = "llvm_clear_metadata"

(*--... Operations on metadata .......,.....................................--*)
external mdstring : llcontext -> string -> llvalue = "llvm_mdstring"
Expand Down
11 changes: 7 additions & 4 deletions bindings/ocaml/llvm/llvm.mli
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ type llbuilder
See the [llvm::MemoryBuffer] class. *)
type llmemorybuffer

(** The kind id of metadata attached to an instruction. *)
type llmdkind

(** The kind of an [lltype], the result of [classify_type ty]. See the
[llvm::Type::TypeID] enumeration. *)
module TypeKind : sig
Expand Down Expand Up @@ -392,7 +395,7 @@ val global_context : unit -> llcontext
(** [mdkind_id context name] returns the MDKind ID that corresponds to the
name [name] in the context [context]. See the function
[llvm::LLVMContext::getMDKindID]. *)
val mdkind_id : llcontext -> string -> int
val mdkind_id : llcontext -> string -> llmdkind


(** {6 Modules} *)
Expand Down Expand Up @@ -770,15 +773,15 @@ val has_metadata : llvalue -> bool
(** [metadata i kind] optionally returns the metadata associated with the
kind [kind] in the instruction [i] See the function
[llvm::Instruction::getMetadata]. *)
val metadata : llvalue -> int -> llvalue option
val metadata : llvalue -> llmdkind -> llvalue option

(** [set_metadata i kind md] sets the metadata [md] of kind [kind] in the
instruction [i]. See the function [llvm::Instruction::setMetadata]. *)
val set_metadata : llvalue -> int -> llvalue -> unit
val set_metadata : llvalue -> llmdkind -> llvalue -> unit

(** [clear_metadata i kind] clears the metadata of kind [kind] in the
instruction [i]. See the function [llvm::Instruction::setMetadata]. *)
val clear_metadata : llvalue -> int -> unit
val clear_metadata : llvalue -> llmdkind -> unit


(** {7 Operations on metadata} *)
Expand Down
4 changes: 2 additions & 2 deletions bindings/ocaml/target/target_ocaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ CAMLprim value llvm_targetmachine_data_layout(value Machine) {
CAMLreturn(DataLayout);
}

/* TargetMachine.t -> bool -> unit */
CAMLprim value llvm_targetmachine_set_verbose_asm(value Machine, value Verb) {
/* bool -> TargetMachine.t -> unit */
CAMLprim value llvm_targetmachine_set_verbose_asm(value Verb, value Machine) {
LLVMSetTargetMachineAsmVerbosity(TargetMachine_val(Machine), Bool_val(Verb));
return Val_unit;
}
Expand Down
Loading