summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
AgeCommit message (Expand)Author
2015-06-15Cleanup the constructor of BitcodeReader. NFC.Rafael Espindola
2015-06-12Rangify several for loops in ValueEnumerator constructor.Yaron Keren
2015-06-12Rangify two for loops in BitcodeReader.cpp.Yaron Keren
2015-06-06Use early return idiom. NFCFilipe Cabecinhas
2015-06-03[BitcodeReader] Diagnose type mismatches with aliasesFilipe Cabecinhas
2015-06-03[BitcodeReader] Check vector size before trying to create a VectorTypeFilipe Cabecinhas
2015-05-30[BitcodeReader] Change an assert to a call to a call to Error()Filipe Cabecinhas
2015-05-29Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial typesBenjamin Kramer
2015-05-27[BitcodeReader] Change assert to report_fatal_errorFilipe Cabecinhas
2015-05-27[BitstreamReader] Make sure the Array operand type is an encodingFilipe Cabecinhas
2015-05-27clang-format a couple of linesFilipe Cabecinhas
2015-05-26[BitcodeReader] Make sure abbrev records have at least one operand (record code)Filipe Cabecinhas
2015-05-26Add initial support for the convergent attribute.Owen Anderson
2015-05-26[BitcodeReader] Sanity check on Comdat IDFilipe Cabecinhas
2015-05-25Simplify boolean conditional return statements.Rafael Espindola
2015-05-21IR / debug info: Add a DWOId field to DICompileUnit,Adrian Prantl
2015-05-19[BitcodeReader] Error out if we read an invalid function argument typeFilipe Cabecinhas
2015-05-19[BitcodeReader] It's a malformed block if CodeLenWidth is too bigFilipe Cabecinhas
2015-05-18[BitcodeReader] Make sure the type of the inserted value matches the type of ...Filipe Cabecinhas
2015-05-18Extract the load/store type verification to a separate function.Filipe Cabecinhas
2015-05-16[BitcodeReader] Don't allow INSERTVAL/EXTRACTVAL with 0 indicesFilipe Cabecinhas
2015-05-15Remove redundant checks. NFCFilipe Cabecinhas
2015-05-15While in GlobalValue fix the function(s) that don't follow theEric Christopher
2015-05-08[opaque pointer type] Explicit pointee type for GEPOperator/GEPConstantExpr.David Blaikie
2015-05-06Bitcode: Set LastDL after writing DebugLocsDuncan P. N. Exon Smith
2015-04-30Don't overflow GCTableFilipe Cabecinhas
2015-04-30Make sure Op->getType() is a PointerType before we cast<> it.Filipe Cabecinhas
2015-04-30Make sure we don't resize(0) when we get a fwdref with Idx == UINT_MAXFilipe Cabecinhas
2015-04-29[opaque pointer type] Pass GlobalAlias the actual pointer type rather than de...David Blaikie
2015-04-29IR: Give 'DI' prefix to debug info metadataDuncan P. N. Exon Smith
2015-04-29Use an "early return" idiom for the error case. NFCFilipe Cabecinhas
2015-04-29Check that we have a valid PointerType element type before calling get()Filipe Cabecinhas
2015-04-29Use the ArrayType member function for array element types.Filipe Cabecinhas
2015-04-29Turn an assert into report_fatal_error since it's reachable based on user inputFilipe Cabecinhas
2015-04-29Make sure that isValidElementType(Type) before calling {Array,Struct}Type::ge...Filipe Cabecinhas
2015-04-28Relax an assert when there's a type mismatch in forward referencesFilipe Cabecinhas
2015-04-28[opaque pointer type] Encode the allocated type of an alloca rather than its ...David Blaikie
2015-04-28[opaque pointer type] Encode the pointee type in the bitcode for 'cmpxchg'David Blaikie
2015-04-27[opaque pointer type] encode the pointee type of global variablesDavid Blaikie
2015-04-24IR: Add assembly/bitcode support for function metadata attachmentsDuncan P. N. Exon Smith
2015-04-24[opaque pointer type] bitcode: add explicit callee type to invoke instructionsDavid Blaikie
2015-04-24[BitcodeReader] Fix asserts when we read a non-vector type for insert/extract...Filipe Cabecinhas
2015-04-23Recommit r235458: [opaque pointer type] Avoid using PointerType::getElementTy...David Blaikie
2015-04-23Be more strict about the operand for the array type in BitcodeReaderFilipe Cabecinhas
2015-04-23Verify sizes when trying to read a BitcodeAbbrevOpFilipe Cabecinhas
2015-04-22Revert "[opaque pointer type] Avoid using PointerType::getElementType for a f...David Blaikie
2015-04-22Have more strict type checks when creating BinOp nodes in BitcodeReaderFilipe Cabecinhas
2015-04-22[opaque pointer types] Serialize the value type for atomic store instructionsDavid Blaikie
2015-04-22[opaque pointer types] Serialize the value type for store instructionsDavid Blaikie
2015-04-21[opaque pointer type] Avoid using PointerType::getElementType for a few cases...David Blaikie