| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 176 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 199 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 346 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 349 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst() 354 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 371 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 372 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 381 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst() 834 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 841 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 362 Type *AT = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 723 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() 761 Align = DL.getABITypeAlignment(I.getAllocatedType()); in handleAlloca() 792 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in handleAlloca()
|
| H A D | AMDGPUInline.cpp | 135 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getInlineThreshold()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 158 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 221 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 502 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 522 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 659 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | GCRootLowering.cpp | 164 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | StackProtector.cpp | 286 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
|
| H A D | ShadowStackGCLowering.cpp | 161 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 171 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 205 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 685 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1062 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1286 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1550 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 553 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 556 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 831 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 838 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| H A D | Loads.cpp | 226 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
|
| H A D | StackSafetyAnalysis.cpp | 133 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize()
|
| H A D | InlineCost.cpp | 428 Type *Ty = I.getAllocatedType(); in visitAlloca() 437 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 673 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} in SliceBuilder() 2287 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2395 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType()); in getSliceAlign() 2732 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2868 SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) || in visitMemTransferInst() 2869 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 4083 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) { in rewritePartition() 4094 Alignment = DL.getABITypeAlignment(AI.getAllocatedType()); in rewritePartition() 4209 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType()); in splitAlloca() 4381 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca() [all …]
|
| H A D | MemCpyOptimizer.cpp | 839 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 854 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() 889 srcAlign = DL.getABITypeAlignment(srcAlloca->getAllocatedType()); in performCallSlotOptzn()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Value.cpp | 632 DerefBytes = DL.getTypeStoreSize(AI->getAllocatedType()); in getPointerDereferenceableBytes() 682 Type *AllocatedType = AI->getAllocatedType(); in getPointerAlignment()
|
| H A D | Instruction.cpp | 383 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 659 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 877 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 525 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 526 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| H A D | Evaluator.cpp | 445 Type *Ty = AI->getAllocatedType(); in EvaluateBlock()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 191 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in mergeInlinedArrayAllocas() 236 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType()); in mergeInlinedArrayAllocas()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 641 Type *Ty = AI.getAllocatedType(); in getAllocaSizeInBytes() 931 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 135 Type *Ty = AI->getAllocatedType(); in set()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 252 unsigned ElementSize = DL->getTypeStoreSize(AI.getAllocatedType()); in getOrCreateFrameIndex() 261 Alignment = DL->getABITypeAlignment(AI.getAllocatedType()); in getOrCreateFrameIndex() 1321 Type *Ty = AI.getAllocatedType(); in translateAlloca()
|