| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In standard C since C89, a 'translation-unit' is syntactically defined to have
at least one "external-declaration", which is either a decl or a function
definition. In Clang the latter gives us a declaration as well.
The tricky bit about this warning is that our predefines can contain external
declarations (__builtin_va_list and the 128-bit integer types). Therefore our
AST parser now makes sure we have at least one declaration that doesn't come
from the predefines buffer.
Also, remove bogus warning about empty source files. This doesn't catch source
files that only contain comments, and never fired anyway because of our
predefines.
PR12665 and <rdar://problem/9165548>
llvm-svn: 158085
|
| |
|
|
|
|
|
| |
matter.
rdar://11579835
llvm-svn: 158084
|
| |
|
|
|
|
| |
allocated state
llvm-svn: 158083
|
| |
|
|
| |
llvm-svn: 158082
|
| |
|
|
| |
llvm-svn: 158081
|
| |
|
|
|
|
|
| |
Remat has been stable for years, and it isn't done by
LiveIntervalAnalysis any longer. (See LiveRangeEdit).
llvm-svn: 158079
|
| |
|
|
| |
llvm-svn: 158078
|
| |
|
|
| |
llvm-svn: 158077
|
| |
|
|
| |
llvm-svn: 158076
|
| |
|
|
|
|
| |
its own CheckFailed function.
llvm-svn: 158075
|
| |
|
|
| |
llvm-svn: 158074
|
| |
|
|
|
|
|
|
|
| |
instructions to reoptimize. Exploit this to more systematically eliminate
dead instructions (this isn't very useful in practice but is convenient for
analysing some testcase I am working on). No need for WeakVH any more: use
an AssertingVH instead.
llvm-svn: 158073
|
| |
|
|
|
|
| |
bytes w/o losing any information
llvm-svn: 158072
|
| |
|
|
|
|
| |
kernels
llvm-svn: 158071
|
| |
|
|
| |
llvm-svn: 158070
|
| |
|
|
| |
llvm-svn: 158069
|
| |
|
|
| |
llvm-svn: 158068
|
| |
|
|
| |
llvm-svn: 158067
|
| |
|
|
|
|
| |
tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms).
llvm-svn: 158065
|
| |
|
|
|
|
|
|
| |
We will use the cuda library for the upcoming automatic GPGPU code generation.
Contributed by: Yabin Hu <yabin.hwu@gmail.com>
llvm-svn: 158064
|
| |
|
|
|
|
|
|
| |
harmful even by Microsoft people and clang won't build using the MSVC 2012 RC if not removed.
Only 1 minor code change was necessary: can't use cdecl as variable name anymore.
llvm-svn: 158063
|
| |
|
|
| |
llvm-svn: 158060
|
| |
|
|
| |
llvm-svn: 158059
|
| |
|
|
|
|
| |
implementation.
llvm-svn: 158058
|
| |
|
|
| |
llvm-svn: 158057
|
| |
|
|
| |
llvm-svn: 158056
|
| |
|
|
| |
llvm-svn: 158055
|
| |
|
|
|
|
|
| |
unused private fields of classes that are fully defined in the current
translation unit.
llvm-svn: 158054
|
| |
|
|
| |
llvm-svn: 158053
|
| |
|
|
|
|
| |
sanitizer_common.
llvm-svn: 158052
|
| |
|
|
| |
llvm-svn: 158051
|
| |
|
|
|
|
| |
runtimes. Use __sanitizer::Die() in TSan.
llvm-svn: 158050
|
| |
|
|
| |
llvm-svn: 158049
|
| |
|
|
|
|
|
|
| |
to see more of the path
to discover how a value was used uninitialized.
llvm-svn: 158048
|
| |
|
|
|
|
| |
assumptions about the behavior of allocator in test code
llvm-svn: 158047
|
| |
|
|
| |
llvm-svn: 158046
|
| |
|
|
| |
llvm-svn: 158045
|
| |
|
|
| |
llvm-svn: 158044
|
| |
|
|
|
|
|
|
|
|
|
| |
GDBRemoteCommunicationClient::SendContinuePacketAndWaitForReply where we weren't taking
m_interrupt_sent into account. Also don't reset m_interrupt_sent in SendInterrupt but do so in SendPacketAndWaitForResponse
when we know we've handled the interrupt.
Fix a code path through ProcessGDBRemote::DoDestroy where we were tearing down the debug session but
not setting the exit status.
llvm-svn: 158043
|
| |
|
|
|
|
|
|
|
| |
middle of HandlePrivateEvent we
wait till that is done. We need a stronger way to do this, but in practice this works and using some locking
strategy is harder because Halt & HandlePrivateEvent generally happen on different threads.
llvm-svn: 158042
|
| |
|
|
|
|
| |
It is useful outside RegAllocBase.
llvm-svn: 158041
|
| |
|
|
|
|
| |
parameter pack is a converting constructor. Fixes PR13003.
llvm-svn: 158040
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The output of 'register read' should be prettier.
Modify RegisterValue::Dump() to take an additional parameter:
uint32_t reg_name_right_align_at
which defaults to 0 (i.e., no alignment at all). Update the 'register read' command impl to pass 8
as the alignment to RegisterValue::Dump() method. If more sophisticated scheme is desired, we will
need to introduce an additional command option to 'register read' later on.
llvm-svn: 158039
|
| |
|
|
|
|
|
|
| |
Soon we'll be making LiveIntervalUnions for register units as well.
This was the only place using the RepReg member, so just remove it.
llvm-svn: 158038
|
| |
|
|
| |
llvm-svn: 158037
|
| |
|
|
| |
llvm-svn: 158032
|
| |
|
|
|
|
|
|
|
|
| |
Don't print out the register number and spill weight, making the TRI
argument unnecessary.
This allows callers to interpret the reg field. It can currently be a
virtual register, a physical register, a spill slot, or a register unit.
llvm-svn: 158031
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of computing a live interval per physreg, LiveIntervals can
compute live intervals per register unit. This makes impossible the
confusing situation where aliasing registers could have overlapping live
intervals. It should also make fixed interferernce checking cheaper
since registers have fewer register units than aliases.
Live intervals for regunits are computed on demand, using MRI use-def
chains and the new LiveRangeCalc class. Only regunits live in to ABI
blocks are precomputed during LiveIntervals::runOnMachineFunction().
The regunit liveness computations don't depend on LiveVariables.
llvm-svn: 158029
|
| |
|
|
|
|
|
|
| |
locations, forcing
adjacent edges to have compatible ranges. This simplifies the layout logic for some clients.
llvm-svn: 158028
|
| |
|
|
|
|
|
| |
These LiveRangeCalc methods are to be used when computing a live range
from scratch.
llvm-svn: 158027
|