Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRTypes.h36 bool isSized(mlir::Type ty);
H A DCIRTypes.td304 DeclareTypeInterfaceMethods<CIR_SizedTypeInterface, ["isSized"]>,
326 bool $cppClass::isSized() const {
327 return ::cir::isSized(getElementType());
338 DeclareTypeInterfaceMethods<CIR_SizedTypeInterface, ["isSized"]>,
381 bool $cppClass::isSized() const {
382 return ::cir::isSized(getElementType());
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp266 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
269 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
272 return TTy->getLayoutType()->isSized(Visited); in isSizedDerivedType()
274 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
661 bool StructType::isSized(SmallPtrSetImpl<Type*> *Visited) const { in isSized() function in StructType
687 if (!Ty->isSized(Visited)) in isSized()
978 LayoutType->isSized()) && in TargetTypeInfo()
H A DValue.cpp896 if (ArgMemTy->isSized()) { in getPointerDereferenceableBytes()
947 if (GV->getValueType()->isSized() && !GV->hasExternalWeakLinkage()) { in getPointerDereferenceableBytes()
973 if (ObjectType->isSized()) { in getPointerAlignment()
989 if (EltTy->isSized()) in getPointerAlignment()
H A DDataLayout.cpp769 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
972 assert(ElemTy->isSized() && "Element type must be sized"); in getGEPIndicesForOffset()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelTypeUtils.cpp34 if (Ty.isSized() && !Ty.isScalableTargetExtTy()) { in getLLTForType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp462 if (!AI->isArrayAllocation() && ATy->isSized() && !ATy->isScalableTy()) in visitMemoryReference()
470 if (GTy->isSized()) in visitMemoryReference()
473 if (!BaseAlign && GTy->isSized()) in visitMemoryReference()
487 if (!Align && Ty && Ty->isSized()) in visitMemoryReference()
H A DGlobalsModRef.cpp753 if (GVType->isSized() && InputGVType->isSized() && in isNonEscapingGlobalNoAlias()
H A DMemoryBuiltins.cpp924 if (!MemoryTy|| !MemoryTy->isSized()) { in visitArgument()
985 if (!GV.getValueType()->isSized() || GV.hasExternalWeakLinkage() || in visitGlobalVariable()
1280 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp42 if (!Inst.getType()->isSized()) in valueEscapes()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h231 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const {
236 return LLVMTy->isSized(&LLVMVisited);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp141 if (!Ty->isSized()) in IsGlobalInSmallSectionImpl()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Interfaces/
H A DCIRTypeInterfaces.td113 /*methodName=*/"isSized",
/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 DXCoreTargetObjectFile.cpp122 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
H A DXCoreLowerThreadLocal.cpp136 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenTypes.cpp427 if (!cir::isSized(elemTy)) { in convertType()
441 if (!cir::isSized(elemTy)) { in convertType()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp114 if (!GV->getValueType()->isSized()) in isLargeGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp480 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst()
500 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
849 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq()
936 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRTypes.cpp24 bool cir::isSized(mlir::Type ty) { in isSized() function in cir
26 return sizedTy.isSized(); in isSized()
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h179 if (T->isSized()) in sizedPtrType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h308 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
H A DDataLayout.h675 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp637 if (!ResultType->isSized()) { in ConvertType()
651 if (!EltTy->isSized()) { in ConvertType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp195 if (AI.getAllocatedType()->isSized() && in getAllocaInterestingness()

123