Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DType.cpp157 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
160 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
162 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
554 bool StructType::isSized(SmallPtrSetImpl<Type*> *Visited) const { in isSized() function in StructType
567 if (!(*I)->isSized(Visited)) in isSized()
DDataLayout.cpp628 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
/external/llvm/lib/Analysis/
DLint.cpp429 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
432 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
439 if (GTy->isSized()) in visitMemoryReference()
442 if (BaseAlign == 0 && GTy->isSized()) in visitMemoryReference()
456 if (Align == 0 && Ty && Ty->isSized()) in visitMemoryReference()
DAliasAnalysisEvaluator.cpp194 if (I1ElTy->isSized()) I1Size = DL.getTypeStoreSize(I1ElTy); in runOnFunction()
199 if (I2ElTy->isSized()) I2Size = DL.getTypeStoreSize(I2ElTy); in runOnFunction()
294 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy); in runOnFunction()
DLoads.cpp104 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
DMemoryBuiltins.cpp220 if (!T || !T->isSized()) in computeArraySize()
444 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
674 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
DValueTracking.cpp1377 if (!IndexedTy->isSized()) { in computeKnownBitsFromOperator()
1564 if (ObjectType->isSized()) { in getAlignment()
1581 if (EltTy->isSized()) in getAlignment()
3124 assert(Ty->isSized() && "must be sized"); in isDereferenceableFromAttribute()
3169 if (!Ty->isSized()) in isDereferenceableFromAttribute()
3182 if (!Ty->isSized()) in isAligned()
3195 assert(Ty->isSized() && "must be sized"); in isAligned()
3223 if (STy->isSized() && DTy->isSized() && in isDereferenceableAndAlignedPointer()
3302 if (Ty->isSized()) { in isDereferenceableAndAlignedPointer()
DGlobalsModRef.cpp734 if (GVType->isSized() && InputGVType->isSized() && in isNonEscapingGlobalNoAlias()
DConstantFolding.cpp445 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr()
734 if (!Ptr->getType()->getPointerElementType()->isSized() || in SymbolicallyEvaluateGEP()
823 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp228 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst()
253 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
472 if (!Ty->isIntegerTy() && Ty->isSized() && in combineLoadToOperationType()
619 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq()
699 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
DInstructionCombining.cpp935 if (!Ty->isSized()) in FindElementAtOffset()
1363 if (SeqTy->getElementType()->isSized() && in visitGetElementPtrInst()
1712 if (ResElTy->isSized() && SrcElTy->isSized()) { in visitGetElementPtrInst()
1750 if (ResElTy->isSized() && SrcElTy->isSized() && SrcElTy->isArrayTy()) { in visitGetElementPtrInst()
DInstCombineCalls.cpp110 if (SrcETy->isSized() && DL.getTypeStoreSize(SrcETy) == Size) { in SimplifyMemTransfer()
1830 if (!SrcTy->isSized() || !DstTy->isSized()) in isSafeToEliminateVarargsCast()
2152 if (!ParamPTy || !ParamPTy->getElementType()->isSized()) in transformConstExprCastCall()
DInstCombineCasts.cpp91 if (!AllocElTy->isSized() || !CastElTy->isSized()) return nullptr; in PromoteCastOfAllocation()
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp127 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
DXCoreLowerThreadLocal.cpp188 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp529 if (!ResultType->isSized()) { in ConvertType()
542 if (!EltTy->isSized()) { in ConvertType()
/external/llvm/include/llvm/IR/
DDataLayout.h513 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
DType.h261 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
DDerivedTypes.h249 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const;
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp359 … context, const char* name, const char* description, int numValues, bool isSized, const tcu::IVec3… in InvertSSBOInPlaceCase() argument
362 , m_isSized (isSized) in InvertSSBOInPlaceCase()
461 … context, const char* name, const char* description, int numValues, bool isSized, const tcu::IVec3… in WriteToMultipleSSBOCase() argument
464 , m_isSized (isSized) in WriteToMultipleSSBOCase()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp871 if (!OrigTy->isSized()) { in getShadowTy()
1092 if (!FArg.getType()->isSized()) { in getShadow()
1252 assert(I.getType()->isSized() && "Load type must have size"); in visitLoadInst()
2462 if (!A->getType()->isSized()) { in visitCallSite()
2512 if (!I.getType()->isSized()) return; in visitCallSite()
DThreadSanitizer.cpp590 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp695 if (!PointerElementType->isSized()) in isInductionPHI()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp136 if (!type->isSized()) in isDenselyPacked()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp457 if (LI->getType()->isSized()) in canSinkOrHoistInst()

12