| /openbsd-src/gnu/llvm/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 | 69 if (LI->isVolatile() || LI->getType() != AI->getAllocatedType()) in isAllocaPromotable() 73 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable() 741 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 959 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 573 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 574 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 183 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 205 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 450 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 454 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 470 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 471 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 509 auto *DestTy = PointerType::get(AI.getAllocatedType(), SrcAddrSpace); in visitAllocaInst() 858 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 865 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 766 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue()), in SliceBuilder() 2580 Type *AccessTy = NewAI.getAllocatedType()->getPointerTo(AddrSpace); in getPtrToNewAI() 2595 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2599 DL.getTypeSizeInBits(NewAI.getAllocatedType()) in AllocaSliceRewriter() 2734 LoadInst *Load = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedLoadInst() 2745 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2792 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), NewPtr, in visitLoadInst() 2891 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst() 2914 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore() 3077 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget() 278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
|
| /openbsd-src/gnu/llvm/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 | 703 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1076 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1302 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1557 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 395 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 450 if (Ptr == Alloca && DL.getTypeStoreSize(Alloca->getAllocatedType()) == in tryPromoteAllocaToVector() 937 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() 972 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in handleAlloca() 1003 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in handleAlloca()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 200 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1197 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 208 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 513 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 533 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 668 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 349 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector() 365 AI->getAllocatedType()))) { in RequiresStackProtector()
|
| H A D | ReturnProtectorLowering.cpp | 207 Type *Ty = AI->getAllocatedType(); in determineReturnProtectorRegister()
|
| H A D | GCRootLowering.cpp | 160 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 166 EltTys.push_back(Root.second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | TypeFinder.cpp | 82 incorporateType(AI->getAllocatedType()); in run()
|
| H A D | Instruction.cpp | 491 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 36 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | DebugInfo.h | 278 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {} in AssignmentInfo()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 750 TypeSize ElemSize = DL.getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst() 1096 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 1110 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFrameLowering.cpp | 74 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 475 Type *Ty = AI->getAllocatedType(); in addFieldForAlloca() 1835 auto *Value = Builder.CreateLoad(Alloca->getAllocatedType(), Alloca); in insertSpills() 1892 auto *Value = Builder.CreateLoad(PA->getAllocatedType(), PA); in insertSpills() 2351 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround()
|