Searched defs:AllocTy (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp44 AllocType AllocTy; member in struct:AllocFnsTy
91 static const AllocFnsTy *getAllocationData(const Value *V, AllocType AllocTy, argument
120 if ((FnData->AllocTy & AllocTy) == 0)
467 if (FnData->AllocTy == StrDupLike) {
680 if (FnData->AllocTy == StrDupLike) {
H A DScalarEvolution.cpp218 Type *AllocTy; local
219 if (U->isSizeOf(AllocTy)) {
220 OS << "sizeof(" << *AllocTy << ")"; local
223 if (U->isAlignOf(AllocTy)) {
224 OS << "alignof(" << *AllocTy << ")"; local
387 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const {
396 AllocTy = cast<PointerType>(CE->getOperand(0)->getType())
404 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const {
420 AllocTy = STy->getElementType(1);
2593 const SCEV *ScalarEvolution::getSizeOfExpr(Type *AllocTy) {
[all...]
/external/llvm/lib/IR/
H A DInstructions.cpp373 Type *AllocTy, Value *AllocSize,
422 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy);
457 Type *IntPtrTy, Type *AllocTy,
461 return createMalloc(InsertBefore, NULL, IntPtrTy, AllocTy, AllocSize,
474 Type *IntPtrTy, Type *AllocTy,
477 return createMalloc(NULL, InsertAtEnd, IntPtrTy, AllocTy, 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
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1025 Type *AllocTy,
1033 GlobalType = AllocTy;
1036 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue());
1665 Type *AllocTy,
1674 if (!AllocTy->isSized())
1708 if (NElements->getZExtValue() * TD->getTypeAllocSize(AllocTy) < 2048) {
1709 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, TD, TLI);
1723 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy))
1724 AllocTy = AT->getElementType();
1726 StructType *AllocSTy = dyn_cast<StructType>(AllocTy);
1023 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, ConstantInt *NElements, DataLayout *TD, TargetLibraryInfo *TLI) argument
1663 TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV, CallInst *CI, Type *AllocTy, AtomicOrdering Ordering, Module::global_iterator &GVI, DataLayout *TD, TargetLibraryInfo *TLI) argument
[all...]

Completed in 532 milliseconds