Home
last modified time | relevance | path

Searched refs:isSized (Results 1 – 25 of 30) 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()
DMemoryBuiltins.cpp98 if (!T || !T->isSized() || !TD) in computeArraySize()
DLoads.cpp109 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
DConstantFolding.cpp242 ->getElementType()->isSized()) in IsConstantOffsetFromGlobal()
426 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr()
609 if (!TD || !cast<PointerType>(Ptr->getType())->getElementType()->isSized() || in SymbolicallyEvaluateGEP()
693 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
DBasicAliasAnalysis.cpp119 if (!AccessTy->isSized()) in getObjectSize()
303 ->getElementType()->isSized()) in DecomposeGEPExpression()
DValueTracking.cpp280 if (ObjectType->isSized()) { in ComputeMaskedBits()
629 if (!IndexedTy->isSized()) return; in ComputeMaskedBits()
DScalarEvolutionExpander.cpp419 if (ElTy->isSized()) { in expandAddToGEP()
/external/llvm/lib/VMCore/
DType.cpp180 return ATy->getElementType()->isSized(); in isSizedDerivedType()
183 return VTy->getElementType()->isSized(); in isSizedDerivedType()
188 return cast<StructType>(this)->isSized(); in isSizedDerivedType()
573 bool StructType::isSized() const { in isSized() function in StructType
583 if (!(*I)->isSized()) in isSized()
DVerifier.cpp553 Assert1(!ByValI || PTy->getElementType()->isSized(), in VerifyParameterAttrs()
1315 Assert1(cast<PointerType>(TargetTy)->getElementType()->isSized(), in visitGetElementPtrInst()
1410 Assert1(PTy->getElementType()->isSized(), "Cannot allocate unsized type", in visitAllocaInst()
DConstantFold.cpp106 && DPTy->getElementType()->isSized()) { in FoldBitCast()
DCore.cpp174 return unwrap(Ty)->isSized(); in LLVMTypeIsSized()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp80 if (TD && SrcETy->isSized() && TD->getTypeStoreSize(SrcETy) == Size) { in SimplifyMemTransfer()
293 if (AI->getAllocatedType()->isSized()) { in visitCallInst()
304 if (MallocType && MallocType->isSized()) in visitCallInst()
769 if (!SrcTy->isSized() || !DstTy->isSized()) in isSafeToEliminateVarargsCast()
1072 if (ParamPTy == 0 || !ParamPTy->getElementType()->isSized() || TD == 0) in transformConstExprCastCall()
DInstCombineLoadStoreAlloca.cpp138 if (TD && isa<AllocaInst>(AI) && AI.getAllocatedType()->isSized()) { in visitAllocaInst()
DInstCombineCasts.cpp92 if (!AllocElTy->isSized() || !CastElTy->isSized()) return 0; in PromoteCastOfAllocation()
DInstructionCombining.cpp740 if (!Ty->isSized()) return 0; in FindElementAtOffset()
827 if (SeqTy->getElementType()->isSized() && in visitGetElementPtrInst()
/external/llvm/lib/Target/
DTargetData.cpp466 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
514 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp420 if (!ResultType->isSized()) { in ConvertType()
433 if (!EltTy->isSized()) { in ConvertType()
/external/llvm/include/llvm/
DType.h257 bool isSized() const { in isSized() function
DDerivedTypes.h254 bool isSized() const;
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp309 assert(OrigTy->isSized()); in instrumentMop()
387 if (!Ty->isSized()) continue; in insertGlobalRedzones()
839 if (!AI->getAllocatedType()->isSized()) continue; in poisonStackInFunction()
DThreadSanitizer.cpp288 assert(OrigTy->isSized()); in instrumentLoadOrStore()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp388 if (LI->getType()->isSized()) in canSinkOrHoistInst()
DScalarReplAggregates.cpp1378 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized()) in performScalarRepl()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp280 if (!Ty->isSized() || isZeroLengthArray(Ty)) { in LowerGlobalTLSAddress()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1496 if (!AllocTy->isSized()) in TryToOptimizeStoreOfMallocToGlobal()

12