- Oct 16, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 43042
-
Chris Lattner authored
#import to #include's as a test. llvm-svn: 43041
-
Chris Lattner authored
llvm-svn: 43040
-
Fariborz Jahanian authored
llvm-svn: 43039
-
Fariborz Jahanian authored
llvm-svn: 43038
-
Steve Naroff authored
Emit diagnostics for methods not found. llvm-svn: 43037
-
Owen Anderson authored
having dominator information on MBB's. llvm-svn: 43036
-
Evan Cheng authored
llvm-svn: 43035
-
Dale Johannesen authored
llvm-svn: 43034
-
Dale Johannesen authored
llvm-svn: 43033
-
Chris Lattner authored
doesn't fit into 16 bits. llvm-svn: 43032
-
Duncan Sands authored
top bit of a ValueType to be zero. Enforce this by ensuring an assertion failure if someone tries to create a ValueType without this property. I chose this minimal approach rather than a more official integration of the notion of reserved bits into ValueType because I'm hoping that the verifier will be changed to no longer require this :) llvm-svn: 43031
-
Duncan Sands authored
codegen support. This should have no effect on codegen for other types. Debatable bits: (1) the use (abuse?) of a set in SDNode::getValueTypeList; (2) the length of getTypeToTransformTo, which maybe should be refactored with a non-inline part for extended value types. llvm-svn: 43030
-
Anton Korobeynikov authored
llvm-svn: 43029
-
Duncan Sands authored
being passed instead of an opcode; (2) ValueType being passed for isVolatile (!) in getLoad. llvm-svn: 43028
-
Arnold Schwaighofer authored
was stored to the acutal stack slot before the parameters were lowered to their stack slot. This could cause arguments to be overwritten by the return address if the called function had less parameters than the caller function. The update should remove the last failing test case of llc-beta: SPASS. llvm-svn: 43027
-
Evan Cheng authored
llvm-svn: 43026
-
Chris Lattner authored
work with type promotion on x86. llvm-svn: 43025
-
Chris Lattner authored
This fixes a bug Anders noticed. llvm-svn: 43024
-
Steve Naroff authored
Bad cast...need to use dyn_cast_or_null. Also changed Sema::InitBuiltinVaListType (which had the same bug). llvm-svn: 43023
-
Fariborz Jahanian authored
llvm-svn: 43022
-
Steve Naroff authored
Change the type of ObjCStringLiteral from "struct __builtin_CFString *" to "NSConstantString *". This makes the typecheck much happier. Without this change, the type checker would have to special case "struct __builtin_CFString *". This change does assume the interface for NSConstantString is declared in the translation unit. I left ASTContext::getCFConstantStringType() around for now (with a comment that says it is currently unused). llvm-svn: 43021
-
Dan Gohman authored
llvm-svn: 43020
-
- Oct 15, 2007
-
-
Evan Cheng authored
llvm-svn: 43017
-
Dan Gohman authored
llvm-svn: 43016
-
Dan Gohman authored
llvm-svn: 43015
-
Steve Naroff authored
Fix a parser bug with message expressions - need to call ParsePostfixExpressionSuffix(). Now were correctly allow the following... i = [str rangeOfString:@"]"].length; llvm-svn: 43012
-
Steve Naroff authored
Move type compatibility predicates from Type to ASTContext. In addition, the predicates are now instance methods (they were previously static class methods on Type). This allowed me to fix the following hack from this weekend... // FIXME: Devise a way to do this without using strcmp. // Would like to say..."return getAsStructureType() == IdStructType;", but // we don't have a pointer to ASTContext. bool Type::isObjcIdType() const { if (const RecordType *RT = getAsStructureType()) return !strcmp(RT->getDecl()->getName(), "objc_object"); return false; } ...which is now... bool isObjcIdType(QualType T) const { return T->getAsStructureType() == IdStructType; } Side notes: - I had to remove a convenience function from the TypesCompatibleExpr class. int typesAreCompatible() const {return Type::typesAreCompatible(Type1,Type2);} Which required a couple clients get a little more verbose... - Result = TCE->typesAreCompatible(); + Result = Ctx.typesAreCompatible(TCE->getArgType1(), TCE->getArgType2()); Overall, I think this change also makes sense for a couple reasons... 1) Since ASTContext vends types, it makes sense for the type compatibility API to be there. 2) This allows the type compatibility predeciates to refer to data not strictly present in the AST (which I have found problematic on several occasions). llvm-svn: 43009
-
Dan Gohman authored
is welcome! llvm-svn: 43007
-
Anders Carlsson authored
llvm-svn: 43006
-
Chris Lattner authored
unconditionally creating an i64 bitcast. With the future legalizer design, operation legalization can't introduce new nodes with illegal types. This fixes the rest of olden on ppc32. llvm-svn: 43005
-
Evan Cheng authored
llvm-svn: 43004
-
Devang Patel authored
llvm-svn: 43002
-
Dan Gohman authored
from "test" to "foo" so that they don't match the grep -i ST. llvm-svn: 43001
-
Fariborz Jahanian authored
llvm-svn: 43000
-
Ted Kremenek authored
llvm-svn: 42999
-
Ted Kremenek authored
Renamed internal method of ImutAVLTree::RemoveMutableFlag to MarkImmutable. Added enum for bit manipulation (more self-documentating). llvm-svn: 42998
-
Evan Cheng authored
llvm-svn: 42996
-
Chris Lattner authored
llvm-svn: 42995
-
Chris Lattner authored
llvm-svn: 42994
-