summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug found by valgrind.Jakob Stoklund Olesen2011-03-311-1/+1
| | | | llvm-svn: 128634
* Add XCore intrinsics for initializing / starting / synchronizing threads.Richard Osborne2011-03-313-6/+123
| | | | llvm-svn: 128633
* Reapply r128585 without generating a lib depedency cycle. An updated log:Bruno Cardoso Lopes2011-03-3110-87/+360
| | | | | | | | | | | | | - Implement asm parsing support for LDRT, LDRBT, STRT, STRBT and {STR,LDC}{2}_{PRE,POST} fixing the encoding wherever is possible. - Move all instructions which use am2offset without a pattern to use addrmode2. - Add a new encoding bit to describe the index mode used and teach printAddrMode2Operand to check by the addressing mode which index mode to print. - Testcases llvm-svn: 128632
* Fix whitespace.Michael J. Spencer2011-03-313-24/+24
| | | | llvm-svn: 128631
* Switch FileRemover from PathV1 to V2.Michael J. Spencer2011-03-316-21/+30
| | | | llvm-svn: 128630
* lib/CodeGen/LiveIntervalAnalysis.cpp: [PR9590] Don't use ↵NAKAMURA Takumi2011-03-311-1/+3
| | | | | | | | | | std::pow(float,float) here. We don't expect the real "powf()" on some hosts (and powf() would be available on other hosts). For consistency, std::pow(double,double) may be called instead. Or, precision issue might attack us, to see unstable regalloc and stack coloring. llvm-svn: 128629
* InstCombine: Fix transform to use the swapped predicate.Benjamin Kramer2011-03-312-3/+3
| | | | | | Thanks Frits! llvm-svn: 128628
* InstCombine: fold fcmp (fneg x), (fneg y) -> fcmp x, yBenjamin Kramer2011-03-312-0/+14
| | | | llvm-svn: 128627
* InstCombine: fold fcmp pred (fneg x), C -> fcmp swap(pred) x, -CBenjamin Kramer2011-03-312-0/+16
| | | | llvm-svn: 128626
* InstCombine: Shrink "fcmp (fpext x), C" to "fcmp x, C" if C can be ↵Benjamin Kramer2011-03-312-0/+57
| | | | | | | | losslessly converted to the type of x. Fixes PR9592. llvm-svn: 128625
* InstCombine: fold fcmp (fpext x), (fpext y) -> fcmp x, y.Benjamin Kramer2011-03-312-0/+18
| | | | llvm-svn: 128624
* Will not compile without the spec!Duncan Sands2011-03-311-1/+1
| | | | llvm-svn: 128623
* Strip trailing whitespace.Duncan Sands2011-03-312-14/+14
| | | | llvm-svn: 128622
* Whoops.John McCall2011-03-311-2/+2
| | | | llvm-svn: 128621
* Testcase for r128619 (PR9571).Bill Wendling2011-03-311-0/+15
| | | | llvm-svn: 128620
* After much contemplation, I've decided that we probably shouldn't "unique"John McCall2011-03-314-165/+279
| | | | | | | | | | | | | __block object copy/dispose helpers for C++ objects with those for different variables with completely different semantics simply because they happen to both be no more aligned than a pointer. Found by inspection. Also, internalize most of the helper generation logic within CGBlocks.cpp, and refactor it to fit my peculiar aesthetic sense. llvm-svn: 128618
* Add code to emulate VSTR ARM instruction (store a floating point register).Caroline Tice2011-03-311-0/+137
| | | | llvm-svn: 128614
* Add code to emulate the VLDR Arm instruction (load a floating poitn register).Caroline Tice2011-03-311-0/+134
| | | | llvm-svn: 128613
* Static analyzer: fix bug in handling of dynamic_cast<>. The sink node ↵Ted Kremenek2011-03-312-97/+100
| | | | | | | | wouldn't always be the final node, thus causing the state to continue propagating. Instead, recover some path-sensitivity by conjuring a symbol. llvm-svn: 128612
* Teach static analyzer about the basics of handling new[]. We still don't ↵Ted Kremenek2011-03-312-9/+20
| | | | | | simulate constructors, but at least the analyzer doesn't think the return value is uninitialized. llvm-svn: 128611
* Pick a conservative register class when creating a small live range for remat.Jakob Stoklund Olesen2011-03-312-1/+62
| | | | | | | | | | | | The rematerialized instruction may require a more constrained register class than the register being spilled. In the test case, the spilled register has been inflated to the DPR register class, but we are rematerializing a load of the ssub_0 sub-register which only exists for DPR_VFP2 registers. The register class is reinflated after spilling, so the conservative choice is only temporary. llvm-svn: 128610
* Add "Bits64" utility function.Caroline Tice2011-03-312-9/+219
| | | | | | Add code to emulate VSTM ARM instruction (store multiple floating point registers). llvm-svn: 128609
* Move all the significant __block code into CGBlocks.cpp. No functionalityJohn McCall2011-03-313-187/+215
| | | | | | change. llvm-svn: 128608
* Oops, prefer C-style cast hereMatt Beaumont-Gay2011-03-311-1/+1
| | | | llvm-svn: 128607
* Remove a redundant isValid() checkMatt Beaumont-Gay2011-03-311-1/+1
| | | | llvm-svn: 128606
* Silence GCC warning about differing types on the branches of a conditional ↵Matt Beaumont-Gay2011-03-311-1/+1
| | | | | | expression llvm-svn: 128605
* Take advantage of the newly added SBSymbol.GetType() API to check whether weJohnny Chen2011-03-311-61/+12
| | | | | | have a Code symbol and do disassembly on it. llvm-svn: 128604
* Convert the return value ofKen Dyck2011-03-311-11/+11
| | | | | | | VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 128603
* Added some functions to our API related to classifying symbols as code, data,Greg Clayton2011-03-3115-472/+521
| | | | | | | | | | | | const data, etc, and also for SBAddress objects to classify their type of section they are in and also getting the module for a section offset address. lldb::SymbolType SBSymbol::GetType(); lldb::SectionType SBAddress::GetSectionType (); lldb::SBModule SBAddress::GetModule (); llvm-svn: 128602
* Add a generator to iterate through the code symbols for a given target.Johnny Chen2011-03-311-1/+38
| | | | | | To be modified to take advantage of the new SBSymbol API which checks a symbol for its type. llvm-svn: 128601
* Convert the OffsetInLayoutClass parameter ofKen Dyck2011-03-311-9/+10
| | | | | | | VCallAndVBaseOffsetBuilder::AddVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128600
* Change Clang's __VERSION__ to include the same basic info as in clang -v.Daniel Dunbar2011-03-314-2/+25
| | | | | | - Please never ever ever ever write a tool that sniffs this. llvm-svn: 128599
* Convert the OffsetInLayoutClass of the VCallAndVBaseOffsetBuilderKen Dyck2011-03-311-6/+6
| | | | | | constructor to CharUnits. No change in functionality intended. llvm-svn: 128598
* Revert "- Implement asm parsing support for LDRT, LDRBT, STRT, STRBT and"Matt Beaumont-Gay2011-03-318-319/+66
| | | | | | This revision introduced a dependency cycle, as nlewycky mentioned by email. llvm-svn: 128597
* Convert the RealBaseOffset parameter ofKen Dyck2011-03-311-5/+6
| | | | | | | VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128596
* Basic: Add support for a build variable to set the repository path that goesDaniel Dunbar2011-03-312-0/+7
| | | | | | into the Clang version. llvm-svn: 128595
* Fix typo in generated HTML.Nick Lewycky2011-03-311-1/+1
| | | | llvm-svn: 128594
* Convert ValueObject to explicitly maintain the Execution Context in which ↵Jim Ingham2011-03-3126-448/+1034
| | | | | | they were created, and then use that when they update themselves. That means all the ValueObject evaluate me type functions that used to require a Frame object now do not. I didn't remove the SBValue API's that take this now useless frame, but I added ones that don't require the frame, and marked the SBFrame taking ones as deprecated. llvm-svn: 128593
* Add GetFrameWithStackID to the StackFrameList and the Thread (which routes ↵Jim Ingham2011-03-314-0/+26
| | | | | | to its StackFrameList.) llvm-svn: 128592
* Use intrinsics for Neon vmull operations. Radar 9208957.Bob Wilson2011-03-312-27/+17
| | | | llvm-svn: 128591
* Use intrinsics for Neon vmull operations. Radar 9208957.Bob Wilson2011-03-312-8/+5
| | | | llvm-svn: 128590
* Modify ARM instruction tables to allow for specifying floating point variants.Caroline Tice2011-03-312-276/+515
| | | | | | | | Add code to emulate VLDM ARM instruction (loading multiplt floating point registers). Add function declarations for other floating point instructions to emulate. llvm-svn: 128589
* Add a LaunchSimple API that is nicer to use for quick scripts.Jim Ingham2011-03-312-39/+48
| | | | llvm-svn: 128588
* Somehow we managed to forget to encode the lane index for a large swathe of ↵Owen Anderson2011-03-302-21/+70
| | | | | | NEON instructions. With this fix, the entire test-suite passes with the Thumb integrated assembler. llvm-svn: 128587
* Don't try to create zero-sized stack objects.Evan Cheng2011-03-303-4/+16
| | | | llvm-svn: 128586
* - Implement asm parsing support for LDRT, LDRBT, STRT, STRBT andBruno Cardoso Lopes2011-03-308-66/+319
| | | | | | | | | | | | | | | {STR,LDC}{2}_PRE. - Fixed the encoding in some places. - Some of those instructions were using am2offset and now use addrmode2. Codegen isn't affected, instructions which use SelectAddrMode2Offset were not touched. - Teach printAddrMode2Operand to check by the addressing mode which index mode to print. - This is a work in progress, more work to come. The idea is to change places which use am2offset to use addrmode2 instead, as to unify assembly parser. - Add testcases for assembly parser llvm-svn: 128585
* Add a ARM-specific SD node for VBSL so that forms with a constant first operandCameron Zwarich2011-03-305-9/+179
| | | | | | can be recognized. This fixes <rdar://problem/9183078>. llvm-svn: 128584
* Tidy up. Whitespace and 80-columns.Jim Grosbach2011-03-302-26/+28
| | | | llvm-svn: 128583
* Modify self.expect() patterns to react to API change for ↵Johnny Chen2011-03-301-6/+6
| | | | | | SourceManager.DisplaySourceLinesWithLineNumbers(). llvm-svn: 128581
* Add '#ifndef _PTRDIFF_T' guard around definition of ptrdiff_t. Fixes ↵Ted Kremenek2011-03-301-0/+3
| | | | | | <rdar://problem/9210154>. llvm-svn: 128578
OpenPOWER on IntegriCloud