Searched refs:AllocTy (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp44 AllocType AllocTy; member in struct:AllocFnsTy
88 static const AllocFnsTy *getAllocationData(const Value *V, AllocType AllocTy, argument
117 if ((FnData->AllocTy & AllocTy) == 0)
483 if (FnData->AllocTy == StrDupLike) {
708 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);
2590 const SCEV *ScalarEvolution::getSizeOfExpr(Type *AllocTy) {
[all...]
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h631 const SCEV *getSizeOfExpr(Type *AllocTy);
635 const SCEV *getAlignOfExpr(Type *AllocTy);
H A DScalarEvolutionExpressions.h432 bool isSizeOf(Type *&AllocTy) const;
433 bool isAlignOf(Type *&AllocTy) const;
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1024 Type *AllocTy,
1032 GlobalType = AllocTy;
1035 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue());
1664 Type *AllocTy,
1673 if (!AllocTy->isSized())
1707 if (NElements->getZExtValue() * TD->getTypeAllocSize(AllocTy) < 2048) {
1708 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, TD, TLI);
1722 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy))
1723 AllocTy = AT->getElementType();
1725 StructType *AllocSTy = dyn_cast<StructType>(AllocTy);
1022 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, ConstantInt *NElements, DataLayout *TD, TargetLibraryInfo *TLI) argument
1662 TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV, CallInst *CI, Type *AllocTy, AtomicOrdering Ordering, Module::global_iterator &GVI, DataLayout *TD, TargetLibraryInfo *TLI) argument
[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/include/llvm/IR/
H A DInstructions.h1223 Type *IntPtrTy, Type *AllocTy,
1228 Type *IntPtrTy, Type *AllocTy,

Completed in 818 milliseconds