| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 158 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca() 194 Info.AI->getAllocatedType(), in alignAndPadAlloca() 196 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| H A D | PromoteMemoryToRegister.cpp | 70 if (LI->isVolatile() || LI->getType() != AI->getAllocatedType()) in isAllocaPromotable() 74 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable() 833 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 1057 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 646 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 647 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 190 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 212 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 466 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 470 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 486 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 487 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 842 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 849 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2732 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 3200 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 3369 !DL.typeSizeEqualsStoreSize(NewAI.getAllocatedType()) || in visitMemTransferInst() 3370 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3495 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 3499 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 4806 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) { in rewritePartition() 4988 DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue(); in splitAlloca() 5071 DL.getTypeSizeInBits(AI.getAllocatedType()).getFixedValue(); in splitAlloca() 5183 auto *AT = AI.getAllocatedType(); in runOnAlloca() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 208 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 242 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 707 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1097 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1321 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1576 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 283 const unsigned Size = DL.getTypeStoreSize(AI->getAllocatedType()); in isSupportedMemset() 631 Type *AllocaTy = Alloca.getAllocatedType(); in tryPromoteAllocaToVector() 710 if (Ptr == &Alloca && DL->getTypeStoreSize(Alloca.getAllocatedType()) == in tryPromoteAllocaToVector() 1351 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in tryPromoteAllocaToLDS() 1361 WorkGroupSize * DL.getTypeAllocSize(I.getAllocatedType()); in tryPromoteAllocaToLDS() 1383 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in tryPromoteAllocaToLDS()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 201 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1260 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getCallArgsTotalAllocaSize() 1309 auto ArgAllocaSize = DL.getTypeAllocSize(AI->getAllocatedType()); in getCallerAllocaCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 207 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 512 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 532 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 667 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 453 if (ContainsProtectableArray(AI->getAllocatedType(), M, SSPBufferSize, in requiresStackProtector() 473 AI, M->getDataLayout().getTypeAllocSize(AI->getAllocatedType()), in requiresStackProtector()
|
| H A D | GCRootLowering.cpp | 180 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 208 EltTys.push_back(Root.second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | TypeFinder.cpp | 82 incorporateType(AI->getAllocatedType()); in run()
|
| H A D | Instruction.cpp | 702 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in hasSameSpecialState()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 36 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 770 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 782 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in insertStateNumberStore()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfo.h | 339 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {}
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 314 if (A && A->getAllocatedType() == ExpectedElementType) in insertPtrCastInstr() 533 EltTyConst = UndefValue::get(AI->getAllocatedType()); in insertAssignPtrTypeIntrs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFrameLowering.cpp | 74 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 781 TypeSize ElemSize = DL.getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst() 1138 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 1153 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 137 Type *Ty = AI->getAllocatedType(); in set()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 615 Type *Ty = AI->getAllocatedType(); in addFieldForAlloca() 2009 auto *Value = Builder.CreateLoad(Alloca->getAllocatedType(), Alloca); in insertSpills() 2062 auto *Value = Builder.CreateLoad(PA->getAllocatedType(), PA); in insertSpills() 2560 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround()
|