- Dec 17, 2009
-
-
Ken Dyck authored
LegalizeDAG.cpp. Unlike the code it replaces, which simply decrements the simple type by one, getHalfSizedIntegerVT() searches for the smallest simple integer type that is at least half the size of the type it is called on. This approach has the advantage that it will continue working if a new value type (such as i24) is added to MVT. Also, in preparation for new value types, remove the assertions that non-power-of-2 8-bit-mutiple types are Extended when legalizing extload and truncstore operations. llvm-svn: 91614
-
Ted Kremenek authored
Convert GRExprEngine::VisitCallExpr() to use a worklist instead of recursion to evaluate the arguments of a CallExpr. This simplifies the logic and makes it easier to read. (it also avoids any issues with blowing out the stack if the CallExpr had a ridiculous number of arguments) llvm-svn: 91613
-
Chris Lattner authored
llvm-svn: 91612
-
Jeffrey Yasskin authored
llvm-svn: 91611
-
Ted Kremenek authored
llvm-svn: 91610
-
Eric Christopher authored
llvm-svn: 91609
-
Bob Wilson authored
llvm-svn: 91607
-
Evan Cheng authored
llvm-svn: 91604
-
Jim Grosbach authored
Patch from jon.forums at gmail.com llvm-svn: 91603
-
Ken Dyck authored
incrementing the simple value type of the 16-bit type, which would give the wrong type if an intemediate MVT (such as i24) were introduced. llvm-svn: 91602
-
Nuno Lopes authored
implement PR3962: diagnose more faulty cases of usage of the restrict qualifier. this also removes a FIXME llvm-svn: 91601
-
Nuno Lopes authored
revert part of my last patch, and mark only the c++ global new operator as noalias. the rest will be infered by llvm optz llvm-svn: 91600
-
Nuno Lopes authored
please review for English grammar mistakes llvm-svn: 91599
-
Evan Cheng authored
Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently introduced a non-deterministic behavior in the optimizer somewhere. llvm-svn: 91598
-
Chandler Carruth authored
llvm-svn: 91597
-
Chandler Carruth authored
appropriately. This also silences some pedantic GCC warnings. llvm-svn: 91596
-
Mikhail Glushenkov authored
llvm-svn: 91595
-
Mikhail Glushenkov authored
llvm-svn: 91594
-
Mikhail Glushenkov authored
llvm-svn: 91593
-
Mikhail Glushenkov authored
llvm-svn: 91592
-
Ted Kremenek authored
llvm-svn: 91591
-
Anders Carlsson authored
Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that takes a CXXRecordDecl since we were just creating a QualType from it anyway. llvm-svn: 91590
-
Chandler Carruth authored
llvm-svn: 91589
-
Mike Stump authored
llvm-svn: 91588
-
Eli Friedman authored
folding in particular expects null to be on the RHS. llvm-svn: 91587
-
Chris Lattner authored
1. Don't make a copy of LangOptions every time a lexer is created. 2. Don't make CharInfo global mutable state. 3. Fix the implementation to properly treat ^Z as EOF instead of as horizontal whitespace, which matches the semantic implemented by VC++. llvm-svn: 91586
-
Anders Carlsson authored
llvm-svn: 91585
-
Bob Wilson authored
llvm-svn: 91584
-
Anders Carlsson authored
llvm-svn: 91583
-
Bob Wilson authored
llvm-svn: 91582
-
Anders Carlsson authored
llvm-svn: 91581
-
Anders Carlsson authored
llvm-svn: 91580
-
Sean Callanan authored
with -disassemble, llvm-mc now accepts lines of the form 0x00 0x00 and passes the resulting bytes to the disassembler for the chosen (or default) target, printing the result. llvm-svn: 91579
-
Ted Kremenek authored
llvm-svn: 91578
-
Ted Kremenek authored
llvm-svn: 91577
-
Fariborz Jahanian authored
PR5809 llvm-svn: 91575
-
Evan Cheng authored
Fold (zext (and x, cst)) -> (and (zext x), cst) DAG combiner likes to optimize expression in the other way so this would end up cause an infinite looping. llvm-svn: 91574
-
Eli Friedman authored
llvm-svn: 91573
-
Ted Kremenek authored
llvm-svn: 91572
-
Johnny Chen authored
llvm-svn: 91571
-