Searched refs:NewAI (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2170 AllocaInst &OldAI, &NewAI; 2216 AllocaInst &OldAI, AllocaInst &NewAI, 2222 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), 2225 NewAllocaTy(NewAI.getAllocatedType()), 2228 NewAI.getContext(), 2229 DL.getTypeSizeInBits(NewAI.getAllocatedType())) 2236 IRB(NewAI.getContext(), ConstantFolder()) { 2270 IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + "."); 2315 return getAdjustedPtr(IRB, DL, &NewAI, [all...] |
H A D | ScalarReplAggregates.cpp | 323 void ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI, uint64_t Offset, 386 AllocaInst *NewAI = local 388 ConvertUsesToScalar(AI, NewAI, 0, nullptr); 389 return NewAI; 604 void ConvertToScalarInfo::ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI, argument 611 ConvertUsesToScalar(CI, NewAI, Offset, NonConstantIdx); 628 ConvertUsesToScalar(GEP, NewAI, Offset+GEPOffset*8, GEPNonConstantIdx); 636 // The load is a bit extract from NewAI shifted right by Offset bits. 637 Value *LoadedVal = Builder.CreateLoad(NewAI); 648 Instruction *Old = Builder.CreateLoad(NewAI, NewA 1985 AllocaInst *NewAI = NewElts[0]; local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | SafeStack.cpp | 572 Value *NewAI = IRB.CreateBitCast(Off, AI->getType(), AI->getName()); local 573 if (AI->hasName() && isa<Instruction>(NewAI)) 574 cast<Instruction>(NewAI)->takeName(AI); 578 AI->replaceAllUsesWith(NewAI); 632 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); local 633 if (AI->hasName() && isa<Instruction>(NewAI)) 634 NewAI->takeName(AI); 636 replaceDbgDeclareForAlloca(AI, NewAI, DIB, /*Deref=*/true); 637 AI->replaceAllUsesWith(NewAI);
|
Completed in 189 milliseconds