Searched refs:LoopIndex (Results 1 – 4 of 4) sorted by relevance
/external/eigen/Eigen/src/Core/ |
D | SolveTriangular.h | 110 template<typename Lhs, typename Rhs, int Mode, int LoopIndex, int Size, 111 bool Stop = LoopIndex==Size> 114 template<typename Lhs, typename Rhs, int Mode, int LoopIndex, int Size> 115 struct triangular_solver_unroller<Lhs,Rhs,Mode,LoopIndex,Size,false> { 118 DiagIndex = IsLower ? LoopIndex : Size - LoopIndex - 1, 123 if (LoopIndex>0) 124 … rhs.coeffRef(DiagIndex) -= lhs.row(DiagIndex).template segment<LoopIndex>(StartIndex).transpose() 125 .cwiseProduct(rhs.template segment<LoopIndex>(StartIndex)).sum(); 130 triangular_solver_unroller<Lhs,Rhs,Mode,LoopIndex+1,Size>::run(lhs,rhs); 134 template<typename Lhs, typename Rhs, int Mode, int LoopIndex, int Size> [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 70 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize() local 71 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize() 74 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 77 LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 81 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize() 82 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopKnownSize() 180 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize() local 181 LoopIndex->addIncoming(ConstantInt::get(CopyLenType, 0U), PreLoopBB); in createMemCpyLoopUnknownSize() 183 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopUnknownSize() 185 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 66 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize() local 67 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize() 70 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 74 LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 78 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize() 79 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopKnownSize() 182 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize() local 183 LoopIndex->addIncoming(ConstantInt::get(CopyLenType, 0U), PreLoopBB); in createMemCpyLoopUnknownSize() 185 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopUnknownSize() 188 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 84 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemCpyToLoop() local 85 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); in convertMemCpyToLoop() 92 LoopBuilder.getInt8Ty(), SrcAddr, LoopIndex), in convertMemCpyToLoop() 97 DstAddr, LoopIndex), in convertMemCpyToLoop() 102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop() 103 LoopIndex->addIncoming(NewIndex, LoopBB); in convertMemCpyToLoop() 225 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLen->getType(), 0); in convertMemSetToLoop() local 226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); in convertMemSetToLoop() 230 LoopBuilder.CreateInBoundsGEP(SetValue->getType(), DstAddr, LoopIndex), in convertMemSetToLoop() 234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); in convertMemSetToLoop() [all …]
|