Searched refs:AllocSize (Results 1 - 11 of 11) sorted by relevance

/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DStringMap.h154 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local
159 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
200 unsigned AllocSize = local
203 Allocator.Deallocate(static_cast<void *>(this), AllocSize); local
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprCXX.cpp1161 llvm::Value *AllocSize; member in class:__anon3785::final
1173 llvm::Value *AllocSize)
1175 Ptr(Ptr), AllocSize(AllocSize) {}
1196 DeleteArgs.add(RValue::get(AllocSize), *AI++);
1214 DominatingValue<RValue>::saved_type AllocSize; member in class:__anon3785::final
1228 DominatingValue<RValue>::saved_type AllocSize)
1230 Ptr(Ptr), AllocSize(AllocSize) {}
1251 RValue RV = AllocSize
1170 CallDeleteDuringNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, llvm::Value *Ptr, llvm::Value *AllocSize) argument
1225 CallDeleteDuringConditionalNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, DominatingValue<RValue>::saved_type Ptr, DominatingValue<RValue>::saved_type AllocSize) argument
1269 EnterNewDeleteCleanup(CodeGenFunction &CGF, const CXXNewExpr *E, Address NewPtr, llvm::Value *AllocSize, const CallArgList &NewArgs) argument
[all...]
H A DTargetInfo.cpp6730 auto AllocSize = getDataLayout().getTypeAllocSize(AI.getCoerceToType());
6731 Stride = CharUnits::fromQuantity(AllocSize).RoundUpToAlignment(SlotSize);
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp626 const uint64_t AllocSize;
638 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {}
650 if (Size == 0 || Offset.uge(AllocSize)) {
653 << AllocSize << " byte alloca:\n"
668 assert(AllocSize >= BeginOffset); // Established above.
669 if (Size > AllocSize - BeginOffset) {
671 << " to remain within the " << AllocSize << " byte alloca:\n"
674 EndOffset = AllocSize;
725 if (GEPOffset.ugt(AllocSize))
772 if (Size > AllocSize || Offse
[all...]
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DInstructions.cpp386 Type *AllocTy, Value *AllocSize,
408 if (IsConstantOne(AllocSize)) {
409 AllocSize = ArraySize; // Operand * 1 = Operand
414 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize));
418 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
421 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
426 assert(AllocSize
[all...]
H A DCore.cpp2464 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2465 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2467 ITy, unwrap(Ty), AllocSize,
2475 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2476 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2478 ITy, unwrap(Ty), AllocSize,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriteRope.cpp791 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
793 reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp296 ConstantInt *AllocSize = dyn_cast<ConstantInt>(Size); local
297 assert(AllocSize && "Allocation size not a constant int?");
299 AllocatedSize += Ty->getPrimitiveSizeInBits() * AllocSize->getZExtValue();
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3101 SDValue AllocSize = getValue(I.getArraySize());
3104 if (AllocSize.getValueType() != IntPtr)
3105 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr);
3107 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr,
3108 AllocSize,
3124 AllocSize = DAG.getNode(ISD::ADD, dl,
3125 AllocSize.getValueType(), AllocSize,
3129 AllocSize
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/
H A DInstructions.h1485 Value *AllocSize, Value *ArraySize = nullptr,
1490 Value *AllocSize, Value *ArraySize = nullptr,
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1526 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local
1529 AllocSize, NumElements,

Completed in 242 milliseconds