aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Constants.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2014-11-25Revert "unique_ptrify LLVMContextImpl::CAZConstants"David Blaikie1-4/+4
2014-11-25unique_ptrify LLVMContextImpl::CAZConstantsDavid Blaikie1-4/+4
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-2/+2
2014-11-19Remove StringMap::GetOrCreateValue in favor of StringMap::insertDavid Blaikie1-5/+7
2014-11-13Use nullptr instead of NULL for variadic sentinelsReid Kleckner1-2/+2
2014-08-27Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just...Craig Topper1-1/+1
2014-08-22InstCombine: sub nsw %x, C -> add nsw %x, -C if C isn't INT_MINDavid Majnemer1-0/+23
2014-08-21Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-08-19IR: Fix ConstantExpr::replaceUsesOfWithOnConstant()Duncan P. N. Exon Smith1-50/+13
2014-08-19IR: Thread OnlyIfReduced through ConstantExpr::getWithOperands()Duncan P. N. Exon Smith1-74/+136
2014-08-19IR: De-duplicate code for replacing operands in placeDuncan P. N. Exon Smith1-69/+11
2014-08-19Reapply r215966, r215965, r215964, r215963, r215960, r215959, r215958, and r2...Duncan P. N. Exon Smith1-110/+179
2014-08-19Reverting r215966, r215965, r215964, r215963, r215960, r215959, r215958, and ...Aaron Ballman1-179/+110
2014-08-19IR: Reduce RAUW traffic in ConstantVectorDuncan P. N. Exon Smith1-3/+27
2014-08-19IR: Fix ConstantArray::replaceUsesOfWithOnConstant()Duncan P. N. Exon Smith1-0/+6
2014-08-19IR: Factor out replaceUsesOfWithOnConstantImpl(), NFCDuncan P. N. Exon Smith1-94/+80
2014-08-19IR: Split up Constant{Array,Vector}::get(), NFCDuncan P. N. Exon Smith1-4/+13
2014-08-19IR: Reduce RAUW traffic in ConstantExprDuncan P. N. Exon Smith1-0/+44
2014-08-19IR: Rewrite ConstantUniqueMapDuncan P. N. Exon Smith1-12/+12
2014-08-19IR: Declare LookupKey right before its use, NFCDuncan P. N. Exon Smith1-6/+4
2014-08-18Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoi...Craig Topper1-1/+1
2014-08-17Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-08-16InstCombine: Fix a potential bug in 0 - (X sdiv C) -> (X sdiv -C)David Majnemer1-0/+22
2014-07-02InstCombine: Don't turn -(x/INT_MIN) -> x/INT_MINDavid Majnemer1-0/+22
2014-06-20Don't build switch lookup tables for dllimport or TLS variablesHans Wennborg1-20/+33
2014-06-15Canonicalize addrspacecast ConstExpr between different pointer typesJingyue Wu1-0/+13
2014-05-01[IR] Make {extract,insert}element accept an index of any integer type.Michael J. Spencer1-3/+3
2014-04-23Remove more default address space argument usage.Matt Arsenault1-1/+1
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-2/+2
2014-04-09[C++11] More 'nullptr' conversion or in some cases just using a boolean check...Craig Topper1-26/+27
2014-03-09[C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth1-8/+8
2014-03-04[Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth1-1/+1
2014-03-02[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.Benjamin Kramer1-1/+1
2014-01-19Add a const lookup routine to get a BlockAddress constant if there isChandler Carruth1-0/+11
2014-01-18Support AddrSpaceCast in ConstantExpr::getAsInstruction.Eli Bendersky1-0/+1
2014-01-18Upgrade ConstantFP's negative zero and infinity getters to handle vector types.Benjamin Kramer1-16/+18
2013-12-07Add getBitCastOrAddrSpaceCastMatt Arsenault1-1/+12
2013-11-15Add addrspacecast instruction.Matt Arsenault1-0/+14
2013-07-10Don't assert if we can't constant fold extract/insertvalueHal Finkel1-8/+21
2013-06-13Fix DeleteDeadVarargs not to crash on functions referenced by BlockAddressesDerek Schuff1-1/+1
2013-06-01Move object construction into [] so the temporary can be moved.Benjamin Kramer1-5/+3
2013-04-13Fix a scalability issue with complex ConstantExprs.Benjamin Kramer1-9/+19
2013-03-19The testing to ensure a vector of zeros of type floating point isn't misclass...David Tweed1-6/+3
2013-03-18 The optimization a + (-0.0f) -> a was being misapplied to a + (+0.0f) in the...David Tweed1-0/+13
2013-03-07Replace temporary vectors with arrays.Benjamin Kramer1-24/+12
2013-03-07ArrayRef has a OneElt constructor. Beautify the code.Nadav Rotem1-2/+1