Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2578 return &NewAI; in getPtrToNewAI()
2592 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), in AllocaSliceRewriter()
2745 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad()
2891 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst()
2914 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore()
3363 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
3367 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst()
4654 AllocaInst *NewAI; in rewritePartition() local
4656 NewAI = &AI; in rewritePartition()
4761 if (NewAI == &AI) in rewritePartition()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStack.cpp566 Value *NewAI = in moveStaticAllocasToUnsafeStack() local
570 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack()
690 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack() local
691 if (AI->hasName() && isa<Instruction>(NewAI)) in moveDynamicAllocasToUnsafeStack()
692 NewAI->takeName(AI); in moveDynamicAllocasToUnsafeStack()
694 replaceDbgDeclare(AI, NewAI, DIB, DIExpression::ApplyOffset, 0); in moveDynamicAllocasToUnsafeStack()
695 AI->replaceAllUsesWith(NewAI); in moveDynamicAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp927 AtomicRMWInst *NewAI = in widenPartwordAtomicRMW() local
931 Value *FinalOldResult = extractMaskedValue(Builder, NewAI, PMV); in widenPartwordAtomicRMW()
934 return NewAI; in widenPartwordAtomicRMW()