- Mar 16, 2010
-
-
Gabor Greif authored
adjusted unittest I have added some doxygen to OptionalOperandTraits, so hopefully there will be no confusion in the future. Incidentally OptionalOperandTraits is not used any more (IIUC), but the obvious client would be BranchInstr, and I plan to rearrange it that way. llvm-svn: 98624
-
Gabor Greif authored
llvm-svn: 98623
-
Chris Lattner authored
works for me: bugpoint Output/bisort.llvm.bc -run-llc-ia -safe-run-llc This uses llc with the integrated assembler as the test compiler and llc without it as the safe compiler. llvm-svn: 98618
-
Chris Lattner authored
llvm-svn: 98616
-
Chris Lattner authored
with the integrated assembler! llvm-svn: 98615
-
John McCall authored
constructors from implicitly-defined members. llvm-svn: 98614
-
Douglas Gregor authored
<rdar://problem/7735566>. llvm-svn: 98613
-
Jeffrey Yasskin authored
llvm-svn: 98612
-
John McCall authored
destructor definitions. Remove some code duplication. llvm-svn: 98611
-
Bob Wilson authored
llvm-svn: 98610
-
John McCall authored
required when emitting a destructor definition. llvm-svn: 98609
-
Douglas Gregor authored
SourceManager's getBuffer() and, therefore, could fail, along with Preprocessor::getSpelling(). Use the Invalid parameters in the literal parsers (string, floating point, integral, character) to make them robust against errors that stem from, e.g., PCH files that are not consistent with the underlying file system. I still need to audit every use caller to all of these routines, to determine which ones need specific handling of error conditions. llvm-svn: 98608
-
Bill Wendling authored
llvm-svn: 98604
-
Bill Wendling authored
llvm-svn: 98602
-
Bill Wendling authored
"used outside of the block". If the block ends in a return, then it won't be used outside of it. llvm-svn: 98599
-
Douglas Gregor authored
simplifying the SourceManager interfaces somewhat. llvm-svn: 98598
-
Chris Lattner authored
have enums for them. llvm-svn: 98597
-
Bob Wilson authored
llvm-svn: 98596
-
Chris Lattner authored
to LLVM IR changes with addr label weirdness. In the testcase, we generate references to the two bb's when codegen'ing the first function: _test1: ## @test1 leaq Ltmp0(%rip), %rax .. leaq Ltmp1(%rip), %rax Then continue to codegen the second function where the blocks get merged. We're now smart enough to emit both labels, producing this code: _test_fun: ## @test_fun ## BB#0: ## %entry Ltmp1: ## Block address taken Ltmp0: ## BB#1: ## %ret movl $-1, %eax ret Rejoice. llvm-svn: 98595
-
Douglas Gregor authored
and start simplifying the interfaces in SourceManager that can fail. llvm-svn: 98594
-
Daniel Dunbar authored
- Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue. - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol. llvm-svn: 98592
-
Douglas Gregor authored
llvm-svn: 98591
-
Dan Gohman authored
32-bit indices. Instead of shuffling each element out of the index vector, when all indices are needed, just store the input vector to the stack and load the elements out. llvm-svn: 98588
-
Eric Christopher authored
llvm-svn: 98587
-
Bob Wilson authored
Radar 7459078. llvm-svn: 98586
-
- Mar 15, 2010
-
-
Douglas Gregor authored
SourceManager's getBuffer() (and similar) operations. This abstract can be used to force callers to cope with errors in getBuffer(), such as missing files and changed files. Fix a bunch of callers to use the new interface. Add some very basic checks for file consistency (file size, modification time) into ContentCache::getBuffer(), although these checks don't help much until we've updated the main callers (e.g., SourceManager::getSpelling()). llvm-svn: 98585
-
Devang Patel authored
llvm-svn: 98584
-
Daniel Dunbar authored
MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet). llvm-svn: 98583
-
Daniel Dunbar authored
llvm-svn: 98582
-
Devang Patel authored
llvm-svn: 98581
-
Bill Wendling authored
section, remove the target-specific code that performs this. llvm-svn: 98580
-
Chris Lattner authored
label is generated, but then the block is deleted. Since the value is undefined, we just emit the label right after the entry label of the function. It might matter that the label is in the same section as the function was afterall. llvm-svn: 98579
-
Chris Lattner authored
llvm-svn: 98578
-
Chris Lattner authored
llvm-svn: 98577
-
Douglas Gregor authored
pointer. If given, the structure will be set with the stat information from the file actually read. llvm-svn: 98575
-
Ted Kremenek authored
Also change this method to lookup property declarations using DeclContext::lookup(). llvm-svn: 98574
-
Ted Kremenek authored
property decls using DeclContext::lookup(). llvm-svn: 98571
-
Ted Kremenek authored
llvm-svn: 98570
-
Devang Patel authored
This is a work in progress. Patch by Dale Johannesen! llvm-svn: 98568
-
Chris Lattner authored
function, then the BB is RAUW'd before the definition is emitted. There are still two cases not being handled, but this should improve us back to the situation before I touched anything. llvm-svn: 98566
-