aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/ConstantsTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-05-27IR: Make Module::getOrInsertGlobal() return a GlobalVariable.Peter Collingbourne1-2/+2
2025-05-08Reapply "IR: Remove reference counts from ConstantData (#137314)" (#138962)Matt Arsenault1-0/+38
2025-05-07Revert "IR: Remove reference counts from ConstantData (#137314)"Kirill Stoimenov1-38/+0
2025-05-06IR: Remove reference counts from ConstantData (#137314)Matt Arsenault1-0/+38
2025-02-14[IR] Remove mul constant expression (#127046)Nikita Popov1-2/+1
2025-01-22[IR][unittests] Replace of PointerType::getUnqual(Type) with opaque version (...Mats Jun Larsen1-5/+5
2025-01-21[IR][unittests] Replace of PointerType::get(Type) with opaque version (NFC) (...Mats Jun Larsen1-3/+3
2024-09-13[llvm][unittests] Don't call raw_string_ostream::flush() (NFC)JOE19941-1/+0
2024-06-20[IR] Remove support for shl constant expressions (#96037)Nikita Popov1-6/+2
2024-06-04[IR] Remove support for icmp and fcmp constant expressions (#93038)Nikita Popov1-3/+0
2024-04-17[PatternMatch] Do not accept undef elements in m_AllOnes() and friends (#88217)Nikita Popov1-6/+33
2024-02-12[C API] Add blockaddress getters to C API (#81382)Benji Smith1-0/+39
2023-11-14[IR] Remove support for lshr/ashr constant expressions (#71955)Nikita Popov1-14/+0
2023-11-07[IR] Remove FP cast constant expressions (#71408)Nikita Popov1-25/+0
2023-11-03[IR] Remove zext and sext constant expressions (#71040)Nikita Popov1-2/+0
2023-08-22[IR] Remove support for and/or constant expressionsNikita Popov1-6/+5
2023-08-02Stop using legacy helpers indicating typed pointer types. NFCBjorn Pettersson1-38/+32
2023-07-12[IR] Remove unit tests for typed pointers (NFC)Nikita Popov1-13/+3
2023-03-16[ConstantsTest] Fix unused variable warning (NFC)Nikita Popov1-2/+0
2023-03-16[ConstExpr] Remove select constant expressionNikita Popov1-2/+0
2022-12-02[llvm/unittests] Use std::nullopt instead of None (NFC)Kazu Hirata1-1/+1
2022-09-08[ConstantExpr] Remove fneg expressionNikita Popov1-1/+0
2022-07-12[IR] Remove support for float binop constant expressionsNikita Popov1-5/+0
2022-07-06[ConstExpr] Remove div/rem constant expressionsNikita Popov1-16/+9
2022-06-02[IR] Enable opaque pointers by defaultNikita Popov1-8/+8
2022-05-25[LLVM][IR] Fix assert in ConstantExpr::getPtrToInt so all vector types are su...Paul Walker1-0/+15
2022-04-05[LLVMContext] Replace enableOpaquePointers() with setOpaquePointers()Nikita Popov1-2/+1
2022-02-11[RGT] Exercise both paths through a testPaul Robinson1-1/+8
2022-01-06[IR] Track users of comdatsNikita Popov1-0/+27
2021-12-13[ConstantsTest] Avoid crash with opaque pointersNikita Popov1-1/+6
2021-12-02[llvm-c] Make LLVMAddAlias opaque pointer compatibleNikita Popov1-1/+1
2021-10-20[IR] Refactor GlobalIFunc to inherit from GlobalObject, Remove GlobalIndirect...Itay Bookstein1-1/+1
2021-05-13Reapply [ConstantFold] Fold more operations to poisonJuneyoung Lee1-14/+13
2021-04-08[Constant] Remove unused variableJuneyoung Lee1-1/+0
2021-04-08[Constant] ConstantStruct/Array should not lower poison to undefJuneyoung Lee1-7/+46
2021-03-16Add ConstantDataVector::getRaw() to create a constant data vector from raw data.Nick Lewycky1-18/+28
2021-03-15NFC: Formatting changes.Nick Lewycky1-73/+71
2021-02-04Revert "[ConstantFold] Fold more operations to poison"Juneyoung Lee1-12/+13
2021-01-07[Constant] Add tests for ConstantVector::get (NFC)Juneyoung Lee1-0/+8
2021-01-06[Constant] Add containsPoisonElementJuneyoung Lee1-0/+37
2020-11-29[ConstantFold] Fold more operations to poisonJuneyoung Lee1-13/+12
2020-11-29[ConstantFold] Fold operations to poison if possibleJuneyoung Lee1-5/+6
2020-08-19Revert "Revert "[NFC][llvm] Make the contructors of `ElementCount` private.""Mehdi Amini1-2/+2
2020-08-19Revert "[NFC][llvm] Make the contructors of `ElementCount` private."Mehdi Amini1-2/+2
2020-08-19[NFC][llvm] Make the contructors of `ElementCount` private.Francesco Petrogalli1-2/+2
2020-07-08[Solaris] Fix Solaris build botsChristopher Tetreault1-3/+3
2020-07-07[SVE] Make Constant::getSplatValue work for scalable vector splatsChristopher Tetreault1-0/+29
2020-06-16[SVE] Deprecate default false variant of VectorType::getChristopher Tetreault1-4/+4
2020-01-17[IR] fix Constant::isElementWiseEqual() to allow for all undef elements compareSanjay Patel1-1/+1
2020-01-17[IR] add unit test for Constant::isElementWiseEqual() for undef corner case; NFCSanjay Patel1-0/+2