summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Constants.cpp
Commit message (Expand)AuthorAgeFilesLines
* [IR] fix potential crash in Constant::isElementWiseEqual()Sanjay Patel2020-01-141-4/+9
* [IR] allow undefined elements when checking for splat constantsSanjay Patel2019-12-101-5/+22
* [ConstantFold][SVE] Fix constant folding for shufflevector.Eli Friedman2019-12-091-1/+1
* [InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C)` fold to non-splat vectorsRoman Lebedev2019-12-051-0/+24
* Mark llvm::ConstantExpr::getAsInstruction as constAlex Denisov2019-11-121-1/+1
* [IR] adjust assert when replacing undef elements in vector constantSanjay Patel2019-11-041-1/+1
* [IR] move/change null-check to assertSanjay Patel2019-10-291-1/+2
* [IR] move helper function to replace undef constant (elements) with fixed con...Sanjay Patel2019-10-291-4/+25
* [Constant] Add 'isElementWiseEqual()' methodRoman Lebedev2019-08-241-0/+15
* IR. Change strip* family of functions to not look through aliases.Peter Collingbourne2019-08-221-4/+2
* [IR] Simplify removeDeadConstantUsers. NFCFangrui Song2019-08-141-6/+3
* Fix typo in r366494. Spotted by Yuanfang Chen.Peter Collingbourne2019-07-181-1/+1
* IR: Teach Constant::needsRelocation() that relative pointers don't need to be...Peter Collingbourne2019-07-181-11/+23
* [Constants] Simplify type checking switch in ConstantExpr::get.Craig Topper2019-05-051-26/+6
* Add FNeg IR constant folding supportCameron McInally2019-05-051-4/+6
* Change some StringRef::data() reinterpret_cast to bytes_begin() or arrayRefFr...Fangrui Song2019-04-071-1/+1
* [InstCombine] canonicalize funnel shift constant shift amount to be modulo bi...Sanjay Patel2019-03-141-0/+10
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
* [opaque pointer types] Remove some calls to generic Type subtype accessors.James Y Knight2019-01-101-3/+2
* [ConstantInt] Check active bits before calling getZExtValue.Florian Hahn2018-12-121-1/+5
* APFloat: allow 64-bit of payloadJF Bastien2018-12-101-2/+24
* [InstCombine] Support ssub.sat canonicalization for non-splatsNikita Popov2018-12-011-11/+8
* Use llvm::copy. NFCFangrui Song2018-11-171-1/+1
* [IR] Add a dedicated FNeg IR InstructionCameron McInally2018-11-131-0/+30
* [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
OpenPOWER on IntegriCloud