Searched refs:NewAI (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2154 AllocaInst &OldAI, &NewAI; member in llvm::sroa::AllocaSliceRewriter 2200 AllocaInst &OldAI, AllocaInst &NewAI, in AllocaSliceRewriter() argument 2206 : DL(DL), AS(AS), Pass(Pass), OldAI(OldAI), NewAI(NewAI), in AllocaSliceRewriter() 2209 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2212 NewAI.getContext(), in AllocaSliceRewriter() 2213 DL.getTypeSizeInBits(NewAI.getAllocatedType())) in AllocaSliceRewriter() 2220 IRB(NewAI.getContext(), ConstantFolder()) { in AllocaSliceRewriter() 2254 IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + "."); in visit() 2299 return getAdjustedPtr(IRB, DL, &NewAI, in getNewAllocaSlicePtr() 2315 unsigned NewAIAlign = NewAI.getAlignment(); in getSliceAlign() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 277 void ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI, uint64_t Offset); 326 AllocaInst *NewAI = new AllocaInst(NewTy, 0, "", AI->getParent()->begin()); in TryConvert() local 327 ConvertUsesToScalar(AI, NewAI, 0); in TryConvert() 328 return NewAI; in TryConvert() 523 void ConvertToScalarInfo::ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI, in ConvertUsesToScalar() argument 529 ConvertUsesToScalar(CI, NewAI, Offset); in ConvertUsesToScalar() 539 ConvertUsesToScalar(GEP, NewAI, Offset+GEPOffset*8); in ConvertUsesToScalar() 548 Value *LoadedVal = Builder.CreateLoad(NewAI); in ConvertUsesToScalar() 558 Instruction *Old = Builder.CreateLoad(NewAI, NewAI->getName()+".in"); in ConvertUsesToScalar() 561 Builder.CreateStore(New, NewAI); in ConvertUsesToScalar() [all …]
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 582 Value *NewAI = in moveStaticAllocasToUnsafeStack() local 586 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack() 706 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack() local 707 if (AI->hasName() && isa<Instruction>(NewAI)) in moveDynamicAllocasToUnsafeStack() 708 NewAI->takeName(AI); in moveDynamicAllocasToUnsafeStack() 710 replaceDbgDeclareForAlloca(AI, NewAI, DIB, /*Deref=*/true); in moveDynamicAllocasToUnsafeStack() 711 AI->replaceAllUsesWith(NewAI); in moveDynamicAllocasToUnsafeStack()
|