Home
last modified time | relevance | path

Searched refs:AllocSize (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprCXX.cpp967 llvm::Value *AllocSize; member in __anon7f54e8600111::CallDeleteDuringNew
979 llvm::Value *AllocSize) in CallDeleteDuringNew() argument
981 Ptr(Ptr), AllocSize(AllocSize) {} in CallDeleteDuringNew()
1002 DeleteArgs.add(RValue::get(AllocSize), *AI++); in Emit()
1022 DominatingValue<RValue>::saved_type AllocSize; member in __anon7f54e8600111::CallDeleteDuringConditionalNew
1036 DominatingValue<RValue>::saved_type AllocSize) in CallDeleteDuringConditionalNew() argument
1038 Ptr(Ptr), AllocSize(AllocSize) {} in CallDeleteDuringConditionalNew()
1059 RValue RV = AllocSize.restore(CGF); in Emit()
1082 llvm::Value *AllocSize, in EnterNewDeleteCleanup() argument
1091 NewPtr, AllocSize); in EnterNewDeleteCleanup()
[all …]
/external/llvm/lib/VMCore/
DInstructions.cpp355 Type *AllocTy, Value *AllocSize, in createMalloc() argument
377 if (IsConstantOne(AllocSize)) { in createMalloc()
378 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
383 AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize)); in createMalloc()
387 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
390 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
395 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size"); in createMalloc()
408 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc()
414 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc()
440 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
[all …]
DCore.cpp1995 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); in LLVMBuildMalloc() local
1996 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc()
1998 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc()
2006 Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); in LLVMBuildArrayMalloc() local
2007 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc()
2009 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
/external/llvm/include/llvm/ADT/
DStringMap.h148 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ in Create() local
153 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create()
/external/clang/lib/Rewrite/
DRewriteRope.cpp799 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize; in MakeRopeString() local
800 AllocBuffer = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]); in MakeRopeString()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3158 SDValue AllocSize = getValue(I.getArraySize()); in visitAlloca() local
3161 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
3162 AllocSize = DAG.getZExtOrTrunc(AllocSize, getCurDebugLoc(), IntPtr); in visitAlloca()
3164 AllocSize = DAG.getNode(ISD::MUL, getCurDebugLoc(), IntPtr, in visitAlloca()
3165 AllocSize, in visitAlloca()
3177 AllocSize = DAG.getNode(ISD::ADD, getCurDebugLoc(), in visitAlloca()
3178 AllocSize.getValueType(), AllocSize, in visitAlloca()
3182 AllocSize = DAG.getNode(ISD::AND, getCurDebugLoc(), in visitAlloca()
3183 AllocSize.getValueType(), AllocSize, in visitAlloca()
3186 SDValue Ops[] = { getRoot(), AllocSize, DAG.getIntPtrConstant(Align) }; in visitAlloca()
[all …]
/external/llvm/include/llvm/
DInstructions.h1212 Value *AllocSize, Value *ArraySize = 0,
1217 Value *AllocSize, Value *ArraySize = 0,
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1562 Value *AllocSize = ConstantInt::get(IntPtrTy, TypeSize); in TryToOptimizeStoreOfMallocToGlobal() local
1565 AllocSize, NumElements, in TryToOptimizeStoreOfMallocToGlobal()