| /NextBSD/contrib/llvm/tools/lli/ChildTarget/ |
| HD | ChildTarget.cpp | 108 uint32_t AllocSize = 0; in handleAllocateSpace() local 111 rc = ReadBytes(&AllocSize, 4); in handleAllocateSpace() 116 RT->allocateSpace(AllocSize, Alignment, Addr); in handleAllocateSpace()
|
| /NextBSD/contrib/llvm/include/llvm/ADT/ |
| HD | StringMap.h | 149 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ in Create() local 154 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create() 195 unsigned AllocSize = in Destroy() local 198 Allocator.Deallocate(static_cast<void *>(this), AllocSize); in Destroy()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGExprCXX.cpp | 1112 llvm::Value *AllocSize; member in __anond8ff93f30211::CallDeleteDuringNew 1124 llvm::Value *AllocSize) in CallDeleteDuringNew() argument 1126 Ptr(Ptr), AllocSize(AllocSize) {} in CallDeleteDuringNew() 1147 DeleteArgs.add(RValue::get(AllocSize), *AI++); in Emit() 1165 DominatingValue<RValue>::saved_type AllocSize; member in __anond8ff93f30211::CallDeleteDuringConditionalNew 1179 DominatingValue<RValue>::saved_type AllocSize) in CallDeleteDuringConditionalNew() argument 1181 Ptr(Ptr), AllocSize(AllocSize) {} in CallDeleteDuringConditionalNew() 1202 RValue RV = AllocSize.restore(CGF); in Emit() 1223 llvm::Value *AllocSize, in EnterNewDeleteCleanup() argument 1232 NewPtr, AllocSize); in EnterNewDeleteCleanup() [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | SROA.cpp | 630 const uint64_t AllocSize; member in AllocaSlices::SliceBuilder 642 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} in SliceBuilder() 654 if (Size == 0 || Offset.uge(AllocSize)) { in insertUse() 657 << AllocSize << " byte alloca:\n" in insertUse() 672 assert(AllocSize >= BeginOffset); // Established above. in insertUse() 673 if (Size > AllocSize - BeginOffset) { in insertUse() 675 << " to remain within the " << AllocSize << " byte alloca:\n" in insertUse() 678 EndOffset = AllocSize; in insertUse() 729 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst() 776 if (Size > AllocSize || Offset.ugt(AllocSize - Size)) { in visitStoreInst() [all …]
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Instructions.cpp | 339 Type *AllocTy, Value *AllocSize, in createMalloc() argument 361 if (IsConstantOne(AllocSize)) { in createMalloc() 362 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc() 367 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize)); in createMalloc() 371 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc() 374 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc() 379 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size"); in createMalloc() 392 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc() 398 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc() 424 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument [all …]
|
| HD | Core.cpp | 2458 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); in LLVMBuildMalloc() local 2459 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 2461 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 2469 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); in LLVMBuildArrayMalloc() local 2470 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 2472 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Rewrite/ |
| HD | RewriteRope.cpp | 791 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize; in MakeRopeString() local 793 reinterpret_cast<RopeRefCountString *>(new char[AllocSize]); in MakeRopeString()
|
| /NextBSD/contrib/llvm/lib/Analysis/IPA/ |
| HD | InlineCost.cpp | 294 ConstantInt *AllocSize = dyn_cast<ConstantInt>(Size); in visitAlloca() local 295 assert(AllocSize && "Allocation size not a constant int?"); in visitAlloca() 297 AllocatedSize += Ty->getPrimitiveSizeInBits() * AllocSize->getZExtValue(); in visitAlloca()
|
| /NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGBuilder.cpp | 2863 SDValue AllocSize = getValue(I.getArraySize()); in visitAlloca() local 2866 if (AllocSize.getValueType() != IntPtr) in visitAlloca() 2867 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca() 2869 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, in visitAlloca() 2870 AllocSize, in visitAlloca() 2883 AllocSize = DAG.getNode(ISD::ADD, dl, in visitAlloca() 2884 AllocSize.getValueType(), AllocSize, in visitAlloca() 2888 AllocSize = DAG.getNode(ISD::AND, dl, in visitAlloca() 2889 AllocSize.getValueType(), AllocSize, in visitAlloca() 2893 SDValue Ops[] = { getRoot(), AllocSize, DAG.getIntPtrConstant(Align, dl) }; in visitAlloca() [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | GlobalOpt.cpp | 1533 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); in TryToOptimizeStoreOfMallocToGlobal() local 1536 AllocSize, NumElements, in TryToOptimizeStoreOfMallocToGlobal()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Instructions.h | 1426 Value *AllocSize, Value *ArraySize = nullptr, 1431 Value *AllocSize, Value *ArraySize = nullptr,
|