Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Analysis/
DLoads.cpp34 if (!Ty->isSized()) in isAligned()
47 assert(Ty->isSized() && "must be sized"); in isAligned()
128 if (!Ty->isSized()) in isDereferenceableAndAlignedPointer()
229 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
DAliasAnalysisEvaluator.cpp147 if (I1ElTy->isSized()) I1Size = DL.getTypeStoreSize(I1ElTy); in runInternal()
152 if (I2ElTy->isSized()) I2Size = DL.getTypeStoreSize(I2ElTy); in runInternal()
244 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy); in runInternal()
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()
DMemoryBuiltins.cpp228 if (!T || !T->isSized()) in computeArraySize()
452 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
726 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
DGlobalsModRef.cpp706 if (GVType->isSized() && InputGVType->isSized() && in isNonEscapingGlobalNoAlias()
/external/llvm/lib/IR/
DValue.cpp548 if (DerefBytes == 0 && A->hasByValAttr() && A->getType()->isSized()) { in getPointerDereferenceableBytes()
576 if (AI->getAllocatedType()->isSized()) { in getPointerDereferenceableBytes()
581 if (GV->getValueType()->isSized() && !GV->hasExternalWeakLinkage()) { in getPointerDereferenceableBytes()
600 if (ObjectType->isSized()) { in getPointerAlignment()
617 if (EltTy->isSized()) in getPointerAlignment()
624 if (AllocatedType->isSized()) in getPointerAlignment()
DType.cpp142 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
145 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
147 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
486 bool StructType::isSized(SmallPtrSetImpl<Type*> *Visited) const { in isSized() function in StructType
499 if (!(*I)->isSized(Visited)) in isSized()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasAnalysisEvaluator.cpp175 if (I1ElTy->isSized()) I1Size = AA.getTypeStoreSize(I1ElTy); in runOnFunction()
180 if (I2ElTy->isSized()) I2Size = AA.getTypeStoreSize(I2ElTy); in runOnFunction()
211 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DMemoryBuiltins.cpp98 if (!T || !T->isSized() || !TD) in computeArraySize()
DLoads.cpp108 if (BaseType && BaseType->isSized()) { in isSafeToLoadUnconditionally()
DConstantFolding.cpp205 ->getElementType()->isSized()) in IsConstantOffsetFromGlobal()
399 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr()
582 if (!TD || !cast<PointerType>(Ptr->getType())->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
665 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp80 if (TD && SrcETy->isSized() && TD->getTypeStoreSize(SrcETy) == Size) { in SimplifyMemTransfer()
291 if (AI->getAllocatedType()->isSized()) { in visitCallInst()
302 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()
/external/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp43 assert(Val.getType()->isSized() && in getOrCreateVReg()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp230 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst()
255 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
476 if (!Ty->isIntegerTy() && Ty->isSized() && in combineLoadToOperationType()
654 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq()
732 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp176 return ATy->getElementType()->isSized(); in isSizedDerivedType()
179 return VTy->getElementType()->isSized(); in isSizedDerivedType()
190 if (!(*I)->isSized()) in isSizedDerivedType()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp401 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
449 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getAlignment()
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp127 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
DXCoreLowerThreadLocal.cpp187 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
/external/swiftshader/third_party/LLVM/include/llvm/
DType.h237 bool isSized() const { in isSized() function
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp532 if (!ResultType->isSized()) { in ConvertType()
545 if (!EltTy->isSized()) { in ConvertType()
/external/llvm/include/llvm/IR/
DDataLayout.h511 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); in getTypeSizeInBits()
DType.h252 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
DDerivedTypes.h251 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h254 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
DDerivedTypes.h256 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const;

1234