Searched refs:AllocSize (Results 1 - 25 of 28) sorted by last modified time

12

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DStringMap.h157 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local
162 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
/external/swiftshader/third_party/LLVM/include/llvm/
H A DInstructions.h1199 Value *AllocSize, Value *ArraySize = 0,
1204 Value *AllocSize, Value *ArraySize = 0,
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3127 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/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp29 uintptr_t AllocSize = Size; local
30 uint8_t *Mem = MemMgr->startFunctionBody(Name.data(), AllocSize);
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp1554 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local
1557 AllocSize, NumElements,
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DCore.cpp1984 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,
H A DInstructions.cpp355 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...]
/external/skia/src/image/
H A DSkImage_Gpu.cpp637 pixelSize = SkAlign8(SkAutoPixmapStorage::AllocSize(info, nullptr));
672 pixelSize += SkAlign8(SkAutoPixmapStorage::AllocSize(mipInfo, nullptr));
/external/skia/src/core/
H A DSkAutoPixmapStorage.cpp17 size_t SkAutoPixmapStorage::AllocSize(const SkImageInfo& info, size_t* rowBytes) { function in class:SkAutoPixmapStorage
29 size_t size = AllocSize(info, &rb);
H A DSkAutoPixmapStorage.h41 static size_t AllocSize(const SkImageInfo& info, size_t* rowBytes);
/external/llvm/lib/Analysis/
H A DInlineCost.cpp341 if (auto *AllocSize = dyn_cast_or_null<ConstantInt>(Size)) {
345 AllocSize->getLimitedValue(), DL.getTypeAllocSize(Ty), AllocatedSize);
H A DMemoryBuiltins.cpp119 Callee->hasFnAttribute(Attribute::AllocSize)) {
120 Attribute Attr = Callee->getFnAttribute(Attribute::AllocSize);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1427 return Attribute::AllocSize;
1554 else if (Kind == Attribute::AllocSize)
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp572 case Attribute::AllocSize:
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3398 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/IR/
H A DAttributeImpl.h125 Kind == Attribute::AllocSize) &&
H A DAttributes.cpp138 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 DCore.cpp2693 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,
H A DInstructions.cpp443 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 DVerifier.cpp1305 I->getKindAsEnum() == Attribute::AllocSize) {
1561 if (Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::AllocSize)) {
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp172 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/IPO/
H A DGlobalOpt.cpp1491 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local
1496 CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, AllocSize, NumElements,
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp613 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/llvm/include/llvm/ADT/
H A DStringMap.h158 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/llvm/include/llvm/IR/
H A DInstructions.h1476 Value *AllocSize, Value *ArraySize = nullptr,
1481 Value *AllocSize, Value *ArraySize = nullptr,
1486 Value *AllocSize, Value *ArraySize = nullptr,
1492 Value *AllocSize, Value *ArraySize = nullptr,

Completed in 569 milliseconds

12