| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 174 Info.AI->getAllocatedType(), in alignAndPadAlloca() 176 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| H A D | PromoteMemoryToRegister.cpp | 69 if (LI->isVolatile() || LI->getType() != AI->getAllocatedType()) in isAllocaPromotable() 73 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable() 650 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 866 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 160 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 182 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 358 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 362 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinSize() == 0) { in visitAllocaInst() 378 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 379 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 417 auto *DestTy = PointerType::get(AI.getAllocatedType(), SrcAddrSpace); in visitAllocaInst() 765 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 772 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | DefaultOperatorNewAlignmentCheck.cpp | 30 QualType T = NewExpr->getAllocatedType(); in check()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2317 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2461 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2776 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2930 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3037 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 3041 Src = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemTransferInst() 4292 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) { in rewritePartition() 4420 DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize(); in splitAlloca() 4504 DL.getTypeSizeInBits(AI.getAllocatedType()).getFixedSize(); in splitAlloca() 4602 auto *AT = AI.getAllocatedType(); in runOnAlloca() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget() 278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 390 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 441 if (Ptr == Alloca && DL.getTypeStoreSize(Alloca->getAllocatedType()) == in tryPromoteAllocaToVector() 846 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() 881 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in handleAlloca() 912 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in handleAlloca()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | PointerTypeAnalysis.cpp | 31 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 4057 if (!Alloc->getAllocatedType()->isArrayTy() || in TEST_F() 4612 EXPECT_TRUE(MapperAllocas.ArgsBase->getAllocatedType()->isArrayTy()); in TEST_F() 4614 dyn_cast<ArrayType>(MapperAllocas.ArgsBase->getAllocatedType()); in TEST_F() 4616 EXPECT_TRUE(MapperAllocas.ArgsBase->getAllocatedType() in TEST_F() 4624 EXPECT_TRUE(MapperAllocas.Args->getAllocatedType()->isArrayTy()); in TEST_F() 4625 ArrType = dyn_cast<ArrayType>(MapperAllocas.Args->getAllocatedType()); in TEST_F() 4627 EXPECT_TRUE(MapperAllocas.Args->getAllocatedType() in TEST_F() 4634 EXPECT_TRUE(MapperAllocas.ArgSizes->getAllocatedType()->isArrayTy()); in TEST_F() 4637 EXPECT_TRUE(MapperAllocas.ArgSizes->getAllocatedType() in TEST_F() 5034 Builder.CreateLoad(Alloca64->getAllocatedType(), Alloca64); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 211 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 245 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 700 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1073 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1299 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1554 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /llvm-project-15.0.7/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 | 342 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector() 358 AI->getAllocatedType()))) { in RequiresStackProtector()
|
| H A D | GCRootLowering.cpp | 160 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 165 EltTys.push_back(Root.second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | TypeFinder.cpp | 82 incorporateType(AI->getAllocatedType()); in run()
|
| H A D | Instruction.cpp | 441 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 780 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 783 TypeSize ElemSize = DL.getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst() 1127 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 1141 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | LoopGeneratorsGOMP.cpp | 134 extractValuesFromStruct(Data, StructData->getAllocatedType(), UserContext, in createSubFn()
|
| H A D | ManagedMemoryRewrite.cpp | 301 const uint64_t Size = DL.getTypeAllocSize(Alloca->getAllocatedType()); in rewriteAllocaAsManagedMemory()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeSmartPtrCheck.cpp | 138 New->getAllocatedType(), *Result.Context); in check()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFrameLowering.cpp | 75 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 753 return Builder->CreateLoad(A->getAllocatedType(), A, Name.c_str()); in codegen() 966 Builder->CreateLoad(Alloca->getAllocatedType(), Alloca, VarName.c_str()); in codegen()
|