/external/skia/src/core/ |
H A D | SkAutoPixmapStorage.cpp | 27 size_t SkAutoPixmapStorage::AllocSize(const SkImageInfo& info, size_t* rowBytes) { function in class:SkAutoPixmapStorage 39 size_t size = AllocSize(info, &rb);
|
H A D | SkAutoPixmapStorage.h | 46 static size_t AllocSize(const SkImageInfo& info, size_t* rowBytes);
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 29 uintptr_t AllocSize = Size; local 30 uint8_t *Mem = MemMgr->startFunctionBody(Name.data(), AllocSize);
|
/external/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 158 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local 163 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); 199 unsigned AllocSize = local 202 Allocator.Deallocate(static_cast<void *>(this), AllocSize); local
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | StringMap.h | 164 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local 169 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); 205 unsigned AllocSize = local 208 Allocator.Deallocate(static_cast<void *>(this), AllocSize); local
|
/external/llvm/lib/IR/ |
H A D | Attributes.cpp | 138 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); 221 assert(hasAttribute(Attribute::AllocSize) && 360 if (hasAttribute(Attribute::AllocSize)) { 532 case Attribute::AllocSize: 629 if (I.hasAttribute(Attribute::AllocSize)) 669 else if (Kind == Attribute::AllocSize) 786 case Attribute::AllocSize: { 1264 Val != Attribute::Dereferenceable && Val != Attribute::AllocSize && 1287 else if (Kind == Attribute::AllocSize) 1309 else if (Val == Attribute::AllocSize) [all...] |
H A D | Instructions.cpp | 443 Type *AllocTy, Value *AllocSize, 466 if (IsConstantOne(AllocSize)) { 467 AllocSize = ArraySize; // Operand * 1 = Operand 472 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize)); 476 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, 479 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, 484 assert(AllocSize [all...] |
H A D | AttributeImpl.h | 125 Kind == Attribute::AllocSize) &&
|
H A D | Core.cpp | 2693 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local 2694 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); 2696 ITy, unwrap(Ty), AllocSize, 2704 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local 2705 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); 2707 ITy, unwrap(Ty), AllocSize,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | Attributes.inc | 4 AllocSize,
61 .Case("allocsize", Attribute::AllocSize)
154 return llvm::Attribute::AllocSize;
|
/external/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 1169 llvm::Value *AllocSize; member in class:__anon1258::final 1181 llvm::Value *AllocSize) 1183 Ptr(Ptr), AllocSize(AllocSize) {} 1204 DeleteArgs.add(RValue::get(AllocSize), *AI++); 1222 DominatingValue<RValue>::saved_type AllocSize; member in class:__anon1258::final 1236 DominatingValue<RValue>::saved_type AllocSize) 1238 Ptr(Ptr), AllocSize(AllocSize) {} 1259 RValue RV = AllocSize 1178 CallDeleteDuringNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, llvm::Value *Ptr, llvm::Value *AllocSize) argument 1233 CallDeleteDuringConditionalNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, DominatingValue<RValue>::saved_type Ptr, DominatingValue<RValue>::saved_type AllocSize) argument 1277 EnterNewDeleteCleanup(CodeGenFunction &CGF, const CXXNewExpr *E, Address NewPtr, llvm::Value *AllocSize, const CallArgList &NewArgs) argument [all...] |
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 172 uint64_t AllocSize = DL.getTypeAllocSize(GV.getValueType()); local 174 CurrentLocalMemUsage += AllocSize; 669 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy); local 670 NewSize += AllocSize; 673 DEBUG(dbgs() << " " << AllocSize
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 613 const uint64_t AllocSize; 625 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} 637 if (Size == 0 || Offset.uge(AllocSize)) { 640 << AllocSize << " byte alloca:\n" 655 assert(AllocSize >= BeginOffset); // Established above. 656 if (Size > AllocSize - BeginOffset) { 658 << " to remain within the " << AllocSize << " byte alloca:\n" 661 EndOffset = AllocSize; 712 if (GEPOffset.ugt(AllocSize)) 759 if (Size > AllocSize || Offse [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | StringMap.h | 157 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local 162 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | Instructions.cpp | 355 Type *AllocTy, Value *AllocSize, 377 if (IsConstantOne(AllocSize)) { 378 AllocSize = ArraySize; // Operand * 1 = Operand 383 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize)); 387 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, 390 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, 395 assert(AllocSize 353 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument 438 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument 455 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument [all...] |
H A D | Core.cpp | 1984 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local 1985 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); 1987 ITy, unwrap(Ty), AllocSize, 1995 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local 1996 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); 1998 ITy, unwrap(Ty), AllocSize,
|
/external/clang/lib/Rewrite/ |
H A D | RewriteRope.cpp | 793 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize; 795 reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
|
/external/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 119 Callee->hasFnAttribute(Attribute::AllocSize)) { 120 Attribute Attr = Callee->getFnAttribute(Attribute::AllocSize);
|
H A D | InlineCost.cpp | 341 if (auto *AllocSize = dyn_cast_or_null<ConstantInt>(Size)) { 345 AllocSize->getLimitedValue(), DL.getTypeAllocSize(Ty), AllocatedSize);
|
/external/skia/src/image/ |
H A D | SkImage_Gpu.cpp | 708 pixelSize = SkAlign8(SkAutoPixmapStorage::AllocSize(info, nullptr)); 755 pixelSize += SkAlign8(SkAutoPixmapStorage::AllocSize(mipInfo, nullptr));
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 3127 SDValue AllocSize = getValue(I.getArraySize()); local 3130 if (AllocSize.getValueType() != IntPtr) 3131 AllocSize = DAG.getZExtOrTrunc(AllocSize, getCurDebugLoc(), IntPtr); 3133 AllocSize = DAG.getNode(ISD::MUL, getCurDebugLoc(), IntPtr, 3134 AllocSize, 3146 AllocSize = DAG.getNode(ISD::ADD, getCurDebugLoc(), 3147 AllocSize.getValueType(), AllocSize, 3151 AllocSize [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Instructions.h | 1476 Value *AllocSize, Value *ArraySize = nullptr, 1481 Value *AllocSize, Value *ArraySize = nullptr, 1486 Value *AllocSize, Value *ArraySize = nullptr, 1492 Value *AllocSize, Value *ArraySize = nullptr,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 3398 SDValue AllocSize = getValue(I.getArraySize()); 3401 if (AllocSize.getValueType() != IntPtr) 3402 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); 3404 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, 3405 AllocSize, 3421 AllocSize = DAG.getNode(ISD::ADD, dl, 3422 AllocSize.getValueType(), AllocSize, 3426 AllocSize [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1491 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local 1496 CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, AllocSize, NumElements,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1554 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local 1557 AllocSize, NumElements,
|