aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-06-22Remove the IsStreamed member variable.Rafael Espindola1-15/+9
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-3/+3
2015-06-17Move the personality function from LandingPadInst to FunctionDavid Majnemer1-7/+40
2015-06-17Handle forward referenced function when streaming bitcode.Rafael Espindola1-24/+35
2015-06-17Handle MaterializeAll in getLazyBitcodeModuleImpl. NFC.Rafael Espindola1-15/+11
2015-06-16Use std::unique_ptr to manage the DataStreamer in bitcode parsing.Rafael Espindola1-26/+31
2015-06-16Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC.Rafael Espindola1-17/+13
2015-06-16Improve handling of end of file in the bitcode reader.Rafael Espindola1-40/+5
2015-06-15Protection against stack-based memory corruption errors using SafeStackPeter Collingbourne1-0/+2
2015-06-15Don't indent inside a namespace. NFC.Rafael Espindola1-21/+19
2015-06-15Replace @ with the more common \. NFC.Rafael Espindola1-6/+6
2015-06-15Don't repeat names in comments and start functions with a lower case letter.Rafael Espindola1-537/+527
2015-06-15Cleanup the constructor of BitcodeReader. NFC.Rafael Espindola1-30/+28
2015-06-12Rangify two for loops in BitcodeReader.cpp.Yaron Keren1-10/+5
2015-06-06Use early return idiom. NFCFilipe Cabecinhas1-6/+6
2015-06-03[BitcodeReader] Diagnose type mismatches with aliasesFilipe Cabecinhas1-3/+6
2015-06-03[BitcodeReader] Check vector size before trying to create a VectorTypeFilipe Cabecinhas1-0/+2
2015-05-30[BitcodeReader] Change an assert to a call to a call to Error()Filipe Cabecinhas1-2/+2
2015-05-29Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial typesBenjamin Kramer1-3/+1
2015-05-27[BitcodeReader] Change assert to report_fatal_errorFilipe Cabecinhas1-1/+2
2015-05-26Add initial support for the convergent attribute.Owen Anderson1-0/+2
2015-05-26[BitcodeReader] Sanity check on Comdat IDFilipe Cabecinhas1-2/+4
2015-05-21IR / debug info: Add a DWOId field to DICompileUnit,Adrian Prantl1-2/+3
2015-05-19[BitcodeReader] Error out if we read an invalid function argument typeFilipe Cabecinhas1-1/+4
2015-05-18[BitcodeReader] Make sure the type of the inserted value matches the type of ...Filipe Cabecinhas1-0/+3
2015-05-18Extract the load/store type verification to a separate function.Filipe Cabecinhas1-9/+38
2015-05-16[BitcodeReader] Don't allow INSERTVAL/EXTRACTVAL with 0 indicesFilipe Cabecinhas1-4/+10
2015-05-15Remove redundant checks. NFCFilipe Cabecinhas1-2/+0
2015-05-15While in GlobalValue fix the function(s) that don't follow theEric Christopher1-4/+4
2015-05-08[opaque pointer type] Explicit pointee type for GEPOperator/GEPConstantExpr.David Blaikie1-4/+6
2015-04-30Don't overflow GCTableFilipe Cabecinhas1-1/+1
2015-04-30Make sure Op->getType() is a PointerType before we cast<> it.Filipe Cabecinhas1-0/+2
2015-04-30Make sure we don't resize(0) when we get a fwdref with Idx == UINT_MAXFilipe Cabecinhas1-0/+4
2015-04-29[opaque pointer type] Pass GlobalAlias the actual pointer type rather than de...David Blaikie1-2/+1
2015-04-29IR: Give 'DI' prefix to debug info metadataDuncan P. N. Exon Smith1-21/+21
2015-04-29Use an "early return" idiom for the error case. NFCFilipe Cabecinhas1-8/+6
2015-04-29Check that we have a valid PointerType element type before calling get()Filipe Cabecinhas1-1/+2
2015-04-29Use the ArrayType member function for array element types.Filipe Cabecinhas1-1/+1
2015-04-29Make sure that isValidElementType(Type) before calling {Array,Struct}Type::ge...Filipe Cabecinhas1-2/+4
2015-04-28Relax an assert when there's a type mismatch in forward referencesFilipe Cabecinhas1-1/+3
2015-04-28[opaque pointer type] Encode the allocated type of an alloca rather than its ...David Blaikie1-6/+13
2015-04-28[opaque pointer type] Encode the pointee type in the bitcode for 'cmpxchg'David Blaikie1-5/+8
2015-04-27[opaque pointer type] encode the pointee type of global variablesDavid Blaikie1-5/+11
2015-04-24IR: Add assembly/bitcode support for function metadata attachmentsDuncan P. N. Exon Smith1-4/+17
2015-04-24[opaque pointer type] bitcode: add explicit callee type to invoke instructionsDavid Blaikie1-14/+23
2015-04-24[BitcodeReader] Fix asserts when we read a non-vector type for insert/extract...Filipe Cabecinhas1-2/+9
2015-04-23Recommit r235458: [opaque pointer type] Avoid using PointerType::getElementTy...David Blaikie1-7/+6
2015-04-22Revert "[opaque pointer type] Avoid using PointerType::getElementType for a f...David Blaikie1-6/+7
2015-04-22Have more strict type checks when creating BinOp nodes in BitcodeReaderFilipe Cabecinhas1-14/+29
2015-04-22[opaque pointer types] Serialize the value type for atomic store instructionsDavid Blaikie1-4/+8