Home
last modified time | relevance | path

Searched refs:isSized (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h149 PtrT->getNonOpaquePointerElementType()->isSized(); in sizedPtrType()
156 if (T->isSized()) in sizedPtrType()
/llvm-project-15.0.7/llvm/lib/IR/
H A DType.cpp210 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
213 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
215 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
552 bool StructType::isSized(SmallPtrSetImpl<Type*> *Visited) const { in isSized() function in StructType
569 if (!Ty->isSized(Visited)) in isSized()
H A DValue.cpp853 if (ArgMemTy->isSized()) { in getPointerDereferenceableBytes()
904 if (GV->getValueType()->isSized() && !GV->hasExternalWeakLinkage()) { in getPointerDereferenceableBytes()
932 if (ObjectType->isSized()) { in getPointerAlignment()
949 if (EltTy->isSized()) in getPointerAlignment()
H A DDataLayout.cpp748 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
963 assert(ElemTy->isSized() && "Element type must be sized"); in getGEPIndicesForOffset()
H A DVerifier.cpp1847 Check(Attrs.getByValType()->isSized(&Visited), in verifyParameterAttrs()
1852 Check(Attrs.getByRefType()->isSized(&Visited), in verifyParameterAttrs()
1857 Check(Attrs.getInAllocaType()->isSized(&Visited), in verifyParameterAttrs()
1862 Check(Attrs.getPreallocatedType()->isSized(&Visited), in verifyParameterAttrs()
3183 if (!Ty->isSized()) in visitCallBase()
3726 Check(GEP.getSourceElementType()->isSized(), "GEP into unsized type!", &GEP); in visitGetElementPtrInst()
3834 Check(ElTy->isSized(), "loading unsized types is not allowed", &LI); in visitLoadInst()
3862 Check(ElTy->isSized(), "storing unsized types is not allowed", &SI); in visitStoreInst()
3914 Check(AI.getAllocatedType()->isSized(&Visited), in visitAllocaInst()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowLevelType.cpp34 if (Ty.isSized()) { in getLLTForType()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp67 if (!Ty->isSized()) in isGlobalInSmallSection()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp86 assert(Ty->isSized() && "must be sized"); in isDereferenceableAndAlignedPointer()
178 assert(Ty->isSized() && "must be sized"); in isDereferenceableAndAlignedPointer()
213 if (!Ty->isSized() || isa<ScalableVectorType>(Ty)) in isDereferenceableAndAlignedPointer()
H A DLint.cpp451 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
459 if (GTy->isSized()) in visitMemoryReference()
462 if (!BaseAlign && GTy->isSized()) in visitMemoryReference()
475 if (!Align && Ty && Ty->isSized()) in visitMemoryReference()
H A DMemoryBuiltins.cpp780 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
807 if (!MemoryTy|| !MemoryTy->isSized()) { in visitArgument()
1127 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
H A DGlobalsModRef.cpp739 if (GVType->isSized() && InputGVType->isSized() && in isNonEscapingGlobalNoAlias()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp142 if (!Ty->isSized()) in IsGlobalInSmallSectionImpl()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp151 if (!ElemTy->isSized() || !ElemTy->isFirstClassType()) in findPointer()
H A DOperations.cpp184 [](ArrayRef<Value *>, const Value *V) { return V->getType()->isSized(); }, in gepDescriptor()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp122 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
H A DXCoreLowerThreadLocal.cpp136 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp358 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst()
378 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
765 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq()
849 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
H A DInstructionCombining.cpp1399 if (!Ty->isSized()) in findElementAtOffset()
2319 if (EltTy->isSized() && DL.getTypeAllocSize(EltTy).isZero()) in visitGetElementPtrInst()
2580 if (GEPEltType->isSized() && StrippedPtrEltTy->isSized()) { in visitGetElementPtrInst()
2616 if (GEPEltType->isSized() && StrippedPtrEltTy->isSized() && in visitGetElementPtrInst()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DType.h269 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
H A DDataLayout.h674 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
H A DDerivedTypes.h284 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp689 if (!ResultType->isSized()) { in ConvertType()
702 if (!EltTy->isSized()) { in ConvertType()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp177 if (!T->isSized() || in matchFoldGlobalOffset()
/llvm-project-15.0.7/lldb/source/Plugins/ABI/Hexagon/
H A DABISysV_hexagon.cpp1229 if (retType.isIntegerTy() && retType.isSized()) { in GetReturnValueObjectImpl()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp198 if (Op.get()->getType()->isSized()) in visitSwitchInst()

123