Displaying 1 result from an estimated 1 matches for "createtargetreduction".
2017 Jan 31
2
RFC: Generic IR reductions
...)
In the prototype patch, I've created two separate ways to generate reductions from an IR generator's perspective, depending on whether the client has a reduction descriptor (obtained from a LoopUtils analysis of the loop's PHIs). If we want to generate from a descriptor:
Value *llvm::createTargetReduction(IRBuilder<> &Builder,
const TargetTransformInfo *TTI,
RecurrenceDescriptor &Desc, Value *Src,
bool InOrder, bool NoNaN)
Or if no descriptor is given, then an alternative API call:...