search for: opcodetostr

Displaying 3 results from an estimated 3 matches for "opcodetostr".

Did you mean: opcodestr
2010 Oct 28
0
[LLVMdev] Landing my new development on the trunk ...
...alar/OperatorStrengthReduce.cpp > > The algorithm finds reduction opportunities in both array accesses and > explicit multiplications within loops. > > Next, I plan on writing the regression tests. Comments: 1. Please don't top-post. 2. Instruction::getOpcodeName instead of your OpcodeToString function. 3. LLVM already has a significant amount of infrastructure for loop passes; why does this pass have its own code for finding loops? 4. What's the use case for this pass? Can this pass improve performance of generated code beyond the existing -loop-reduce pass? If not, could it use...
2010 Oct 27
2
[LLVMdev] Landing my new development on the trunk ...
Here is the patch for the new Operator Strength Reduction optimization pass that I have written. The bulk of the code is in lib/Transforms/Scalar/OperatorStrengthReduce.cpp The optimization is based on the algorithm described within the paper that can be found here: http://portal.acm.org/citation.cfm?id=504709.504710 Keith D. Cooper , L. Taylor Simpson , Christopher A. Vick, Operator strength
2010 Oct 28
3
[LLVMdev] Landing my new development on the trunk ...
...; >> The algorithm finds reduction opportunities in both array accesses and >> explicit multiplications within loops. >> >> Next, I plan on writing the regression tests. > > Comments: > 1. Please don't top-post. > 2. Instruction::getOpcodeName instead of your OpcodeToString function. Can do. I did not see getOpcodeName() in lib/Target/CBackend/CBackend.cpp, so I wrote my own. FWIW I am only using OpcodeToString() for debug output. > 3. LLVM already has a significant amount of infrastructure for loop > passes; why does this pass have its own code for find...