Home
last modified time | relevance | path

Searched refs:NewAI (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp179 auto *NewAI = in alignAndPadAlloca() local
182 NewAI->takeName(Info.AI); in alignAndPadAlloca()
183 NewAI->setAlignment(Info.AI->getAlign()); in alignAndPadAlloca()
184 NewAI->setUsedWithInAlloca(Info.AI->isUsedWithInAlloca()); in alignAndPadAlloca()
185 NewAI->setSwiftError(Info.AI->isSwiftError()); in alignAndPadAlloca()
186 NewAI->copyMetadata(*Info.AI); in alignAndPadAlloca()
188 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca()
191 Info.AI = NewAI; in alignAndPadAlloca()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2314 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), in AllocaSliceRewriter()
2461 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad()
2608 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst()
2628 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore()
2834 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemSetInst()
3037 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
3041 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
4291 AllocaInst *NewAI; in rewritePartition() local
4293 NewAI = &AI; in rewritePartition()
4386 if (NewAI == &AI) in rewritePartition()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSafeStack.cpp565 Value *NewAI = in moveStaticAllocasToUnsafeStack() local
569 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack()
689 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack() local
690 if (AI->hasName() && isa<Instruction>(NewAI)) in moveDynamicAllocasToUnsafeStack()
691 NewAI->takeName(AI); in moveDynamicAllocasToUnsafeStack()
693 replaceDbgDeclare(AI, NewAI, DIB, DIExpression::ApplyOffset, 0); in moveDynamicAllocasToUnsafeStack()
694 AI->replaceAllUsesWith(NewAI); in moveDynamicAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp876 AtomicRMWInst *NewAI = in widenPartwordAtomicRMW() local
880 Value *FinalOldResult = extractMaskedValue(Builder, NewAI, PMV); in widenPartwordAtomicRMW()
883 return NewAI; in widenPartwordAtomicRMW()