path: root/unittests
AgeCommit message (Expand)AuthorFilesLines
2011-09-14Add APInt support for converting to/from hexatridecimal stringsDouglas Gregor1-1/+24
2011-09-13unittests/Support/DataExtractorTest.cpp: Specify ULL explicitly to a few cons...NAKAMURA Takumi1-3/+3
2011-09-13Add the DataExtractor utility class.Benjamin Kramer1-0/+111
2011-09-03Exclude more arm jit failures pending PR10783.Andrew Trick2-3/+4
2011-08-30Fix C++0x narrowing errors when char is unsigned.Jeffrey Yasskin1-1/+1
2011-08-29Fix a test that wasn't testing the right thing.Matt Beaumont-Gay1-4/+6
2011-08-27The 'expected' argument to EXPECT_EQ is actually the first one;John McCall1-23/+23
2011-08-26Excluding ARM JIT tests until someone can fix this compilation path.Andrew Trick1-0/+9
2011-08-24Move TargetRegistry and TargetSelect from Target to Support where they belong.Evan Cheng2-2/+2
2011-07-29Avoid undefined behaviour if somehow NUM_GRAPHS equals 2^32 (orDuncan Sands1-10/+6
2011-07-29Remove extra semicolon.Jakub Staszak1-1/+1
2011-07-28Use unsigned rather than uint16_t in case anyone feels like testingDuncan Sands1-4/+4
2011-07-28Check an additional property specific to the way LLVMDuncan Sands1-0/+15
2011-07-28Add a unittest for the simply connected components (SCC) iterator class.Duncan Sands1-0/+335
2011-07-27Add test cases for BlockFrequency.Jakub Staszak1-0/+56
2011-07-27Remove some code that is no longer needed now that googletest knows howJay Foad1-17/+0
2011-07-27Explicitly cast narrowing conversions inside {}s that will become errors inJeffrey Yasskin1-1/+1
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad1-1/+1
2011-07-24Add Twine support for characters, and switch twine to use a union internallyChris Lattner1-2/+6
2011-07-18Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin1-0/+4
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner9-27/+27
2011-07-15Add an APFloat::convertToInt(APSInt) function that automatically manages theJeffrey Yasskin1-0/+49
2011-07-14The key of a StringMap can contain nul's in it, so having first() returnChris Lattner1-3/+3
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad5-9/+9
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling5-9/+9
2011-07-11De-constify Types in StructType::get() and TargetData::getIntPtrType().Jay Foad1-2/+2
2011-07-11De-constify Types in FunctionType::get().Jay Foad5-7/+7
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner2-89/+0
2011-07-06Fix a subtle issue in SmallVector. The following code did not work as expected:Owen Anderson1-21/+27
2011-06-22Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang!Nick Lewycky1-0/+2
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner1-1/+1
2011-06-18fix the varargs version of StructType::get to not require an LLVMContext, mak...Chris Lattner1-3/+3
2011-06-16add some #includes that will soon be needed.Chris Lattner2-0/+2
2011-06-15unittests: add test for APInt::toString()Dylan Noblesmith1-0/+46
2011-06-15Try fixing Kyrtzidis1-0/+4
2011-06-15Add unit tests for ADT/PackedVectorArgyrios Kyrtzidis2-0/+112
2011-05-21Add CreateLifetimeStart and CreateLifetimeEnd to the IRBuilder, with plans toNick Lewycky1-0/+70
2011-05-18Teach getCastOpcode about element-by-element vector casts. For example, "trunc"Duncan Sands1-0/+8
2011-05-11Handle gcc-compatible compilers (such as clang) the same way we handleOscar Fuentes1-1/+1
2011-04-28Remove bounded StringRef::compare() since nothing but Clang SA was using it a...Lenny Maiorani1-13/+0
2011-04-21PR9214: Convert Metadata API to use ArrayRef.Jay Foad1-6/+6
2011-04-15Implements StringRef::compare with bounds. It is behaves similarly to strncmp...Lenny Maiorani1-0/+13
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad3-0/+3
2011-04-01While testing dragonegg I noticed that isCastable and getCastOpcodeDuncan Sands1-0/+13
2011-03-31Strip trailing whitespace.Duncan Sands2-14/+14
2011-03-30Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer1-4/+2
2011-03-30Add APFloat::getExactInverse.Benjamin Kramer1-0/+23
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-4/+3
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad1-0/+1
2011-03-17Add an argument to APInt's magic udiv calculation to specify the number of bi...Benjamin Kramer1-0/+2