Searched refs:LoopIndex (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerVectorIntrinsics.cpp | 38 PHINode *LoopIndex = LoopBuilder.CreatePHI(Int64Ty, 2); in lowerUnaryVectorIntrinsicAsLoop() local 39 LoopIndex->addIncoming(ConstantInt::get(Int64Ty, 0U), PreLoopBB); in lowerUnaryVectorIntrinsicAsLoop() 43 Value *Elem = LoopBuilder.CreateExtractElement(Vec, LoopIndex); in lowerUnaryVectorIntrinsicAsLoop() 47 Value *NewVec = LoopBuilder.CreateInsertElement(Vec, Res, LoopIndex); in lowerUnaryVectorIntrinsicAsLoop() 51 Value *NextLoopIndex = LoopBuilder.CreateAdd(LoopIndex, One); in lowerUnaryVectorIntrinsicAsLoop() 52 LoopIndex->addIncoming(NextLoopIndex, LoopBB); in lowerUnaryVectorIntrinsicAsLoop()
|
| H A D | LowerMemIntrinsics.cpp | 72 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize() local 73 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize() 80 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 88 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 100 LoopIndex, ConstantInt::get(TypeOfCopyLen, LoopOpSize)); in createMemCpyLoopKnownSize() 101 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopKnownSize() 235 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize() local 236 LoopIndex->addIncoming(ConstantInt::get(CopyLenType, 0U), PreLoopBB); in createMemCpyLoopUnknownSize() 242 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, SrcAddr, LoopIndex); in createMemCpyLoopUnknownSize() 249 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, DstAddr, LoopIndex); in createMemCpyLoopUnknownSize() [all …]
|