| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 163 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 185 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 369 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 373 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinSize() == 0) { in visitAllocaInst() 389 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 390 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 428 auto *DestTy = PointerType::get(AI.getAllocatedType(), SrcAddrSpace); in visitAllocaInst() 785 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 792 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2343 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2487 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2805 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2960 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3067 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 3071 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 4329 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) { in rewritePartition() 4457 DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize(); in splitAlloca() 4541 DL.getTypeSizeInBits(AI.getAllocatedType()).getFixedSize(); in splitAlloca() 4639 auto *AT = AI.getAllocatedType(); in runOnAlloca() [all …]
|
| H A D | RewriteStatepointsForGC.cpp | 1880 cast<AllocaInst>(Alloca)->getAllocatedType(), in insertRelocationStores() 2010 auto PT = cast<PointerType>(AI->getAllocatedType()); in relocationViaAlloca() 2059 new LoadInst(Alloca->getAllocatedType(), Alloca, "", in relocationViaAlloca() 2066 new LoadInst(Alloca->getAllocatedType(), Alloca, "", Use); in relocationViaAlloca()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget() 278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 665 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 668 if (isa<ScalableVectorType>(I.getAllocatedType())) in visitAllocaInst() 671 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 954 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 968 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 225 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 521 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 541 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 670 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 339 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector() 355 AI->getAllocatedType()))) { in RequiresStackProtector()
|
| H A D | GCRootLowering.cpp | 163 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 166 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 167 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 201 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 699 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1077 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1303 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1559 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 415 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 856 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() 891 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in handleAlloca() 922 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in handleAlloca()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 196 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1212 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 421 AI.getAllocatedType()->isSized() && AI.isStaticAlloca() && in isInterestingAlloca() 504 Info.AI->getAllocatedType(), in alignAndPadAlloca() 506 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 774 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 786 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in insertStateNumberStore()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 432 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 648 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 864 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 556 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 557 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| H A D | Evaluator.cpp | 478 Type *Ty = AI->getAllocatedType(); in EvaluateBlock()
|
| H A D | Local.cpp | 1530 (AI->getAllocatedType() && AI->getAllocatedType()->isArrayTy()); in isArray() 1535 return AI->getAllocatedType() && AI->getAllocatedType()->isStructTy(); in isStructure()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFrameLowering.cpp | 75 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 966 Type *Ty = AI.getAllocatedType(); in getAllocaSizeInBytes() 1286 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca() 1392 Type *AllocatedType = AI->getAllocatedType(); in sanitizeFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 137 Type *Ty = AI->getAllocatedType(); in set()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 446 Type *Ty = AI->getAllocatedType(); in addFieldForAlloca() 1743 auto *Value = Builder.CreateLoad(Alloca->getAllocatedType(), Alloca); in insertSpills() 2218 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround()
|