aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Constants.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-08-29[Constant] remove fdiv and frem from canTrap()Sanjay Patel1-2/+0
2016-06-26Apply clang-tidy's modernize-loop-convert to most of lib/IR.Benjamin Kramer1-2/+2
2016-06-12[IR] Require ArrayRef of 'uint32_t' instead of 'int' for the mask argument fo...Craig Topper1-5/+0
2016-05-29[IR] Teach the ArrayRef<int> form of IRBuilder::CreateShuffleVector to use Co...Craig Topper1-0/+5
2016-05-18fix formatting; NFCSanjay Patel1-6/+3
2016-05-15Vector GEP - fixed a crash on InstSimplify Pass.Elena Demikhovsky1-7/+16
2016-04-29clean up documentation comments; NFCSanjay Patel1-110/+14
2016-04-18[NFC] Header cleanupMehdi Amini1-3/+0
2016-04-05IR: Introduce ConstantAggregate, NFCDuncan P. N. Exon Smith1-34/+24
2016-04-05IR: Add missing assertion for ConstantVector::ConstantVectorDuncan P. N. Exon Smith1-0/+2
2016-02-21IR: Add ConstantData, for operand-less ConstantsDuncan P. N. Exon Smith1-32/+6
2016-02-10Simplify handleOperandChangeImpl() removing last argument (NFC)Mehdi Amini1-49/+41
2016-01-19[opaque pointer types] [NFC] GEP: replace get(Pointer)ElementType uses with g...Eduard Burtescu1-1/+6
2015-12-15[IR] Add classof for GetElementPtrConstantExpr, CompareConstantExpr, InsertVa...Craig Topper1-2/+1
2015-12-15Use CmpInst::Predicate instead of 'unsigned short' in some places. NFCCraig Topper1-1/+1
2015-12-09IR: Make ConstantDataArray::getFP actually return a ConstantDataArrayJustin Bogner1-1/+1
2015-12-08IR: Allow vectors of halfs to be ConstantDataVectorsJustin Bogner1-3/+15
2015-12-01IR: Clean up some duplicated code in ConstantDataSequential creation. NFCJustin Bogner1-136/+57
2015-11-20Fix another infinite loop in Reassociate caused by Constant::isZero().Owen Anderson1-0/+10
2015-11-20Fix a pair of issues that caused an infinite loop in reassociate.Owen Anderson1-0/+6
2015-11-17Drop prelink support.Rafael Espindola1-16/+11
2015-11-16[IR] Manage TheNoneToken with a std::unique_ptrDavid Majnemer1-2/+2
2015-11-12Comment update. NFC.Rafael Espindola1-16/+0
2015-11-11[IR] Add support for empty tokensDavid Majnemer1-2/+22
2015-08-21[opaque pointer type]: Pass explicit pointee type when building a constant GEP.David Blaikie1-5/+8
2015-08-01De-constify pointers to Type since they can't be modified. NFCCraig Topper1-8/+8
2015-06-24Devirtualize Constant::replaceUsesOfWithOnConstant.Pete Cooper1-57/+82
2015-06-23Devirtualize Constant::destroyConstant.Pete Cooper1-26/+34
2015-06-12Replace all accesses to User::OperandList with getter and setter methods. NFC.Pete Cooper1-0/+5
2015-05-21Use Op<0> accessor instead of OperandList for Instructions. NFCPete Cooper1-1/+1
2015-05-21Put GEPOperator member function definition in the appropriate .cpp fileDavid Blaikie1-30/+0
2015-05-21[opaque pointer type] Allow gep_type_iterator to work with the pointee type f...David Blaikie1-0/+30
2015-05-08[opaque pointer type] Explicit pointee type for GEPOperator/GEPConstantExpr.David Blaikie1-9/+13
2015-05-07Recommit r236670: [opaque pointer type] Pass explicit pointer type through GE...David Blaikie1-5/+7
2015-05-06Revert "[opaque pointer type] Pass explicit pointer type through GEP constant...David Blaikie1-7/+5
2015-05-06[opaque pointer type] Pass explicit pointer type through GEP constant foldingDavid Blaikie1-5/+7
2015-04-20IR: Add ConstantFP::getNaN()Tom Stellard1-0/+11
2015-04-02[opaque pointer type] API migration for GEP constant factoriesDavid Blaikie1-13/+15
2015-03-30[opaque pointer type] Change GetElementPtrInst::getIndexedType to take the po...David Blaikie1-1/+2
2015-03-14[opaque pointer type] Start migrating GEP creation to explicitly specify the ...David Blaikie1-6/+8
2015-03-02Simplify code. NFC.Benjamin Kramer1-4/+2
2015-02-28Convert push_back loops into append calls.Benjamin Kramer1-4/+1
2015-02-20Constants.cpp: Only read 32 bits for float.Benjamin Kramer1-3/+6
2015-02-20Constants.cpp: getElementAsAPFloat(): Don't handle constant value via host's ...NAKAMURA Takumi1-8/+5
2015-02-19Avoid conversion to float when creating ConstantDataArray/ConstantDataVector.Rafael Espindola1-19/+72
2015-02-16IR: Properly return nullptr when getAggregateElement is out-of-boundsDavid Majnemer1-4/+19
2014-12-06Reapply "LLVMContext: Store APInt/APFloat directly into the ConstantInt/FP De...Benjamin Kramer1-10/+8
2014-12-06Reformat.NAKAMURA Takumi1-3/+3
2014-12-06Revert "LLVMContext: Store APInt/APFloat directly into the ConstantInt/FP Den...Benjamin Kramer1-9/+10
2014-12-05LLVMContext: Store APInt/APFloat directly into the ConstantInt/FP DenseMaps.Benjamin Kramer1-10/+9