- Jul 15, 2008
-
-
Bruno Cardoso Lopes authored
llvm-svn: 53585
-
Ted Kremenek authored
Provide an "Analysis Scope" for Analyses so checks can either be run on code declarations (bodies) or Objective-C @implementation blocks. llvm-svn: 53584
-
Devang Patel authored
LinkOnce definitions have default scope, like weak definitions. Otherwise, the linker may not be able to match LinkOnce definition from one module with an exteranl reference from other module. llvm-svn: 53580
-
Ted Kremenek authored
llvm-svn: 53578
-
Ted Kremenek authored
llvm-svn: 53577
-
Ted Kremenek authored
llvm-svn: 53576
-
Ted Kremenek authored
clang.cpp now #include these definitions to create the command line options, and AnalysisConsumer #includes this file to generate the switch statement to create actions. Renamed -check-objc-methodsigs to -warn-objc-methodsigs. The "missing -dealloc" check is now optional: -warn-objc-missing-dealloc llvm-svn: 53575
-
Evan Cheng authored
llvm-svn: 53574
-
- Jul 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 53573
-
Chris Lattner authored
Patch by Nicolas Capens! llvm-svn: 53571
-
Dan Gohman authored
the BB member to the current basic block after emitting instructions. llvm-svn: 53567
-
Nate Begeman authored
Add some code to handle vector comparisons, which is the language side of the llvm vicmp/vfcmp instructions. Also make the vector-vector and vector-scalar asign checks a bit more sane under the presence of lax vector conversions. llvm-svn: 53565
-
Dan Gohman authored
llvm-svn: 53564
-
Dan Gohman authored
don't have value names, so use print instead of getName() to get a useful string. llvm-svn: 53563
-
Dan Gohman authored
llvm-svn: 53562
-
Dan Gohman authored
llvm-svn: 53561
-
Ted Kremenek authored
Refactored error reporting in CheckObjCDealloc and CheckObjCInstMethSignature to use this new bug reporting interface (major code simplification). llvm-svn: 53560
-
Duncan Sands authored
Remove support for this. llvm-svn: 53559
-
Duncan Sands authored
non-power-of-two vectors. llvm-svn: 53558
-
Chris Lattner authored
llvm-svn: 53557
-
Duncan Sands authored
than the vector element type. Don't forget to handle this when the insertion index is not a constant. llvm-svn: 53556
-
Duncan Sands authored
extending load of a vector. Handle this case when splitting vector loads. I'm not completely sure what is supposed to happen, but I think it means hi should be set to undef. LegalizeDAG does not consider this case. llvm-svn: 53555
-
Duncan Sands authored
stores of one-element vectors. Also, neaten the handling of INSERT_VECTOR_ELT when the inserted type is larger than the vector element type. llvm-svn: 53554
-
Duncan Sands authored
are used for passing huge immediates in inline ASM from the front-end straight down to the ASM writer. Of course this is a hack, but it is simple, limited in scope, works in practice, and is what LegalizeDAG does. llvm-svn: 53553
-
Chris Lattner authored
llvm-svn: 53552
-
Bruno Cardoso Lopes authored
Added HasABICall and HasAbsoluteCall (equivalent to gcc -mabicall and -mno-shared). HasAbsoluteCall is not implemented but HasABICall is the default for o32 ABI. Now, both should help into a more accurate relocation types implementation. Added IsLinux is needed to choose between asm directives. Instruction name strings cleanup. AsmPrinter improved. llvm-svn: 53551
-
Ted Kremenek authored
llvm-svn: 53550
-
Duncan Sands authored
llvm-svn: 53549
-
Chris Lattner authored
the second half of link-global-to-func.ll and causes some minor changes in messages. There are two TODOs here. First, this causes a regression in 2008-07-06-AliasWeakDest.ll, which is now failing (so I xfailed it). Anton, I would really appreciate it if you could take a look at this. It should be a matter of adding proper alias support to GetLinkageResult, and was probably already a latent bug that would manifest with globals. The second todo is to reimplement LinkAlias in the same pattern as function and global linking. This should be pretty straight-forward for someone who knows aliases, but isn't a requirement for correctness. llvm-svn: 53548
-
Chris Lattner authored
internal linkage. llvm-svn: 53547
-
Chris Lattner authored
(replacing a function with a global). This is needed when building llvm itself with LTO on darwin, because of the EXPLICIT_SYMBOL hack in lib/system/DynamicLibrary.cpp. Implementation of linking the other way will need to wait for a cleanup of LinkFunctionProtos. llvm-svn: 53546
-
Chris Lattner authored
llvm-svn: 53545
-
Chris Lattner authored
PR2317. llvm-svn: 53544
-
Chris Lattner authored
when presented with a constant expr. If ConstantExpr::getV[IF]Cmp to work when ConstantFoldCompareInstruction returns an undef or constant expr. llvm-svn: 53541
-
Chris Lattner authored
a hack around the fact that we don't represent the CFG correctly for sj/lj. It fixes PR2486. llvm-svn: 53540
-
Chris Lattner authored
llvm-svn: 53538
-
Chris Lattner authored
llvm-svn: 53537
-
Chris Lattner authored
llvm-svn: 53536
-
Chris Lattner authored
llvm-svn: 53535
-
Chris Lattner authored
disproving a condition. This actually compiles the existing testcase (udiv_select_to_select_shift) to: define i64 @test(i64 %X, i1 %Cond) { entry: %divisor1.t = lshr i64 %X, 3 ; <i64> [#uses=1] %quotient2 = lshr i64 %X, 3 ; <i64> [#uses=1] %sum = add i64 %divisor1.t, %quotient2 ; <i64> [#uses=1] ret i64 %sum } instead of: define i64 @test(i64 %X, i1 %Cond) { entry: %quotient1.v = select i1 %Cond, i64 3, i64 4 ; <i64> [#uses=1] %quotient1 = lshr i64 %X, %quotient1.v ; <i64> [#uses=1] %quotient2 = lshr i64 %X, 3 ; <i64> [#uses=1] %sum = add i64 %quotient1, %quotient2 ; <i64> [#uses=1] ret i64 %sum } llvm-svn: 53534
-