Rafael Espindola
|
c498284e46
Modernize the error handling of the Materialize function.
|
10 years ago |
Rafael Espindola
|
68b02dcd54
Don't ever call materializeAllPermanently during LTO.
|
10 years ago |
Rafael Espindola
|
8b8e2b2f81
clang-format two code snippets to make the next patch easy to read.
|
10 years ago |
Petar Jovanovic
|
fd42335e83
Do not destroy external linkage when deleting function body
|
11 years ago |
Chris Bieneman
|
4ea1a1185a
Eliminating static destructor for the BitCodeErrorCategory by converting to a ManagedStatic.
|
11 years ago |
Rafael Espindola
|
6d66a1cd2f
Pass a && to getLazyBitcodeModule.
|
11 years ago |
Rafael Espindola
|
aa9db69bb5
Fix a double free in llvm::getBitcodeTargetTriple.
|
11 years ago |
Rafael Espindola
|
fb1af0a48a
Pass a std::unique_ptr<MemoryBuffer>& to getLazyBitcodeModule.
|
11 years ago |
Rafael Espindola
|
2292996e1a
Pass a MemoryBufferRef when we can avoid taking ownership.
|
11 years ago |
Duncan P. N. Exon Smith
|
1d8c9d95bf
BitcodeReader: Only create one basic block for each blockaddress
|
11 years ago |
Duncan P. N. Exon Smith
|
1e97329f27
UseListOrder: Correctly count the number of uses
|
11 years ago |
Duncan P. N. Exon Smith
|
7f2cd21ddd
BitcodeReader: Fix non-determinism in use-list order
|
11 years ago |
Duncan P. N. Exon Smith
|
1526278443
UseListOrder: Fix blockaddress use-list order
|
11 years ago |
Duncan P. N. Exon Smith
|
147851ef9d
BitcodeReader: Change mechanics of BlockAddress forward references, NFC
|
11 years ago |
Duncan P. N. Exon Smith
|
cf8b959e8d
BitcodeReader: Fix some BlockAddress forward reference corner cases
|
11 years ago |
Rafael Espindola
|
63252a0aa3
Have a single enum for "not a bitcode" error.
|
11 years ago |
Rafael Espindola
|
75a9d37187
Move the bitcode error enum to the include directory.
|
11 years ago |
Duncan P. N. Exon Smith
|
bd24fe8c7e
Bitcode: Serialize (and recover) use-list order
|
11 years ago |
Hal Finkel
|
11af4b49b2
Add a dereferenceable attribute
|
11 years ago |
Hal Finkel
|
d0261683e8
Rename AlignAttribute to IntAttribute
|
11 years ago |
Reid Kleckner
|
55a421f98d
Roundtrip the inalloca bit on allocas through bitcode
|
11 years ago |
Rafael Espindola
|
483d89bcd4
Fix a bug in the conversion to ErrorOr.
|
11 years ago |
Rafael Espindola
|
c77a7749ff
Revert "Convert a few std::strings to StringRef."
|
11 years ago |
Rafael Espindola
|
9f72a18a50
Convert a few std::strings to StringRef.
|
11 years ago |
Rafael Espindola
|
2d1f275c99
Convert these functions to use ErrorOr.
|
11 years ago |
Rafael Espindola
|
82a599a0a4
Remove unused old-style error handling.
|
11 years ago |
David Majnemer
|
c8a1169c93
IR: Add COMDATs to the IR
|
11 years ago |
Alp Toker
|
9b0be7b61a
IRReader: don't mark MemoryBuffers const
|
11 years ago |
Alp Toker
|
9fc1a6ffb7
Propagate const-correctness into parseBitcodeFile()
|
11 years ago |
Eli Bendersky
|
bb167336b3
Rename loop unrolling and loop vectorizer metadata to have a common prefix.
|
11 years ago |