Home
last modified time | relevance | path

Searched refs:getAllocatedType (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp158 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca()
194 Info.AI->getAllocatedType(), in alignAndPadAlloca()
196 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
H A DPromoteMemoryToRegister.cpp70 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 DFunctionComparator.cpp646 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 DInstCombineLoadStoreAlloca.cpp190 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 DSROA.cpp2732 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 DNVPTXLowerAlloca.cpp73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget()
278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp208 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize()
242 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
H A DCGExprCXX.cpp707 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 DAMDGPUPromoteAlloca.cpp283 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 DAMDGPUTargetTransformInfo.cpp201 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 DSafeStack.cpp207 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 DStackProtector.cpp453 if (ContainsProtectableArray(AI->getAllocatedType(), M, SSPBufferSize, in requiresStackProtector()
473 AI, M->getDataLayout().getTypeAllocSize(AI->getAllocatedType()), in requiresStackProtector()
H A DGCRootLowering.cpp180 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
H A DShadowStackGCLowering.cpp208 EltTys.push_back(Root.second->getAllocatedType()); in GetConcreteStackEntryType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DTypeFinder.cpp82 incorporateType(AI->getAllocatedType()); in run()
H A DInstruction.cpp702 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in hasSameSpecialState()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp36 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp770 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 DDebugInfo.h339 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {}
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp314 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 DWebAssemblyFrameLowering.cpp74 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp781 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 DFunctionLoweringInfo.cpp137 Type *Ty = AI->getAllocatedType(); in set()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp615 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()

123