summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Remove unintentional check-in.Devang Patel2011-04-051-3/+0
| | | | llvm-svn: 128928
* Fix typo.Devang Patel2011-04-052-1/+5
| | | | llvm-svn: 128921
* Use TemplateParameterList to extract template parameter name.Devang Patel2011-04-051-8/+15
| | | | llvm-svn: 128915
* Added *hidden* flags -print-options and -print-all-options soAndrew Trick2011-04-051-0/+3
| | | | | | | | | | | | | | | | | | | developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128911
* whitespaceAndrew Trick2011-04-051-3/+3
| | | | llvm-svn: 128908
* Refactor.Devang Patel2011-04-052-23/+36
| | | | llvm-svn: 128893
* Fix copy-and-paste bug that I introduced while tidying up the code.David Chisnall2011-04-051-1/+1
| | | | | | Does anyone want to buy me a new brain? llvm-svn: 128890
* Set AAPCS-VFP calling convention accordingly and hard float ABI command ↵Sandeep Patel2011-04-052-7/+11
| | | | | | handling. llvm-svn: 128866
* Eliminate conservative check that is covered by isIncompleteType() check.Devang Patel2011-04-041-5/+0
| | | | llvm-svn: 128857
* Incomplete type does not have any size.Devang Patel2011-04-041-1/+1
| | | | llvm-svn: 128855
* Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info.Devang Patel2011-04-045-33/+26
| | | | llvm-svn: 128842
* Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() toKen Dyck2011-04-025-15/+19
| | | | | | CharUnits. No change in functionality intended. llvm-svn: 128776
* Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. NoKen Dyck2011-04-022-6/+6
| | | | | | change in functionality intended. llvm-svn: 128773
* Use CharUnits for the offset type in the ClassNamesAndOffsets map inKen Dyck2011-04-021-4/+4
| | | | | | dumpLayout(). No change in functionality intended. llvm-svn: 128771
* Use CharUnits for the offsets in the VBaseOffsetOffsetsMapTy types. NoKen Dyck2011-04-021-8/+11
| | | | | | change in functionality intended. llvm-svn: 128770
* Convert BaseOffset::NonVirtualOffset to CharUnits. No change inKen Dyck2011-04-021-12/+12
| | | | | | functionality intended. llvm-svn: 128756
* Convert offset parameters and return values of VTableComponent methods toKen Dyck2011-04-021-20/+29
| | | | | | CharUnits. No change in functionality intended. llvm-svn: 128754
* Convert the offsets in VCallOffsetMap to CharUnits. No change inKen Dyck2011-04-021-8/+9
| | | | | | functionality intended. llvm-svn: 128753
* Convert offset parameters of VTableBuilder::IsOverriderUsed() to CharUnits.Ken Dyck2011-04-021-7/+7
| | | | | | No change in functionality intended. llvm-svn: 128752
* Do not try calculate the size of forward-declared template type array.Devang Patel2011-04-011-0/+8
| | | | llvm-svn: 128725
* IRgen: Reapply r128691 with a fix to ensure we don't increase alignment pastDaniel Dunbar2011-04-011-2/+13
| | | | | | that of the array element type. llvm-svn: 128698
* Revert r128691, "IRgen: Improve GCC compatibility when dealing with packedDaniel Dunbar2011-04-011-7/+2
| | | | | | arrays by propagating", it's breaking test in ways I don't understand yet. llvm-svn: 128693
* IRgen: Improve GCC compatibility when dealing with packed arrays by propagatingDaniel Dunbar2011-03-311-2/+7
| | | | | | | | the array alignment to the array access. - This is more or less the best we can do without having alignment present in the type system, but is a long way from truly matching how GCC handles this. llvm-svn: 128691
* Whoops.John McCall2011-03-311-2/+2
| | | | llvm-svn: 128621
* After much contemplation, I've decided that we probably shouldn't "unique"John McCall2011-03-313-165/+247
| | | | | | | | | | | | | __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
* 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
* Silence GCC warning about differing types on the branches of a conditional ↵Matt Beaumont-Gay2011-03-311-1/+1
| | | | | | expression llvm-svn: 128605
* Convert the return value ofKen Dyck2011-03-311-11/+11
| | | | | | | VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 128603
* Convert the OffsetInLayoutClass parameter ofKen Dyck2011-03-311-9/+10
| | | | | | | VCallAndVBaseOffsetBuilder::AddVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128600
* Convert the OffsetInLayoutClass of the VCallAndVBaseOffsetBuilderKen Dyck2011-03-311-6/+6
| | | | | | constructor to CharUnits. No change in functionality intended. llvm-svn: 128598
* Convert the RealBaseOffset parameter ofKen Dyck2011-03-311-5/+6
| | | | | | | VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128596
* Use intrinsics for Neon vmull operations. Radar 9208957.Bob Wilson2011-03-311-3/+3
| | | | llvm-svn: 128590
* Fix IRGen issues related to using property-dot syntaxFariborz Jahanian2011-03-303-14/+23
| | | | | | for prperty reference types. // rdar://9208606. llvm-svn: 128551
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-3012-45/+24
| | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128538
* (Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad2011-03-303-0/+7
| | | | llvm-svn: 128534
* Convert the offset parameter ofKen Dyck2011-03-301-4/+4
| | | | | | | VCallAndVBaseOffsetBuilder::AddVCallOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128531
* Convert local offset variable to CharUnits in AddVCallOffsets. No change inKen Dyck2011-03-301-4/+4
| | | | | | functionality intended. llvm-svn: 128522
* Convert a local offset variable to CharUnits. No change in functionalityKen Dyck2011-03-301-3/+3
| | | | | | intended. llvm-svn: 128521
* Convert the OffsetInLayoutClass parameter of DeterminePrimaryVirtualBases()Ken Dyck2011-03-301-9/+9
| | | | | | to CharUnits. No change in functionality intended. llvm-svn: 128520
* Convert the OffsetInLayoutClass parameter of LayoutSecondaryVTables toKen Dyck2011-03-301-8/+6
| | | | | | CharUnits. No change in functionality intended. llvm-svn: 128516
* Fix in r128471 is very broad. Some of the unconditional branches need line ↵Devang Patel2011-03-302-3/+9
| | | | | | | | number information for better user experience. Restrict the fix. This fixes break.exp failures from gdb testsuite. llvm-svn: 128513
* Do not line number entry for unconditional branches. Usually, users do not ↵Devang Patel2011-03-291-0/+3
| | | | | | want to stop at closing '}'. llvm-svn: 128471
* Implements property of reference types. AddingFariborz Jahanian2011-03-281-5/+14
| | | | | | | an executable test to llvm test suite. // rdar://9070460. llvm-svn: 128435
* Integrated-As: Support -Wa,-L when using the integrated assembler.Daniel Dunbar2011-03-281-0/+2
| | | | llvm-svn: 128433
* refactoringAnton Yartsev2011-03-281-3/+1
| | | | llvm-svn: 128427
* Convert offset parameter in LayoutPrimaryAndSecondaryVTables() to CharUnits.Ken Dyck2011-03-271-16/+16
| | | | | | No change in functionality intended. llvm-svn: 128393
* Convert VTableBuilder::MostDerivedClassOffset to CharUnits. No change inKen Dyck2011-03-271-16/+15
| | | | | | functionality intended. llvm-svn: 128392
* Convert FinalOverriders::MostDerivedClassOffset to CharUnits. No change inKen Dyck2011-03-271-5/+8
| | | | | | functionality intended. llvm-svn: 128391
* Remove a fixed FIXME comment (the base offset has already been converted toKen Dyck2011-03-271-1/+0
| | | | | | CharUnits). llvm-svn: 128386
OpenPOWER on IntegriCloud