/external/llvm/lib/Analysis/ |
D | AliasAnalysisEvaluator.cpp | 175 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()
|
D | Lint.cpp | 427 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()
|
D | Loads.cpp | 80 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
|
D | MemoryBuiltins.cpp | 205 if (!T || !T->isSized() || !TD) in computeArraySize() 450 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 689 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
|
D | ConstantFolding.cpp | 419 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr() 653 if (!TD || !cast<PointerType>(Ptr->getType())->getElementType()->isSized() || in SymbolicallyEvaluateGEP() 739 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
|
D | ValueTracking.cpp | 280 if (ObjectType->isSized()) { in ComputeMaskedBits() 319 if (EltTy->isSized()) in ComputeMaskedBits() 641 if (!IndexedTy->isSized()) return; in ComputeMaskedBits()
|
D | BasicAliasAnalysis.cpp | 277 ->getElementType()->isSized()) in DecomposeGEPExpression()
|
D | ScalarEvolutionExpander.cpp | 419 if (ElTy->isSized()) { in expandAddToGEP()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 163 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()
|
D | DataLayout.cpp | 514 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()
|
D | Verifier.cpp | 705 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()
|
D | ConstantFold.cpp | 109 && DPTy->getElementType()->isSized()) { in FoldBitCast()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 436 if (!ResultType->isSized()) { in ConvertType() 449 if (!EltTy->isSized()) { in ConvertType()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 276 bool isSized() const { in isSized() function
|
D | DerivedTypes.h | 252 bool isSized() const;
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 765 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()
|
D | InstCombineLoadStoreAlloca.cpp | 199 if (TD && AI.getAllocatedType()->isSized()) { in visitAllocaInst() 224 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
|
D | InstCombineCalls.cpp | 106 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()
|
D | InstCombineCasts.cpp | 92 if (!AllocElTy->isSized() || !CastElTy->isSized()) return 0; in PromoteCastOfAllocation()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 574 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()
|
D | AddressSanitizer.cpp | 476 AI.getAllocatedType()->isSized()); in isInterestingAlloca() 647 assert(OrigTy->isSized()); in instrumentMop() 784 if (!Ty->isSized()) return false; in ShouldInstrumentGlobal()
|
D | ThreadSanitizer.cpp | 512 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 408 if (LI->getType()->isSized()) in canSinkOrHoistInst()
|
D | SROA.cpp | 1810 if (!ElementTy->isSized()) in getNaturalGEPWithOffset() 3516 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 281 if (!Ty->isSized() || isZeroLengthArray(Ty)) { in LowerGlobalTLSAddress()
|