- Nov 07, 2009
-
-
Lang Hames authored
llvm-svn: 86342
-
Daniel Dunbar authored
llvm-svn: 86341
-
Mon P Wang authored
llvm-svn: 86340
-
Anders Carlsson authored
When looking up and adding substitutions to the substitution table, make sure to always use the canonical declaration. With tihs change, FileCheck compiles and links but crashes during startup. llvm-svn: 86339
-
Daniel Dunbar authored
initialize HeaderSearch. Not used yet. llvm-svn: 86338
-
Daniel Dunbar authored
llvm-svn: 86337
-
Daniel Dunbar authored
llvm-svn: 86336
-
Daniel Dunbar authored
filenames. Also, move InitializePreprocessor to Utils.h. llvm-svn: 86335
-
Daniel Dunbar authored
llvm-svn: 86334
-
Mon P Wang authored
llvm-svn: 86332
-
Evan Cheng authored
llvm-svn: 86331
-
Evan Cheng authored
llvm-svn: 86330
-
Ted Kremenek authored
Remove Checker::CheckType() (and instead using CheckerVisitor::PreVisitDeclStmt()), and refactor VLASizeChecker to have only one Checker subclass (not two) and to not use the node builders directly (and instead use the newer CheckerContext). llvm-svn: 86329
-
Evan Cheng authored
except it doesn't care if the definitions' virtual registers differ. This is used by machine LICM and other MI passes to perform CSE. - Teach Thumb2InstrInfo::isIdentical() to check two t2LDRpci_pic are identical. Since pc relative constantpool entries are always different, this requires it it check if the values can actually the same. llvm-svn: 86328
-
John McCall authored
llvm-svn: 86327
-
John McCall authored
significant work left to be done to reduce the false-positive rate here. llvm-svn: 86326
-
Ted Kremenek authored
llvm-svn: 86325
-
Kenneth Uildriks authored
Add code to check at SelectionDAGISel::LowerArguments time to see if return values can be lowered to registers. Coming soon, code to perform sret-demotion if return values cannot be lowered to registers llvm-svn: 86324
-
Steve Naroff authored
Still a work in progress... llvm-svn: 86323
-
Jakob Stoklund Olesen authored
A non-identity copy cannot be coalesced when the phi join destination register is live at the copy site. Also verify the condition that the PHI join source register is only used in the PHI join. Otherwise the coalescing is invalid. llvm-svn: 86322
-
Devang Patel authored
86289, 86278, 86270, 86267, 86266 & 86264 Chris, please take a look. llvm-svn: 86321
-
Anders Carlsson authored
llvm-svn: 86320
-
Johnny Chen authored
was wrong and too aggressive in the sense that DPSoRegFrm includes both constant shifts (with Inst{4} = 0) and register controlled shifts (with Inst{4} = 1 and Inst{7} = 0). The 'rr' fragment of the multiclass definitions actually means register/register with no shift, see A8-11. llvm-svn: 86319
-
Devang Patel authored
llvm-svn: 86318
-
Victor Hernandez authored
- fix ProcessInternalGlobal() debug output llvm-svn: 86317
-
Victor Hernandez authored
llvm-svn: 86316
-
Devang Patel authored
llvm-svn: 86315
-
Jeffrey Yasskin authored
llvm-svn: 86314
-
Victor Hernandez authored
Here is the original commit message: This commit updates malloc optimizations to operate on malloc calls that have constant int size arguments. Update CreateMalloc so that its callers specify the size to allocate: MallocInst-autoupgrade users use non-TargetData-computed allocation sizes. Optimization uses use TargetData to compute the allocation size. Now that malloc calls can have constant sizes, update isArrayMallocHelper() to use TargetData to determine the size of the malloced type and the size of malloced arrays. Extend getMallocType() to support malloc calls that have non-bitcast uses. Update OptimizeGlobalAddressOfMalloc() to optimize malloc calls that have non-bitcast uses. The bitcast use of a malloc call has to be treated specially here because the uses of the bitcast need to be replaced and the bitcast needs to be erased (just like the malloc call) for OptimizeGlobalAddressOfMalloc() to work correctly. Update PerformHeapAllocSRoA() to optimize malloc calls that have non-bitcast uses. The bitcast use of the malloc is not handled specially here because ReplaceUsesOfMallocWithGlobal replaces through the bitcast use. Update OptimizeOnceStoredGlobal() to not care about the malloc calls' bitcast use. Update all globalopt malloc tests to not rely on autoupgraded-MallocInsts, but instead use explicit malloc calls with correct allocation sizes. llvm-svn: 86311
-
Jim Grosbach authored
llvm-svn: 86310
-
Devang Patel authored
Do not emit linkage name for global variables. It confuses gdb, because it picks up AT_MIPS_linkage_name and ignores AT_name. llvm-svn: 86308
-
Eli Friedman authored
instead of all assignment operators. The mistake messes up IRGen because it ends up assuming that the assignment operator is actually the implicit copy assignment operator, and therefore tries to emit the RHS as an lvalue. llvm-svn: 86307
-
Douglas Gregor authored
- Introduce more code-completion string "chunk" kinds that describe symbols, the actual text that the user is expected to type, etc. - Make the generation of macro results optional, since it can be slow - Make code-completion accessible through the C API, marshalling the code-completion results through a temporary file (ick) to maintain process separation. The last doesn't have tests yet. llvm-svn: 86306
-
Jeffrey Yasskin authored
of going through the global TheJIT variable. This makes it easier to use features of JITEmitter that aren't in JITCodeEmitter for fixing PR5201. llvm-svn: 86305
-
Evan Cheng authored
load of a GV from constantpool and then add pc. It allows the code sequence to be rematerializable so it would be hoisted by machine licm. - Add a late pass to break these pseudo instructions into a number of real instructions. Also move the code in Thumb2 IT pass that breaks up t2MOVi32imm to this pass. This is done before post regalloc scheduling to allow the scheduler to proper schedule these instructions. It also allow them to be if-converted and shrunk by later passes. llvm-svn: 86304
-
Anton Korobeynikov authored
llvm-svn: 86303
-
Bob Wilson authored
will not accept negative values for these. LLVM's default operand printing sign extends values, so that valid unsigned values appear as negative immediates. Print all VMOV immediate operands as hex values to resolve this. Radar 7372576. llvm-svn: 86301
-
Mike Stump authored
adjustments of zero. llvm-svn: 86300
-
Chris Lattner authored
set only once even if it has multiple edges to BB. llvm-svn: 86299
-
Bob Wilson authored
llvm-svn: 86298
-