summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Constants.cpp
Commit message (Expand)AuthorAgeFilesLines
* [Constants] extend getBinOpIdentity(); NFCSanjay Patel2018-07-061-24/+41
* [Constant] add undef element query for vector constants; NFCSanjay Patel2018-07-061-0/+10
* [Constants] add identity constants for fadd/fmulSanjay Patel2018-07-031-1/+6
* [InstCombine] fold shuffle-with-binop and common valueSanjay Patel2018-07-031-0/+5
* [IR] Strip trailing whitespace. NFCBjorn Pettersson2018-07-031-13/+13
* [IR] Use Instruction::isBinaryOp helper instead of raw enum range tests. NFCI.Simon Pilgrim2018-06-221-2/+1
* Make ConstantDataArray::get constructor templated. Will support signed integers.Alina Sbirlea2018-03-191-34/+0
* [PatternMatch, InstSimplify] fix m_NaN to work with vector constants and use itSanjay Patel2018-03-021-0/+13
* [InstCombine] fold fdiv with non-splat divisor to fmul: X/C --> X * (1/C)Sanjay Patel2018-02-201-0/+13
* [Constant] add floating-point helpers for normal/finite-nz; NFCSanjay Patel2018-02-161-0/+26
* [InstCombine] allow X / C -> X * (1.0/C) for vector splat FP constantsSanjay Patel2018-02-151-0/+11
* Remove redundant includes from lib/IR.Michael Zolotukhin2017-12-131-1/+0
* [IR] Implement Constant::isNegativeZeroValue/isZeroValue/isAllOnesValue/isOne...Craig Topper2017-07-151-19/+67
* [IR] Remove unnecessary const_casts from ConstantDataSequential and it's subc...Craig Topper2017-07-111-29/+25
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-2/+2
* [IR] Make use of Type::isPtrOrPtrVectorTy/isIntOrIntVectorTy/isFPOrFPVectorTy...Craig Topper2017-07-091-4/+4
* [IR] Use CmpInst::isFPPredicate/isIntPredicate in a few other places. NFCCraig Topper2017-07-051-3/+4
* [Constants] Fix copy-pasto in llvm_unreachable message. NFCCraig Topper2017-06-271-1/+1
* [Constants] Use isUIntN/isIntN from MathExtras instead of reimplementing the ...Craig Topper2017-06-071-9/+2
* [Constants] Use APInt::isNullValue/isOneValue/uge to simplify some code and t...Craig Topper2017-06-071-1/+1
* SimplifyLibCalls: Optimize wcslenMatthias Braun2017-05-191-2/+2
* [IR] De-virtualize ~Value to save a vptrReid Kleckner2017-05-181-11/+0
* Suppress all uses of LLVM_END_WITH_NULL. NFC.Serge Guelton2017-05-091-13/+2
* [Constants] simplify get true/false code; NFCISanjay Patel2017-04-161-18/+10
* [IR] Fix a typo in a comment. NFCCraig Topper2017-04-111-1/+1
* Replace APFloatBase static fltSemantics data members with getter functionsStephan Bergmann2016-12-141-41/+41
* [Constants] don't die processing non-ConstantInt GEP indices in isGEPWithNoNo...Sanjay Patel2016-12-111-6/+8
* IR: Move NumElements field from {Array,Vector}Type to SequentialType.Peter Collingbourne2016-12-021-4/+2
* IR: Change the gep_type_iterator API to avoid always exposing the "current" t...Peter Collingbourne2016-12-021-9/+4
* IR: Introduce inrange attribute on getelementptr indices.Peter Collingbourne2016-11-101-4/+9
* Use unique_ptr in LLVMContextImpl's constant maps.Justin Lebar2016-10-101-16/+18
* [Constant] remove fdiv and frem from canTrap()Sanjay Patel2016-08-291-2/+0
* Apply clang-tidy's modernize-loop-convert to most of lib/IR.Benjamin Kramer2016-06-261-2/+2
* [IR] Require ArrayRef of 'uint32_t' instead of 'int' for the mask argument fo...Craig Topper2016-06-121-5/+0
* [IR] Teach the ArrayRef<int> form of IRBuilder::CreateShuffleVector to use Co...Craig Topper2016-05-291-0/+5
* fix formatting; NFCSanjay Patel2016-05-181-6/+3
* Vector GEP - fixed a crash on InstSimplify Pass.Elena Demikhovsky2016-05-151-7/+16
* clean up documentation comments; NFCSanjay Patel2016-04-291-110/+14
* [NFC] Header cleanupMehdi Amini2016-04-181-3/+0
* IR: Introduce ConstantAggregate, NFCDuncan P. N. Exon Smith2016-04-051-34/+24
* IR: Add missing assertion for ConstantVector::ConstantVectorDuncan P. N. Exon Smith2016-04-051-0/+2
* IR: Add ConstantData, for operand-less ConstantsDuncan P. N. Exon Smith2016-02-211-32/+6
* Simplify handleOperandChangeImpl() removing last argument (NFC)Mehdi Amini2016-02-101-49/+41
* [opaque pointer types] [NFC] GEP: replace get(Pointer)ElementType uses with g...Eduard Burtescu2016-01-191-1/+6
* [IR] Add classof for GetElementPtrConstantExpr, CompareConstantExpr, InsertVa...Craig Topper2015-12-151-2/+1
* Use CmpInst::Predicate instead of 'unsigned short' in some places. NFCCraig Topper2015-12-151-1/+1
* IR: Make ConstantDataArray::getFP actually return a ConstantDataArrayJustin Bogner2015-12-091-1/+1
* IR: Allow vectors of halfs to be ConstantDataVectorsJustin Bogner2015-12-081-3/+15
* IR: Clean up some duplicated code in ConstantDataSequential creation. NFCJustin Bogner2015-12-011-136/+57
* Fix another infinite loop in Reassociate caused by Constant::isZero().Owen Anderson2015-11-201-0/+10
OpenPOWER on IntegriCloud