Home
last modified time | relevance | path

Searched refs:RdxParts (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3589 VectorParts RdxParts = getVectorValue(LoopExitInst); in vectorizeLoop() local
3599 Value *Trunc = Builder.CreateTrunc(RdxParts[part], RdxVecTy); in vectorizeLoop()
3602 for (Value::user_iterator UI = RdxParts[part]->user_begin(); in vectorizeLoop()
3603 UI != RdxParts[part]->user_end();) in vectorizeLoop()
3605 (*UI++)->replaceUsesOfWith(RdxParts[part], Extnd); in vectorizeLoop()
3606 RdxParts[part] = Extnd; in vectorizeLoop()
3613 RdxParts[part] = Builder.CreateTrunc(RdxParts[part], RdxVecTy); in vectorizeLoop()
3617 Value *ReducedPartRdx = RdxParts[0]; in vectorizeLoop()
3624 Builder.CreateBinOp((Instruction::BinaryOps)Op, RdxParts[part], in vectorizeLoop()
3628 Builder, MinMaxKind, ReducedPartRdx, RdxParts[part]); in vectorizeLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3635 VectorParts RdxParts(UF); in fixReduction() local
3637 RdxParts[Part] = VectorLoopValueMap.getVectorValue(LoopExitInst, Part); in fixReduction()
3638 Value *Trunc = Builder.CreateTrunc(RdxParts[Part], RdxVecTy); in fixReduction()
3641 for (Value::user_iterator UI = RdxParts[Part]->user_begin(); in fixReduction()
3642 UI != RdxParts[Part]->user_end();) in fixReduction()
3644 (*UI++)->replaceUsesOfWith(RdxParts[Part], Extnd); in fixReduction()
3645 RdxParts[Part] = Extnd; in fixReduction()
3652 RdxParts[Part] = Builder.CreateTrunc(RdxParts[Part], RdxVecTy); in fixReduction()
3653 VectorLoopValueMap.resetVectorValue(LoopExitInst, Part, RdxParts[Part]); in fixReduction()