Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp175 if (I1ElTy->isSized()) I1Size = AA.getTypeStoreSize(I1ElTy); in runOnFunction()
180 if (I2ElTy->isSized()) I2Size = AA.getTypeStoreSize(I2ElTy); in runOnFunction()
209 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DLint.cpp427 if (TD && !AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
430 if (TD && BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
437 if (TD && GTy->isSized()) in visitMemoryReference()
440 if (TD && BaseAlign == 0 && GTy->isSized()) in visitMemoryReference()
454 if (TD && Align == 0 && Ty && Ty->isSized()) in visitMemoryReference()
DLoads.cpp80 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
DMemoryBuiltins.cpp205 if (!T || !T->isSized() || !TD) in computeArraySize()
450 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
689 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
DConstantFolding.cpp419 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr()
653 if (!TD || !cast<PointerType>(Ptr->getType())->getElementType()->isSized() || in SymbolicallyEvaluateGEP()
739 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
DValueTracking.cpp280 if (ObjectType->isSized()) { in ComputeMaskedBits()
319 if (EltTy->isSized()) in ComputeMaskedBits()
641 if (!IndexedTy->isSized()) return; in ComputeMaskedBits()
DBasicAliasAnalysis.cpp277 ->getElementType()->isSized()) in DecomposeGEPExpression()
DScalarEvolutionExpander.cpp419 if (ElTy->isSized()) { in expandAddToGEP()
/external/llvm/lib/IR/
DType.cpp163 return ATy->getElementType()->isSized(); in isSizedDerivedType()
166 return VTy->getElementType()->isSized(); in isSizedDerivedType()
171 return cast<StructType>(this)->isSized(); in isSizedDerivedType()
559 bool StructType::isSized() const { in isSized() function in StructType
569 if (!(*I)->isSized()) in isSized()
DDataLayout.cpp514 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
565 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
DVerifier.cpp705 PTy->getElementType()->isSized(), in VerifyParameterAttrs()
1525 Assert1(cast<PointerType>(TargetTy)->getElementType()->isSized(), in visitGetElementPtrInst()
1667 Assert1(PTy->getElementType()->isSized(), "Cannot allocate unsized type", in visitAllocaInst()
DConstantFold.cpp109 && DPTy->getElementType()->isSized()) { in FoldBitCast()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp436 if (!ResultType->isSized()) { in ConvertType()
449 if (!EltTy->isSized()) { in ConvertType()
/external/llvm/include/llvm/IR/
DType.h276 bool isSized() const { in isSized() function
DDerivedTypes.h252 bool isSized() const;
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp765 if (!Ty->isSized()) return 0; in FindElementAtOffset()
1090 if (SeqTy->getElementType()->isSized() && in visitGetElementPtrInst()
1252 if (TD && ResElTy->isSized() && SrcElTy->isSized()) { in visitGetElementPtrInst()
1285 if (TD && ResElTy->isSized() && SrcElTy->isSized() && in visitGetElementPtrInst()
DInstCombineLoadStoreAlloca.cpp199 if (TD && AI.getAllocatedType()->isSized()) { in visitAllocaInst()
224 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
DInstCombineCalls.cpp106 if (TD && SrcETy->isSized() && TD->getTypeStoreSize(SrcETy) == Size) { in SimplifyMemTransfer()
779 if (!SrcTy->isSized() || !DstTy->isSized()) in isSafeToEliminateVarargsCast()
1061 if (ParamPTy == 0 || !ParamPTy->getElementType()->isSized() || TD == 0) in transformConstExprCastCall()
DInstCombineCasts.cpp92 if (!AllocElTy->isSized() || !CastElTy->isSized()) return 0; in PromoteCastOfAllocation()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp574 if (!OrigTy->isSized()) { in getShadowTy()
748 if (!AI->getType()->isSized()) { in getShadow()
835 assert(I.getType()->isSized() && "Load type must have size"); in visitLoadInst()
1587 if (!A->getType()->isSized()) { in visitCallSite()
1630 if (!I.getType()->isSized()) return; in visitCallSite()
DAddressSanitizer.cpp476 AI.getAllocatedType()->isSized()); in isInterestingAlloca()
647 assert(OrigTy->isSized()); in instrumentMop()
784 if (!Ty->isSized()) return false; in ShouldInstrumentGlobal()
DThreadSanitizer.cpp512 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp408 if (LI->getType()->isSized()) in canSinkOrHoistInst()
DSROA.cpp1810 if (!ElementTy->isSized()) in getNaturalGEPWithOffset()
3516 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp281 if (!Ty->isSized() || isZeroLengthArray(Ty)) { in LowerGlobalTLSAddress()

12