Searched defs:AllocSize (Results 1 - 8 of 8) sorted by relevance

/external/llvm/tools/lli/ChildTarget/
H A DChildTarget.cpp108 uint32_t AllocSize; local
111 rc = ReadBytes(&AllocSize, 4);
116 RT->allocateSpace(AllocSize, Alignment, Addr);
/external/llvm/include/llvm/ADT/
H A DStringMap.h149 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ local
154 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
207 unsigned AllocSize = local
210 Allocator.Deallocate(static_cast<void *>(this), AllocSize); local
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp277 ConstantInt *AllocSize = dyn_cast<ConstantInt>(Size); local
278 assert(AllocSize && "Allocation size not a constant int?");
280 AllocatedSize += Ty->getPrimitiveSizeInBits() * AllocSize->getZExtValue();
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp1057 llvm::Value *AllocSize; member in class:__anon17031::CallDeleteDuringNew
1069 llvm::Value *AllocSize)
1071 Ptr(Ptr), AllocSize(AllocSize) {}
1092 DeleteArgs.add(RValue::get(AllocSize), *AI++);
1110 DominatingValue<RValue>::saved_type AllocSize; member in class:__anon17031::CallDeleteDuringConditionalNew
1124 DominatingValue<RValue>::saved_type AllocSize)
1126 Ptr(Ptr), AllocSize(AllocSize) {}
1147 RValue RV = AllocSize
1066 CallDeleteDuringNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, llvm::Value *Ptr, llvm::Value *AllocSize) argument
1121 CallDeleteDuringConditionalNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, DominatingValue<RValue>::saved_type Ptr, DominatingValue<RValue>::saved_type AllocSize) argument
1165 EnterNewDeleteCleanup(CodeGenFunction &CGF, const CXXNewExpr *E, llvm::Value *NewPtr, llvm::Value *AllocSize, const CallArgList &NewArgs) argument
[all...]
/external/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.cpp2260 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2261 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2263 ITy, unwrap(Ty), AllocSize,
2271 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); local
2272 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2274 ITy, unwrap(Ty), AllocSize,
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1540 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); local
1543 AllocSize, NumElements,
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp336 const uint64_t AllocSize; member in class:AllocaSlices::SliceBuilder
348 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {}
360 if (Size == 0 || Offset.uge(AllocSize)) {
363 << AllocSize << " byte alloca:\n"
378 assert(AllocSize >= BeginOffset); // Established above.
379 if (Size > AllocSize - BeginOffset) {
381 << " to remain within the " << AllocSize << " byte alloca:\n"
384 EndOffset = AllocSize;
433 if (GEPOffset.ugt(AllocSize))
452 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize;
[all...]

Completed in 607 milliseconds