aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Constants.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-06-28[IR] Remove support for extractvalue constant expressionNikita Popov1-36/+1
2022-06-23[IR] Export ConstantFold.h header (NFC)Nikita Popov1-1/+1
2022-06-17[IR] Check for SignedMin/-1 division in canTrap() (PR56038)Nikita Popov1-5/+10
2022-06-13[InstSimplify][IR] Handle trapping constant aggregate (PR49839)Nikita Popov1-12/+16
2022-06-10[InstCombine] Use +0.0 instead of -0.0 as the FP identity for some foldsDavid Sherwood1-6/+4
2022-05-25[LLVM][IR] Fix assert in ConstantExpr::getPtrToInt so all vector types are su...Paul Walker1-2/+2
2022-05-05[IR] Simplify code. NFCI.Benjamin Kramer1-14/+2
2022-05-02[InstCombine] Handle non-canonical GEP index in indexed compare fold (PR55228)Nikita Popov1-0/+11
2022-04-25Don't replace Undef with null value for Constants Differential Revision:https...YASHASVI KHATAVKAR1-2/+6
2022-03-12Cleanup includes: DebugInfo & CodeGenserge-sans-paille1-1/+0
2022-02-02Cleanup header dependencies in LLVMCoreserge-sans-paille1-2/+5
2022-01-24[llvm] Do not replace dead constant references in metadata with undefStephen Tozer1-8/+1
2022-01-19[Constants] Remove unused isGEPWithNoNotionalOverIndexing() methodNikita Popov1-22/+0
2022-01-13[Inliner] Don't removeDeadConstantUsers() when checking if a function is deadArthur Eubanks1-5/+9
2021-12-30[ConstantFolding] Use ICmpInst::Predicate instead of plain integerSerge Pavlov1-8/+8
2021-12-20[llvm][IR] Add no_cfi constantSami Tolvanen1-0/+44
2021-12-08[llvm] Use range-based for loops (NFC)Kazu Hirata1-6/+7
2021-10-29[IR] Merge createReplacementInstr into ConstantExpr::getAsInstructionJay Foad1-17/+20
2021-10-23[llvm] Use StringRef::contains (NFC)Kazu Hirata1-1/+1
2021-10-07[Inline] Introduce Constant::hasOneLiveUse, use it instead of hasOneUse in in...Erik Desjardins1-14/+40
2021-10-04[APFloat] Remove BitWidth argument from getAllOnesValueJay Foad1-2/+1
2021-10-04[APInt] Stop using soft-deprecated constructors and methods in llvm. NFC.Jay Foad1-3/+3
2021-09-09[IR] Handle constant expressions in containsUndefinedElement()Nikita Popov1-3/+5
2021-09-09[APInt] Normalize naming on keep constructors / predicate methods.Chris Lattner1-4/+3
2021-08-27[IR] Remove getWithOperandReplaced (NFC)Kazu Hirata1-14/+0
2021-08-10[IR] Let ConstantVector::getSplat use poison instead of undefDavid Sherwood1-3/+3
2021-07-17[IR] Don't accept null type in ConstantExpr::getGetElementPtr()Nikita Popov1-4/+2
2021-07-04[NFC] Fix a few whitespace issues and typos.Paul Walker1-0/+1
2021-07-02Place the BlockAddress type in the address space of the containing functionAlex Richardson1-2/+2
2021-06-23[Constants] Handle addrspacecast with opaque pointer typeNikita Popov1-3/+3
2021-06-21[OpaquePtr] Support opaque constant expression GEPNikita Popov1-5/+7
2021-06-07[Constants] Extend support for scalable-vector splatsFraser Cormack1-98/+95
2021-06-03[Constants][PowerPC] Check exactlyValue for ppc_fp128 in isNullValueJinsong Ji1-1/+3
2021-05-14[LowerConstantIntrinsics] reuse isManifestLogic from ConstantFoldingNick Desaulniers1-0/+12
2021-05-10[Constant] Allow ConstantAggregateZero a scalable element countFraser Cormack1-7/+9
2021-04-08[Constant] ConstantStruct/Array should not lower poison to undefJuneyoung Lee1-1/+11
2021-03-21Reapply [ConstantFold] Handle vectors in ConstantFoldLoadThroughBitcast()Nikita Popov1-0/+3
2021-03-09[llvm] Change DSOLocalEquivalent type if the underlying global value type cha...Leonard Chan1-0/+6
2021-03-08[DebugInfo] Support DIArgList in DbgVariableIntrinsicgbtozers1-0/+6
2021-02-18[llvm][IR] Do not place constants with static relocations in a mergeable sectionLeonard Chan1-7/+16
2021-01-06[llvm] Use llvm::all_of (NFC)Kazu Hirata1-1/+1
2021-01-07[Constant] Update ConstantVector::get to return poison if all input elems are...Juneyoung Lee1-1/+4
2021-01-06[Constant] Add containsPoisonElementJuneyoung Lee1-7/+18
2021-01-05[IR] Add ConstantInt::getBool helpers to wrap getTrue/getFalse.Simon Pilgrim1-0/+8
2021-01-04[llvm] Construct SmallVector with iterator ranges (NFC)Kazu Hirata1-1/+1
2020-12-01[llvm] Fix for failing test from fdbd84c6c819d4462546961f6086c1524d5d5ae8Leonard Chan1-2/+1
2020-11-30[llvm] Fix for failing test from cf8ff75bade763b054476321dcb82dcb2e7744c7Leonard Chan1-0/+5
2020-11-29[ConstantFold] Fold operations to poison if possibleJuneyoung Lee1-0/+3
2020-11-26Fix use-of-uninitialized-value in rG75f50e15bf8fZhengyang Liu1-1/+9
2020-11-25Adding PoisonValue for representing poison value explicitly in IRZhengyang Liu1-0/+40