|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/InlineCost.cpp 437 Type *Ty = I.getAllocatedType();
447 Type *Ty = I.getAllocatedType();
lib/Analysis/Lint.cpp 470 Type *ATy = AI->getAllocatedType();
lib/Analysis/MemoryBuiltins.cpp 632 if (!I.getAllocatedType()->isSized())
635 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType()));
917 if (!I.getAllocatedType()->isSized())
924 DL.getTypeAllocSize(I.getAllocatedType()));
lib/Analysis/StackSafetyAnalysis.cpp 132 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
lib/Analysis/ValueTracking.cpp 1295 Align = Q.DL.getABITypeAlignment(AI->getAllocatedType());
lib/Bitcode/Writer/BitcodeWriter.cpp 2913 Vals.push_back(VE.getTypeID(AI.getAllocatedType()));
lib/CodeGen/CodeGenPrepare.cpp 1814 DL->getTypeAllocSize(AI->getAllocatedType()) >= MinSize + Offset2)
lib/CodeGen/GCRootLowering.cpp 163 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())),
lib/CodeGen/GlobalISel/IRTranslator.cpp 227 unsigned ElementSize = DL->getTypeAllocSize(AI.getAllocatedType());
236 Alignment = DL->getABITypeAlignment(AI.getAllocatedType());
1803 Type *Ty = AI.getAllocatedType();
lib/CodeGen/SafeStack.cpp 220 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
502 Type *Ty = StackGuardSlot->getAllocatedType();
522 Type *Ty = AI->getAllocatedType();
651 Type *Ty = AI->getAllocatedType();
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 136 Type *Ty = AI->getAllocatedType();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3952 Type *Ty = I.getAllocatedType();
9487 DL.getTypeAllocSize(AI->getAllocatedType()) ||
9543 AI->getAllocatedType());
lib/CodeGen/ShadowStackGCLowering.cpp 160 EltTys.push_back(Roots[I].second->getAllocatedType());
lib/CodeGen/StackProtector.cpp 313 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) {
lib/IR/AsmWriter.cpp 3978 TypePrinter.print(AI->getAllocatedType(), Out);
lib/IR/Core.cpp 2922 return wrap(unwrap<AllocaInst>(Alloca)->getAllocatedType());
lib/IR/Instruction.cpp 385 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() &&
385 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() &&
lib/IR/Instructions.cpp 55 uint64_t Size = DL.getTypeAllocSizeInBits(getAllocatedType());
4131 new AllocaInst(getAllocatedType(), getType()->getAddressSpace(),
lib/IR/Value.cpp 660 DerefBytes = DL.getTypeStoreSize(AI->getAllocatedType());
715 Type *AllocatedType = AI->getAllocatedType();
lib/IR/Verifier.cpp 3469 Assert(AI.getAllocatedType()->isSized(&Visited),
4410 if (!AI->getAllocatedType()->isPointerTy()) {
lib/Target/AArch64/AArch64StackTagging.cpp 395 AI.getAllocatedType()->isSized() && AI.isStaticAlloca() &&
475 Info.AI->getAllocatedType(),
477 : Info.AI->getAllocatedType();
lib/Target/AMDGPU/AMDGPUInline.cpp 142 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType());
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1367 Instruction *Reload = B.CreateLoad(Alloc->getAllocatedType(), Alloc);
1372 Instruction *Reload = B.CreateLoad(Alloc->getAllocatedType(), Alloc);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 365 Type *AT = Alloca->getAllocatedType();
726 Type *AllocaTy = I.getAllocatedType();
764 Align = DL.getABITypeAlignment(I.getAllocatedType());
795 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize);
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp 159 Type *Ty = Alloca->getAllocatedType();
lib/Target/X86/X86WinEHState.cpp 785 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(),
797 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(),
lib/Transforms/Coroutines/CoroFrame.cpp 444 Ty = AI->getAllocatedType();
1199 auto ValueTy = Alloca->getAllocatedType();
lib/Transforms/IPO/Inliner.cpp 190 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
235 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType());
lib/Transforms/InstCombine/InstCombineCasts.cpp 91 Type *AllocElTy = AI.getAllocatedType();
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 175 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType());
198 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
345 if (AI.getAllocatedType()->isSized()) {
349 MaybeAlign(DL.getPrefTypeAlignment(AI.getAllocatedType())));
354 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) {
371 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() ||
372 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) {
381 MaybeAlign(DL.getPrefTypeAlignment(EntryAI->getAllocatedType())));
791 if (!AI->getAllocatedType()->isSized())
798 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType());
lib/Transforms/InstCombine/InstructionCombining.cpp 2245 APInt AllocSize(IdxWidth, DL.getTypeAllocSize(AI->getAllocatedType()));
lib/Transforms/Instrumentation/AddressSanitizer.cpp 606 Type *Ty = AI.getAllocatedType();
1327 (AI.getAllocatedType()->isSized() &&
3275 F.getParent()->getDataLayout().getTypeAllocSize(AI->getAllocatedType());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 769 Type *Ty = AI.getAllocatedType();
1088 return (AI.getAllocatedType()->isSized() &&
1189 Type *AllocatedType = AI->getAllocatedType();
lib/Transforms/Instrumentation/MemorySanitizer.cpp 3486 uint64_t TypeSize = DL.getTypeAllocSize(I.getAllocatedType());
lib/Transforms/Scalar/MemCpyOptimizer.cpp 758 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
773 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) *
808 srcAlign = DL.getABITypeAlignment(srcAlloca->getAllocatedType());
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1650 cast<AllocaInst>(Alloca)->getAllocatedType(),
1780 auto PT = cast<PointerType>(AI->getAllocatedType());
1830 new LoadInst(Alloca->getAllocatedType(), Alloca, "",
1837 new LoadInst(Alloca->getAllocatedType(), Alloca, "", Use);
lib/Transforms/Scalar/SROA.cpp 665 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {}
2330 NewAllocaTy(NewAI.getAllocatedType()),
2334 DL.getTypeSizeInBits(NewAI.getAllocatedType()))
2438 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType());
2464 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2472 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2517 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2613 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2630 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2777 Type *AllocaTy = NewAI.getAllocatedType();
2833 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2846 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
2924 SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) ||
2925 !NewAI.getAllocatedType()->isSingleValueType());
3032 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
3036 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
3050 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
3054 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI,
4124 if (Type *TypePartitionTy = getTypePartition(DL, AI.getAllocatedType(),
4149 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) {
4160 AI.getAllocatedType()),
4274 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType());
4338 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType());
4358 uint64_t AllocaSize = DL.getTypeSizeInBits(AI.getAllocatedType());
4446 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() ||
4447 DL.getTypeAllocSize(AI.getAllocatedType()) == 0)
lib/Transforms/Utils/Evaluator.cpp 471 Type *Ty = AI->getAllocatedType();
lib/Transforms/Utils/FunctionComparator.cpp 537 if (int Res = cmpTypes(AI->getAllocatedType(),
538 cast<AllocaInst>(R)->getAllocatedType()))
lib/Transforms/Utils/InlineFunction.cpp 1974 Type *AllocaType = AI->getAllocatedType();
lib/Transforms/Utils/Local.cpp 1381 (AI->getAllocatedType() && AI->getAllocatedType()->isArrayTy());
1381 (AI->getAllocatedType() && AI->getAllocatedType()->isArrayTy());
1386 return AI->getAllocatedType() && AI->getAllocatedType()->isStructTy();
1386 return AI->getAllocatedType() && AI->getAllocatedType()->isStructTy();
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 639 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType());
853 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB),
lib/Transforms/Utils/ValueMapper.cpp 917 AI->setAllocatedType(TypeMapper->remapType(AI->getAllocatedType()));
tools/lldb/source/Expression/IRInterpreter.cpp 832 Type *T = alloca_inst->getAllocatedType();
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp 132 extractValuesFromStruct(Data, StructData->getAllocatedType(), UserContext,
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 176 extractValuesFromStruct(Data, StructData->getAllocatedType(), UserContext,