reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
463 max(MaybeAlign(Info.AI->getAlignment()), kTagGranuleSize); 464 Info.AI->setAlignment(NewAlignment); 466 uint64_t Size = Info.AI->getAllocationSizeInBits(*DL).getValue() / 8; 473 Info.AI->isArrayAllocation() 475 Info.AI->getAllocatedType(), 476 cast<ConstantInt>(Info.AI->getArraySize())->getZExtValue()) 477 : Info.AI->getAllocatedType(); 482 TypeWithPadding, Info.AI->getType()->getAddressSpace(), nullptr, "", Info.AI); 482 TypeWithPadding, Info.AI->getType()->getAddressSpace(), nullptr, "", Info.AI); 483 NewAI->takeName(Info.AI); 484 NewAI->setAlignment(MaybeAlign(Info.AI->getAlignment())); 485 NewAI->setUsedWithInAlloca(Info.AI->isUsedWithInAlloca()); 486 NewAI->setSwiftError(Info.AI->isSwiftError()); 487 NewAI->copyMetadata(*Info.AI); 489 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); 489 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); 490 Info.AI->replaceAllUsesWith(NewPtr); 491 Info.AI->eraseFromParent(); 492 Info.AI = NewAI;