Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp354 GetElementPtrInst *PtrInc = GetElementPtrInst::Create( in runOnLoop() local
357 PtrInc->setIsInBounds(IsPtrInBounds(BasePtr)); in runOnLoop()
363 NewPHI->addIncoming(PtrInc, *PI); in runOnLoop()
367 if (PtrInc->getType() != BasePtr->getType()) in runOnLoop()
368 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(), in runOnLoop()
369 PtrInc->hasName() ? PtrInc->getName() + ".cast" : "", InsPoint); in runOnLoop()
371 NewBasePtr = PtrInc; in runOnLoop()
404 I8Ty, PtrInc, I->Offset->getValue(), in runOnLoop()
407 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in runOnLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp447 GetElementPtrInst *PtrInc = GetElementPtrInst::Create( in runOnLoop() local
450 PtrInc->setIsInBounds(IsPtrInBounds(BasePtr)); in runOnLoop()
456 NewPHI->addIncoming(PtrInc, *PI); in runOnLoop()
460 if (PtrInc->getType() != BasePtr->getType()) in runOnLoop()
461 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(), in runOnLoop()
462 PtrInc->hasName() ? PtrInc->getName() + ".cast" : "", InsPoint); in runOnLoop()
464 NewBasePtr = PtrInc; in runOnLoop()
497 I8Ty, PtrInc, I->Offset->getValue(), in runOnLoop()
500 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in runOnLoop()