Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More refactoring. Yawn. | Dale Johannesen | 2008-09-22 | 1 | -126/+43 |
| | | | | llvm-svn: 56468 | ||||
* | Refactor FP intrinisic setup. Per review feedback. | Dale Johannesen | 2008-09-22 | 1 | -117/+28 |
| | | | | llvm-svn: 56456 | ||||
* | Add intrinsics for log, log2, log10, exp, exp2. | Dale Johannesen | 2008-09-04 | 1 | -0/+213 |
| | | | | | | No functional change (and no FE change to generate them). llvm-svn: 55753 | ||||
* | API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵ | Gabor Greif | 2008-05-16 | 1 | -78/+78 |
| | | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200 | ||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -41/+41 |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Change the PointerType api for creating pointer types. The old functionality ↵ | Christopher Lamb | 2007-12-17 | 1 | -8/+9 |
| | | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082 | ||||
* | Implement necessary bits for flt_rounds gcc builtin. | Anton Korobeynikov | 2007-11-15 | 1 | -0/+5 |
| | | | | | | Codegen bits and llvm-gcc support will follow. llvm-svn: 44182 | ||||
* | Teach IntrinsicLowering.cpp about the sin, cos, and pow intrinsics. | Dan Gohman | 2007-10-15 | 1 | -0/+45 |
| | | | | llvm-svn: 43020 | ||||
* | Rewrite sqrt and powi to use anyfloat. By popular demand. | Dale Johannesen | 2007-10-02 | 1 | -29/+28 |
| | | | | llvm-svn: 42537 | ||||
* | minor long double related changes | Dale Johannesen | 2007-09-28 | 1 | -0/+18 |
| | | | | llvm-svn: 42439 | ||||
* | Split eh.select / eh.typeid.for intrinsics into i32/i64 versions. This is ↵ | Anton Korobeynikov | 2007-09-07 | 1 | -2/+4 |
| | | | | | | | | needed, because they just "mark" register liveins and we let frontend solve type issue, not lowering code :) llvm-svn: 41763 | ||||
* | Add lengthof and endof templates that hide a lot of sizeof computations. | Owen Anderson | 2007-09-07 | 1 | -2/+3 |
| | | | | | | Patch by Sterling Stein! llvm-svn: 41758 | ||||
* | Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE, | Chris Lattner | 2007-08-06 | 1 | -1/+1 |
| | | | | | | introduced by chandler's patch. llvm-svn: 40864 | ||||
* | New CallInst interface to address GLIBCXX_DEBUG errors caused by | David Greene | 2007-08-01 | 1 | -4/+4 |
| | | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660 | ||||
* | The exception handling intrinsics return values, | Duncan Sands | 2007-07-06 | 1 | -1/+9 |
| | | | | | | | | | | | | | so must be lowered to a value, not nothing at all. Subtle point: I made eh_selector return 0 and eh_typeid_for return 1. This means that only cleanups (destructors) will be run as the exception unwinds [if eh_typeid_for returned 0 then it would be as if the first catch always matched, and the corresponding handler would be run], which is probably want you want in the CBE. llvm-svn: 37947 | ||||
* | Extend eh.selector to support both catches and filters. | Duncan Sands | 2007-07-04 | 1 | -1/+0 |
| | | | | | | Drop the eh.filter intrinsic. llvm-svn: 37875 | ||||
* | Codegen support (stripped out) for the annotate attribute. | Tanya Lattner | 2007-06-15 | 1 | -0/+3 |
| | | | | llvm-svn: 37608 | ||||
* | Fix a typo in bswap lowering. | Lauro Ramos Venancio | 2007-06-11 | 1 | -1/+1 |
| | | | | llvm-svn: 37544 | ||||
* | Make LowerCTPOP() support arbitrary bitwidth integer type. | Zhou Sheng | 2007-06-02 | 1 | -10/+23 |
| | | | | llvm-svn: 37397 | ||||
* | Correct the logic in LowerPartSet which cleared the bits from 0 to low-1. | Zhou Sheng | 2007-05-26 | 1 | -5/+7 |
| | | | | llvm-svn: 37331 | ||||
* | Un-brain-dead-ify the lowering of part set for the reverse case. | Reid Spencer | 2007-05-15 | 1 | -99/+73 |
| | | | | llvm-svn: 37071 | ||||
* | Give names to the final result values of the part_set computations. This | Reid Spencer | 2007-05-14 | 1 | -2/+2 |
| | | | | | | just aids in readability and debugability of the output. No functional change. llvm-svn: 37037 | ||||
* | Get the size of auto arrays right, regardless of its changing size. | Reid Spencer | 2007-05-12 | 1 | -11/+13 |
| | | | | llvm-svn: 37006 | ||||
* | Fix problems in the PartSet lowering having to do with incorrect bit width. | Reid Spencer | 2007-04-16 | 1 | -3/+5 |
| | | | | llvm-svn: 36180 | ||||
* | Make sure intrinsics that are lowered to functions make the function weak | Reid Spencer | 2007-04-12 | 1 | -2/+2 |
| | | | | | | | linkage so we only end up with one of them in a program. These are, after all overloaded and templatish in nature. llvm-svn: 35956 | ||||
* | Fix bugs in generated code for part_select and part_set so that llc doesn't | Reid Spencer | 2007-04-12 | 1 | -35/+44 |
| | | | | | | barf when CBE is run with a program that contains these intrinsics. llvm-svn: 35946 | ||||
* | Fix a bug in PartSet. The replacement value needs to be zext or trunc to | Reid Spencer | 2007-04-12 | 1 | -3/+7 |
| | | | | | | the size of the value, not just zext. Also, give better names to two BBs. llvm-svn: 35945 | ||||
* | For PR1284: | Reid Spencer | 2007-04-12 | 1 | -11/+193 |
| | | | | | | Implement the "part_set" intrinsic. llvm-svn: 35938 | ||||
* | apparently some people commit without building the tree, or they forget to | Chris Lattner | 2007-04-10 | 1 | -1/+1 |
| | | | | | | commit a LOT of files. llvm-svn: 35858 | ||||
* | Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic. | Reid Spencer | 2007-04-04 | 1 | -0/+175 |
| | | | | llvm-svn: 35678 | ||||
* | For PR1297: | Reid Spencer | 2007-04-02 | 1 | -1/+1 |
| | | | | | | | Make sure that the CTPOP result is casted to i32 as the bit counting intrinsics all return i32 now (this affects CTLZ and CTTZ as well). llvm-svn: 35567 | ||||
* | For PR1297: | Reid Spencer | 2007-04-01 | 1 | -17/+4 |
| | | | | | | Support overloaded intrinsics bswap, ctpop, cttz, ctlz. llvm-svn: 35547 | ||||
* | Lower eh filter intrinsic. | Jim Laskey | 2007-03-01 | 1 | -0/+1 |
| | | | | llvm-svn: 34802 | ||||
* | Provide a more meaningful name. | Jim Laskey | 2007-02-28 | 1 | -1/+1 |
| | | | | llvm-svn: 34751 | ||||
* | Update comment. | Jim Laskey | 2007-02-22 | 1 | -1/+1 |
| | | | | llvm-svn: 34502 | ||||
* | Remove assertion. | Jim Laskey | 2007-02-22 | 1 | -4/+1 |
| | | | | llvm-svn: 34494 | ||||
* | Selection and lowering for exception handling. | Jim Laskey | 2007-02-21 | 1 | -0/+5 |
| | | | | llvm-svn: 34481 | ||||
* | eliminate vector-related allocations | Chris Lattner | 2007-02-13 | 1 | -2/+4 |
| | | | | llvm-svn: 34223 | ||||
* | Two fixes: | Chris Lattner | 2007-02-06 | 1 | -38/+33 |
| | | | | | | | | 1. Memset takes an i32 for the value to set, not i8. This was causing GCC to ICE all over the place (PR1183). 2. memcpy/memmove were not properly zext/trunc'ing the size in some cases. llvm-svn: 33970 | ||||
* | Fix PR1181 and CodeGen/CBackend/2007-02-05-memset.ll | Chris Lattner | 2007-02-06 | 1 | -6/+16 |
| | | | | llvm-svn: 33957 | ||||
* | Use short form of BinaryOperator create function. | Reid Spencer | 2007-02-02 | 1 | -16/+16 |
| | | | | llvm-svn: 33784 | ||||
* | Changes to support making the shift instructions be true BinaryOperators. | Reid Spencer | 2007-02-02 | 1 | -32/+32 |
| | | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776 | ||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -1/+1 |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | ||||
* | Use TargetData to obtain the correct size of the "size_t" argument for | Reid Spencer | 2007-01-29 | 1 | -9/+24 |
| | | | | | | | | functions like memcpy, memmove and memset. Ensure only one prototype is used for these functions and that it matches the system definition by using the appropriate type for the size argument. llvm-svn: 33618 | ||||
* | For PR1138: | Reid Spencer | 2007-01-28 | 1 | -4/+11 |
| | | | | | | | Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. llvm-svn: 33608 | ||||
* | rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. | Chris Lattner | 2007-01-15 | 1 | -2/+2 |
| | | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225 | ||||
* | eliminate calls to Type::isInteger, preferring isIntegral instead. | Chris Lattner | 2007-01-15 | 1 | -2/+2 |
| | | | | llvm-svn: 33222 | ||||
* | llvm 2.0 doesn't support llvm.isunordered.* | Chris Lattner | 2007-01-07 | 1 | -17/+0 |
| | | | | llvm-svn: 32994 | ||||
* | Change the interface to Module::getOrInsertFunction to be easier to use,to ↵ | Chris Lattner | 2007-01-07 | 1 | -74/+39 |
| | | | | | | | | resolve PR1088, and to help PR411. This simplifies many clients also llvm-svn: 32989 |