Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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.cpp69 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 DFunctionComparator.cpp573 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 DInstCombineLoadStoreAlloca.cpp183 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 DSROA.cpp766 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 DNVPTXLowerAlloca.cpp73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget()
278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCXXABI.cpp211 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize()
245 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
H A DCGExprCXX.cpp703 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 DAMDGPUPromoteAlloca.cpp395 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 DAMDGPUTargetTransformInfo.cpp200 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences()
1197 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStack.cpp208 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 DStackProtector.cpp349 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
365 AI->getAllocatedType()))) { in RequiresStackProtector()
H A DReturnProtectorLowering.cpp207 Type *Ty = AI->getAllocatedType(); in determineReturnProtectorRegister()
H A DGCRootLowering.cpp160 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
H A DShadowStackGCLowering.cpp166 EltTys.push_back(Root.second->getAllocatedType()); in GetConcreteStackEntryType()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DTypeFinder.cpp82 incorporateType(AI->getAllocatedType()); in run()
H A DInstruction.cpp491 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp36 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfo.h278 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {} in AssignmentInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp774 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 DMemoryBuiltins.cpp750 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 DWebAssemblyFrameLowering.cpp74 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp753 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 DCoroFrame.cpp475 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()

1234