Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp222 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
225 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
228 return TTy->getLayoutType()->isSized(Visited); in isSizedDerivedType()
230 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
552 bool StructType::isSized(SmallPtrSetImpl<Type*> *Visited) const { in isSized() function in StructType
578 if (!Ty->isSized(Visited)) in isSized()
H A DValue.cpp865 if (ArgMemTy->isSized()) { in getPointerDereferenceableBytes()
916 if (GV->getValueType()->isSized() && !GV->hasExternalWeakLinkage()) { in getPointerDereferenceableBytes()
944 if (ObjectType->isSized()) { in getPointerAlignment()
961 if (EltTy->isSized()) in getPointerAlignment()
H A DDataLayout.cpp790 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
1000 assert(ElemTy->isSized() && "Element type must be sized"); in getGEPIndicesForOffset()
H A DVerifier.cpp2024 Check(Attrs.getByValType()->isSized(&Visited), in verifyParameterAttrs()
2032 Check(Attrs.getByRefType()->isSized(&Visited), in verifyParameterAttrs()
2040 Check(Attrs.getInAllocaType()->isSized(&Visited), in verifyParameterAttrs()
2048 Check(Attrs.getPreallocatedType()->isSized(&Visited), in verifyParameterAttrs()
3524 if (!Ty->isSized()) in visitCallBase()
4075 Check(GEP.getSourceElementType()->isSized(), "GEP into unsized type!", &GEP); in visitGetElementPtrInst()
4204 Check(ElTy->isSized(), "loading unsized types is not allowed", &LI); in visitLoadInst()
4230 Check(ElTy->isSized(), "storing unsized types is not allowed", &SI); in visitStoreInst()
4282 Check(AI.getAllocatedType()->isSized(&Visited), in visitAllocaInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelTypeUtils.cpp34 if (Ty.isSized() && !Ty.isScalableTargetExtTy()) { in getLLTForType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp41 if (!Inst.getType()->isSized()) in valueEscapes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp439 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
447 if (GTy->isSized()) in visitMemoryReference()
450 if (!BaseAlign && GTy->isSized()) in visitMemoryReference()
463 if (!Align && Ty && Ty->isSized()) in visitMemoryReference()
H A DGlobalsModRef.cpp746 if (GVType->isSized() && InputGVType->isSized() && in isNonEscapingGlobalNoAlias()
H A DMemoryBuiltins.cpp805 if (!MemoryTy|| !MemoryTy->isSized()) { in visitArgument()
853 if (!GV.getValueType()->isSized() || GV.hasExternalWeakLinkage() || in visitGlobalVariable()
1138 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
H A DLoads.cpp207 if (!Ty->isSized() || Ty->isScalableTy()) in isDereferenceableAndAlignedPointer()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp142 if (!Ty->isSized()) in IsGlobalInSmallSectionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp98 if (!Ty->isSized()) in isGlobalInSmallSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp139 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
H A DXCoreTargetObjectFile.cpp122 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp101 if (!GV->getValueType()->isSized()) in isLargeGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp465 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst()
485 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
841 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq()
928 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h177 if (T->isSized()) in sizedPtrType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h302 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
H A DDataLayout.h673 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
H A DDerivedTypes.h289 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp646 if (!ResultType->isSized()) { in ConvertType()
660 if (!EltTy->isSized()) { in ConvertType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp182 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp207 [](ArrayRef<Value *>, const Value *V) { return V->getType()->isSized(); }, in gepDescriptor()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/Hexagon/
H A DABISysV_hexagon.cpp1314 if (retType.isIntegerTy() && retType.isSized()) { in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp414 G.getValueType()->isSized()) { in emitEndOfAsmFile()

123