Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp199 auto *NewAI = new AllocaInst(TypeWithPadding, Info.AI->getAddressSpace(), in alignAndPadAlloca() local
201 NewAI->takeName(Info.AI); in alignAndPadAlloca()
202 NewAI->setAlignment(Info.AI->getAlign()); in alignAndPadAlloca()
203 NewAI->setUsedWithInAlloca(Info.AI->isUsedWithInAlloca()); in alignAndPadAlloca()
204 NewAI->setSwiftError(Info.AI->isSwiftError()); in alignAndPadAlloca()
205 NewAI->copyMetadata(*Info.AI); in alignAndPadAlloca()
207 Value *NewPtr = NewAI; in alignAndPadAlloca()
210 if (Info.AI->getType() != NewAI->getType()) in alignAndPadAlloca()
211 NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca()
215 Info.AI = NewAI; in alignAndPadAlloca()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2715 return &NewAI; in getPtrToNewAI()
2729 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), in AllocaSliceRewriter()
2881 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad()
3027 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst()
3050 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore()
3495 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
3499 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
4805 AllocaInst *NewAI; in rewritePartition() local
4807 NewAI = &AI; in rewritePartition()
4912 if (NewAI == &AI) in rewritePartition()
[all …]
/freebsd-14.2/contrib/llvm-project/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.cpp914 AtomicRMWInst *NewAI = Builder.CreateAtomicRMW( in widenPartwordAtomicRMW() local
919 Value *FinalOldResult = extractMaskedValue(Builder, NewAI, PMV); in widenPartwordAtomicRMW()
922 return NewAI; in widenPartwordAtomicRMW()