| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 92649
|
|
|
|
|
|
|
| |
things that occur in types. "operands" are things that occur
in values.
llvm-svn: 92322
|
|
|
|
|
|
|
|
| |
Among other benefits, this doesn't leak the SmallPtrSet, has the verifier
code in the verifier pass, actually does the verification at the end,
and is considerably simpler.
llvm-svn: 92217
|
|
|
|
|
|
|
|
|
|
|
| |
- an MDNode is designated as function-local when created, and continues to be even if its operands are modified not to refer to function-local IR
- function-localness is designated via lowest bit in SubclassData
- getLocalFunction() descends MDNode tree to see if it is consistently function-local
Add verification of MDNodes to checks that MDNodes are consistently function-local.
Update AsmWriter to use isFunctionLocal().
llvm-svn: 91708
|
|
|
|
| |
llvm-svn: 89646
|
|
|
|
| |
llvm-svn: 86846
|
|
|
|
| |
llvm-svn: 85722
|
|
|
|
|
|
| |
block had its address taken even if the blockaddress was dead.
llvm-svn: 85706
|
|
|
|
| |
llvm-svn: 85621
|
|
|
|
|
|
| |
VISIBILITY_HIDDEN removal.
llvm-svn: 85043
|
|
|
|
|
|
|
| |
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042
|
|
|
|
|
|
| |
subclass of AllocationInst, so it no longer is necessary.
llvm-svn: 84969
|
|
|
|
| |
llvm-svn: 84348
|
|
|
|
| |
llvm-svn: 83960
|
|
|
|
|
|
|
|
| |
the new predicates I added) instead of going through a context and doing a
pointer comparison. Besides being cheaper, this allows a smart compiler
to turn the if sequence into a switch.
llvm-svn: 83297
|
|
|
|
|
|
|
| |
used to support GlobalVariables storing MDNodes, back when they were derived
from Constant before the introduction of NamedMDNode, but never removed.
llvm-svn: 82943
|
|
|
|
| |
llvm-svn: 82561
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
malloc, not the resulting type).
In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants.
Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array.
Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type.
Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls.
Add verification for malloc calls.
Reviewed by Dan Gohman.
llvm-svn: 82257
|
|
|
|
|
|
| |
been told that the type is no longer abstract.
llvm-svn: 81749
|
|
|
|
| |
llvm-svn: 81736
|
|
|
|
|
|
|
| |
Also break the type verification stuff into its own TypeSet to keep the
Verifier pass from becoming an AbstractTypeUser.
llvm-svn: 81729
|
|
|
|
|
|
|
|
| |
change as types are refined. Remove abstract types from CheckedTypes when they
we're informed that they have been refined. The only way types get refined in
the verifier is when later function passes start optimizing. Fixes PR4970.
llvm-svn: 81716
|
|
|
|
| |
llvm-svn: 81530
|
|
|
|
|
|
| |
performance.
llvm-svn: 81193
|
|
|
|
|
|
|
|
|
| |
so "Assert1(isa<>); cast<>" is a valid idiom.
Actually check the PHI node's odd-numbered operands for BasicBlock-ness, like
the comment said.
llvm-svn: 81182
|
|
|
|
|
|
|
| |
Make the verifier more robust by avoiding unprotected cast<> calls. Notably,
Assert1(isa<>); cast<> is not safe as Assert1 does not terminate the program.
llvm-svn: 81179
|
|
|
|
| |
llvm-svn: 81157
|
|
|
|
| |
llvm-svn: 81156
|
|
|
|
|
|
| |
Patch by Erick Tryzelaar.
llvm-svn: 81107
|
|
|
|
|
|
| |
buildbot's stage 2 configure
llvm-svn: 80871
|
|
|
|
|
|
| |
this time. I'll back out if needed...
llvm-svn: 80858
|
|
|
|
| |
llvm-svn: 79852
|
|
|
|
|
|
| |
This also updates dominator related stuff.
llvm-svn: 79825
|
|
|
|
| |
llvm-svn: 79816
|
|
|
|
| |
llvm-svn: 78948
|
|
|
|
|
|
| |
infrastructure work needed to get the contexts to where they need to be first.
llvm-svn: 78759
|
|
|
|
|
|
|
|
| |
while
the latter is capable of representing either a primitive or an extended type.
llvm-svn: 78713
|
|
|
|
|
|
| |
arguments that are vectors of any size and element type.
llvm-svn: 78631
|
|
|
|
|
|
| |
own struct type.
llvm-svn: 78610
|
|
|
|
| |
llvm-svn: 78169
|
|
|
|
|
|
| |
them in the verifier.
llvm-svn: 78160
|
|
|
|
| |
llvm-svn: 77568
|
|
|
|
| |
llvm-svn: 77516
|
|
|
|
|
|
| |
overloaded types for intrinsic parameters.
llvm-svn: 77466
|
|
|
|
|
|
| |
New name is Metadata.h.
llvm-svn: 77370
|
|
|
|
|
|
|
| |
- The only meat here is in Value.{h,cpp} the rest is essential 'const
std::string &' -> 'const Twine &'.
llvm-svn: 77048
|
|
|
|
| |
llvm-svn: 76702
|
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
| |
llvm-svn: 75153
|