Displaying 6 results from an estimated 6 matches for "unrollthreshold".
2012 Apr 03
1
[LLVMdev] Possible typo in LoopUnrollPass.cpp
...roll count to meet
the unroll threshold requirement in line 200 and line 206, variable
"CurrentThreshold" is used in the computation, instead of the variable
"Threshold", which is defined by:
// Determine the current unrolling threshold. While this is normally set
// from UnrollThreshold, it is overridden to a smaller value if the current
// function is marked as optimize-for-size, and the unroll threshold was
// not user specified.
unsigned Threshold = CurrentThreshold;
if (!UserThreshold &&
Header->getParent()->hasFnAttr(Attribute::OptimizeForSize))...
2011 May 03
0
[LLVMdev] Loop-Unroll optimization
I am trying loop-unroll optimization but it is not affecting the bit code.
When I looked the loop unroll code it seems to be expecting three
parameter(UnrollThreshold, UnrollCount, UnrollAllowPartial) from the user.
Do I need to pass these parameter to activate loop unroll?
*The loop that I am trying it on is:*
for(i=0; i< 1000; i++)
{
c[i] = a[i] + b[i];
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <htt...
2012 Feb 01
3
[LLVMdev] Loop Unroll a constant number of times?
Is it possible to unroll a loop (forcibly if necessary) with llvm (possibly
the -loop-unroll pass) a constant number of times.
I believe that I read that the -unroll-count=x option was removed, correct?
So is there some other way to do this or is this just not possible in llvm?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Feb 27
2
[LLVMdev] Passing parameters to LLVM optimisation passes
I'm fairly new to LLVM, and am writing an optimisation pass to be run by
'opt'. However, i'd like this pass to be parameterisable; as such i'd like
to be able to pass an option to it (preferably via the command line to
'opt').
e.g. so i can do something like this "opt -load mypass.so
-MyPass=MyPassOption < inputfile.bc ..."
(for example one thing I would
2013 Feb 13
3
[LLVMdev] Overhauling the command-line processing/codegen options code
...(ArgList, MyCtx);
which will only parse per-context options (and not overwrite any global
state).
* Reading Option Values
For per-context options, an LLVMContext would be required when reading back
the option values. For example, in the LoopUnroll example, you could write:
unsigned Threshold = UnrollThreshold(Mod.getContext());
This would get the "-unroll-threshold" option value for the context for the
current module. Parsing of the value would be delayed until the value is
read, since the value would need to be stored as a string in the context.
Global options can be used as they currently...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...quot;CriticalEdgeSplit"},
{"_ZL9EnablePRE", "EnablePRE"},
{"_ZL13EnableLoadPRE", "EnableLoadPRE"},
{"_ZL9Threshold", "Threshold"},
{"_ZL16DisablePromotion", "DisablePromotion"},
{"_ZL15UnrollThreshold", "UnrollThreshold"},
{"_ZL11UnrollCount", "UnrollCount"},
{"_ZL18UnrollAllowPartial", "UnrollAllowPartial"},
{"_ZL9Threshold", "Threshold"},
{"_ZL18ExpensiveEHSupport", "ExpensiveEHSupport...