| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 100083
|
|
|
|
| |
llvm-svn: 100082
|
|
|
|
|
|
| |
methods to try to have the type predicates be more logically positioned.
llvm-svn: 96349
|
|
|
|
|
|
|
| |
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.
llvm-svn: 96344
|
|
|
|
|
|
| |
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!
llvm-svn: 96223
|
|
|
|
| |
llvm-svn: 96011
|
|
|
|
|
|
|
| |
implement support for it) that the stack should be forcibly realigned in the
prologue (and the process reversed in the epilogue).
llvm-svn: 95945
|
|
|
|
|
|
|
|
|
|
|
|
| |
This time it's for real! I am going to hook this up in the frontends as well.
The inliner has some experimental heuristics for dealing with the inline hint.
When given a -respect-inlinehint option, functions marked with the inline
keyword are given a threshold just above the default for -O3.
We need some experiments to determine if that is the right thing to do.
llvm-svn: 95466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.
Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.
Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.
llvm-svn: 94686
|
|
|
|
| |
llvm-svn: 94378
|
|
|
|
| |
llvm-svn: 94243
|
|
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
|
|
|
|
|
| |
message, to be more informative.
llvm-svn: 94072
|
|
|
|
|
|
| |
users.
llvm-svn: 93558
|
|
|
|
|
|
| |
and ConvertValIDToValue into a more powerful ConvertValIDToValue() that does all three's work
llvm-svn: 93197
|
|
|
|
|
|
|
|
| |
getWhenValsUnresolved().
Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue().
llvm-svn: 93108
|
|
|
|
| |
llvm-svn: 93067
|
|
|
|
| |
llvm-svn: 92838
|
|
|
|
| |
llvm-svn: 92793
|
|
|
|
| |
llvm-svn: 92783
|
|
|
|
| |
llvm-svn: 92771
|
|
|
|
| |
llvm-svn: 92761
|
|
|
|
|
|
| |
dereference the type pointer.
llvm-svn: 92726
|
|
|
|
| |
llvm-svn: 92304
|
|
|
|
|
|
|
| |
parser-global MDsOnInst vector and make ParseInstructionMetadata return
its result by-ref through an argument like the entire rest of the parser.
llvm-svn: 92302
|
|
|
|
|
|
| |
handle the comma case for metadata.
llvm-svn: 92301
|
|
|
|
|
|
|
| |
and make it non-optional. This fixes the bug where we'd accept
and ignore a spurious comma after some instructions.
llvm-svn: 92300
|
|
|
|
| |
llvm-svn: 92299
|
|
|
|
|
|
| |
out of each opcode's handler. Change ret over so far.
llvm-svn: 92298
|
|
|
|
|
|
| |
accept invalid input. Actually add a testcase.
llvm-svn: 92297
|
|
|
|
|
|
|
|
| |
insert/extract value
*constant exprs*.
llvm-svn: 92296
|
|
|
|
|
|
| |
of the code.
llvm-svn: 92295
|
|
|
|
|
|
| |
after their syntactic form, not their semantic form.
llvm-svn: 92294
|
|
|
|
|
|
|
| |
used by other things. Convert it to a vector since it is a dense
numbering.
llvm-svn: 92293
|
|
|
|
| |
llvm-svn: 92292
|
|
|
|
|
|
| |
you'd expect.
llvm-svn: 92291
|
|
|
|
| |
llvm-svn: 92290
|
|
|
|
| |
llvm-svn: 92288
|
|
|
|
| |
llvm-svn: 92287
|
|
|
|
| |
llvm-svn: 92280
|
|
|
|
|
|
| |
extra token.
llvm-svn: 92279
|
|
|
|
| |
llvm-svn: 92277
|
|
|
|
| |
llvm-svn: 92275
|
|
|
|
|
|
|
| |
This exposed a raft of other problems, which I'll deal with in subsequent
patches.
llvm-svn: 92273
|
|
|
|
|
|
|
| |
be RAUW'd and go to null. This also gets us some sorely lacking
type safety.
llvm-svn: 92272
|
|
|
|
|
|
|
| |
metadata objects on them. Though the entire compiler supports this,
the asmparser didn't.
llvm-svn: 92270
|
|
|
|
|
|
|
|
| |
getMDKindID/getMDKindNames methods to LLVMContext (and add
convenience methods to Module), eliminating MetadataContext.
Move the state that it maintains out to LLVMContext.
llvm-svn: 92259
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I asked Devang to do back on Sep 27. Instead of going through the
MetadataContext class with methods like getMD() and getMDs(), just
ask the instruction directly for its metadata with getMetadata()
and getAllMetadata().
This includes a variety of other fixes and improvements: previously
all Value*'s were bloated because the HasMetadata bit was thrown into
value, adding a 9th bit to a byte. Now this is properly sunk down to
the Instruction class (the only place where it makes sense) and it
will be folded away somewhere soon.
This also fixes some confusion in getMDs and its clients about
whether the returned list is indexed by the MDID or densely packed.
This is now returned sorted and densely packed and the comments make
this clear.
This introduces a number of fixme's which I'll follow up on.
llvm-svn: 92235
|
|
|
|
|
|
|
| |
doesn't exist already, eliminate registerMDKind. Tidy up a bunch
of random stuff.
llvm-svn: 92225
|
|
|
|
| |
llvm-svn: 92211
|