aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Value.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-09-10Add an isSwiftError predicate to ValueArnold Schwaighofer1-0/+10
2016-08-17Replace "fallthrough" comments with LLVM_FALLTHROUGHJustin Bogner1-2/+2
2016-08-12Use the range variant of find/find_if instead of unpacking begin/endDavid Majnemer1-2/+2
2016-07-11BasicAA should look through functions with returned argumentsHal Finkel1-0/+12
2016-06-02Remove Value::isPointerDereferenceable; NFCISanjoy Das1-24/+18
2016-05-11NFC. Introduce Value::isPointerDereferenceableArtur Pilipenko1-0/+23
2016-04-27NFC. Introduce Value::getPointerDerferecnceableBytesArtur Pilipenko1-0/+34
2016-04-27Use DL preferred alignment for alloca in Value::getPointerAlignmentArtur Pilipenko1-2/+7
2016-04-08Don't IPO over functions that can be de-refinedSanjoy Das1-1/+1
2016-04-02Rename Context::discardValueNames() to shouldDiscardValueNames() (NFC)Mehdi Amini1-1/+1
2016-03-10Add a flag to the LLVMContext to disable name for Value other than GlobalValueMehdi Amini1-0/+4
2016-02-26[IR] Optimize bitfield layout of Value for MSVCReid Kleckner1-0/+2
2016-02-24NFC. Move getAlignment helper function from ValueTracking to Value class. Artur Pilipenko1-0/+42
2016-02-10Simplify handleOperandChangeImpl() removing last argument (NFC)Mehdi Amini1-1/+1
2016-02-03Address NDEBUG-related linkage issues for Value::assertModuleIsMaterialized()Todd Fiala1-1/+3
2016-02-02Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes.Eugene Zelenko1-5/+3
2016-01-15Bring back "Assert that we have all use/users in the getters."Rafael Espindola1-0/+10
2016-01-14Revert "Assert that we have all use/users in the getters."Michael Zolotukhin1-10/+0
2015-12-19Assert that we have all use/users in the getters.Rafael Espindola1-0/+10
2015-09-23Remove handling of AddrSpaceCast in stripAndAccumulateInBoundsConstantOffsetsPhilip Reames1-2/+1
2015-07-10[IR] Switch static const to an enum to silence MSVC linker warningsDavid Majnemer1-2/+0
2015-06-24Devirtualize Constant::replaceUsesOfWithOnConstant.Pete Cooper1-1/+1
2015-06-12Rename NumOperands to make it clear its managed by the User. NFC.Pete Cooper1-1/+2
2015-06-01Move the name pointer out of Value into a map that lives on theOwen Anderson1-3/+32
2015-05-19Store intrinsic ID by value in Function instead of a string lookup. NFC.Pete Cooper1-4/+7
2015-04-23Move Value.isDereferenceablePointer to ValueTracking [NFC]Philip Reames1-131/+0
2015-04-10[CallSite] Make construction from Value* (or Instruction*) explicit.Benjamin Kramer1-2/+2
2015-03-23Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used.Benjamin Kramer1-0/+1
2015-03-10Fix Value dangling reference debug outputAndrew Kaylor1-6/+4
2015-03-10DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini1-19/+16
2015-02-09isDereferenceablePointer: look through gc.relocate callsRamkumar Ramachandra1-0/+9
2015-02-05Teach isDereferenceablePointer() to look through bitcast constant expressions.Michael Kuperstein1-1/+1
2015-01-09Cleaup ValueHandle to no longer keep a PointerIntPair for the Value*.Chandler Carruth1-12/+12
2014-12-22The leak detector is dead, long live asan and valgrind.Rafael Espindola1-4/+0
2014-12-09IR: Split Metadata from ValueDuncan P. N. Exon Smith1-36/+34
2014-11-21[InstCombine] Re-commit of r218721 (Optimize icmp-select-icmp sequence)Gerolf Hoflehner1-0/+22
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-4/+4
2014-10-23Assert that ValueHandleBase::ValueIsRAUWd doesn't change the tracked Value type.Frederic Riss1-0/+2
2014-10-15IR: Move NumOperands from User to Value, NFCDuncan P. N. Exon Smith1-1/+2
2014-10-15IR: Cleanup comments for Value, User, and MDNodeDuncan P. N. Exon Smith1-26/+4
2014-08-21Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-2/+2
2014-08-18Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoi...Craig Topper1-2/+2
2014-08-17Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-2/+2
2014-08-01IR: Add Value::reverseUseList()Duncan P. N. Exon Smith1-0/+19
2014-07-19Handle AddrSpaceCast in stripAndAccumulateInBoundsConstantOffsetsHal Finkel1-1/+2
2014-07-19Make Value::isDereferenceablePointer handle offsets to pointer types with der...Hal Finkel1-0/+21
2014-07-18Add a dereferenceable attributeHal Finkel1-3/+24
2014-07-14Look through addrspacecast when checking isDereferenceablePointerMatt Arsenault1-0/+3
2014-07-10Fix isDereferenceablePointer not to try to take the size of an unsized type.Hal Finkel1-1/+2
2014-07-10Allow isDereferenceablePointer to look through some bitcastsHal Finkel1-8/+23