aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Constants.cpp
AgeCommit message (Expand)Author
2009-12-08whitespace cleanupChris Lattner
2009-11-06Pass StringRef by value.Daniel Dunbar
2009-11-01remove a bunch of locking from LLVMContextImpl. Since only one threadChris Lattner
2009-11-01the verifier shouldn't modify the IR.Chris Lattner
2009-11-01Fix BlockAddress::replaceUsesOfWithOnConstant to correctly Chris Lattner
2009-11-01Revert 85678/85680. The decision is to stay with the current form of Chris Lattner
2009-10-31Make blockaddress(@func, null) be valid, and make 'deleting a basic Chris Lattner
2009-10-30make hasAddressTaken() constant time by storing a refcount in BB's subclass d...Chris Lattner
2009-10-28Previously, all operands to Constant were themselves constant.Chris Lattner
2009-10-28'static const void *X = &&y' can only be put in the Chris Lattner
2009-10-28IR support for the new BlockAddress constant kind. This isChris Lattner
2009-10-19Banish ConstantsLock. It's serving no purpose other than slowing things downOwen Anderson
2009-10-05strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner
2009-10-03Requires element types in a constant initializer to match the element types ofNick Lewycky
2009-09-30Assert that ConstantArrays are created with correctly-typed elements.Jeffrey Yasskin
2009-09-26For the NSWSub support in the builder to actually be useable,Duncan Sands
2009-09-25Rename ConstantFP's getInf to getInfinity.Dan Gohman
2009-09-25Add a ConstantFP::getInf utility function for creating infinity ConstantFPs.Dan Gohman
2009-09-15When a constant's type is refined, update the constant in placeDan Gohman
2009-09-11Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword andDan Gohman
2009-09-10Factor out the code for checking that all indices in a getelementptr areDan Gohman
2009-09-07Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed.Dan Gohman
2009-09-06Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", thisDaniel Dunbar
2009-09-04Include optional subclass flags, such as inbounds, nsw, etc., in theDan Gohman
2009-09-03Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman
2009-09-03Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman
2009-09-03Now Bitcode reader bug is fixed. Reapply 80839.Devang Patel
2009-09-02Revert 80839 for now. It causes test failures.Devang Patel
2009-09-02Use CallbackVH, instead of WeakVH, to hold MDNode elements. Devang Patel
2009-08-23switch a couple things off std::ostreamChris Lattner
2009-08-20Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrapDan Gohman
2009-08-16Add helper functions to ConstantInt and ConstantFP to accept strings.Erick Tryzelaar
2009-08-16Add a getOffsetOf, for building a target-independent expression forDan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-08-11Add convenience functions for creating nsw add operators.Dan Gohman
2009-08-11Don't set the isexact flag if an sdiv operator has been folded intoDan Gohman
2009-08-11Simplify ConstantExpr::getInBoundsGetElementPtr and fix a possible crash, ifDaniel Dunbar
2009-08-11Add convenience functions for creating inbounds GEPs.Dan Gohman
2009-08-11Add convenience functions for creating exact sdiv operators, andDan Gohman
2009-08-10Change the MDNode uniquing to a ValueMap, at Devang's request.Owen Anderson
2009-08-05Privatize the StructType table, which unfortunately involves routing contexts...Owen Anderson
2009-08-04Privatize the last bit of Constant-creation state.Owen Anderson
2009-08-03Add a new Constant::getIntegerValue helper function, and convert aDan Gohman
2009-07-31Privatize all but one of the remaining constant tables.Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-31Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-29Move types back to the 2.5 API.Owen Anderson
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-28Rename MDNode.h header. It defines MDnode and other metadata classes.Devang Patel