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

/freebsd-9.3-release/contrib/llvm/tools/lli/ChildTarget/
H A DChildTarget.cpp107 uint32_t AllocSize; local
110 rc = ReadBytes(&AllocSize, 4);
114 uint64_t Addr = allocate(Alignment, AllocSize);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp318 const uint64_t AllocSize; member in class:AllocaSlices::SliceBuilder
330 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {}
342 if (Size == 0 || Offset.isNegative() || Offset.uge(AllocSize)) {
345 << AllocSize << " byte alloca:\n"
360 assert(AllocSize >= BeginOffset); // Established above.
361 if (Size > AllocSize - BeginOffset) {
363 << " to remain within the " << AllocSize << " byte alloca:\n"
366 EndOffset = AllocSize;
397 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize;
429 if (Offset.isNegative() || Size > AllocSize ||
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprCXX.cpp973 llvm::Value *AllocSize; member in class:__anon3088::CallDeleteDuringNew
985 llvm::Value *AllocSize)
987 Ptr(Ptr), AllocSize(AllocSize) {}
1008 DeleteArgs.add(RValue::get(AllocSize), *AI++);
1026 DominatingValue<RValue>::saved_type AllocSize; member in class:__anon3088::CallDeleteDuringConditionalNew
1040 DominatingValue<RValue>::saved_type AllocSize)
1042 Ptr(Ptr), AllocSize(AllocSize) {}
1063 RValue RV = AllocSize
982 CallDeleteDuringNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, llvm::Value *Ptr, llvm::Value *AllocSize) argument
1037 CallDeleteDuringConditionalNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, DominatingValue<RValue>::saved_type Ptr, DominatingValue<RValue>::saved_type AllocSize) argument
1081 EnterNewDeleteCleanup(CodeGenFunction &CGF, const CXXNewExpr *E, llvm::Value *NewPtr, llvm::Value *AllocSize, const CallArgList &NewArgs) argument
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DStringMap.h156 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local
161 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DRewriteRope.cpp795 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
796 AllocBuffer = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DInstructions.cpp373 Type *AllocTy, Value *AllocSize,
395 if (IsConstantOne(AllocSize)) {
396 AllocSize = ArraySize; // Operand * 1 = Operand
401 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize));
405 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
408 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
413 assert(AllocSize
371 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
456 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument
473 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
[all...]
H A DCore.cpp2177 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2178 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2180 ITy, unwrap(Ty), AllocSize,
2188 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2189 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2191 ITy, unwrap(Ty), AllocSize,
/freebsd-9.3-release/contrib/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1066 uint32_t AllocSize = 0; local
1075 AllocSize = UCs[1].FrameOffset * 8;
1077 AllocSize = getLargeSlotValue(UCs);
1079 outs() << " size=" << AllocSize;
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3346 SDValue AllocSize = getValue(I.getArraySize());
3349 if (AllocSize.getValueType() != IntPtr)
3350 AllocSize = DAG.getZExtOrTrunc(AllocSize, getCurSDLoc(), IntPtr);
3352 AllocSize = DAG.getNode(ISD::MUL, getCurSDLoc(), IntPtr,
3353 AllocSize,
3365 AllocSize = DAG.getNode(ISD::ADD, getCurSDLoc(),
3366 AllocSize.getValueType(), AllocSize,
3370 AllocSize
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstructions.h1216 Value *AllocSize, Value *ArraySize = 0,
1221 Value *AllocSize, Value *ArraySize = 0,
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1544 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local
1547 AllocSize, NumElements,

Completed in 301 milliseconds