search for: getmaximumunrollfactor

Displaying 2 results from an estimated 2 matches for "getmaximumunrollfactor".

2013 Jan 09
0
[LLVMdev] ARM vectorizer cost model
...Subtarget when we implement the hooks. This is an example from the ARMTTI unsigned getNumberOfRegisters(bool Vector) const { if (Vector) { if (ST->hasNEON()) return 16; return 0; } if (ST->isThumb1Only()) return 8; return 16; } unsigned getMaximumUnrollFactor() const { // These are out of order CPUs: if (ST->isCortexA15() || ST->isSwift()) return 2; return 1; } > Thanks, Nadav > > cheers, > --renato
2013 Jan 09
2
[LLVMdev] ARM vectorizer cost model
Hi Nadav, I'm interested in knowing how you'll work up the ARM cost model and how easy it'd be to split the work. As far as I can see, LoopVectorizationCostModel is the class that does all the work, with assistance from the target transform info. Do you think that updating ARMTTI would be the best course of action now, and inspect the differences in the CostModel later? I also