Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp64 AllocType AllocTy; member
135 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
152 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationDataForFunction()
172 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
179 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
184 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
192 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
220 Result.AllocTy = MallocLike; in getAllocationSize()
671 if (FnData->AllocTy == StrDupLike) { in visitCallSite()
936 if (FnData->AllocTy == StrDupLike) { in visitCallSite()
DScalarEvolution.cpp333 Type *AllocTy; in print() local
334 if (U->isSizeOf(AllocTy)) { in print()
335 OS << "sizeof(" << *AllocTy << ")"; in print()
338 if (U->isAlignOf(AllocTy)) { in print()
339 OS << "alignof(" << *AllocTy << ")"; in print()
494 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
503 AllocTy = cast<PointerType>(CE->getOperand(0)->getType()) in isSizeOf()
511 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
527 AllocTy = STy->getElementType(1); in isAlignOf()
3726 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp850 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, in OptimizeGlobalAddressOfMalloc() argument
858 GlobalType = AllocTy; in OptimizeGlobalAddressOfMalloc()
861 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()
1483 Type *AllocTy, in tryToOptimizeStoreOfMallocToGlobal() argument
1488 if (!AllocTy->isSized()) in tryToOptimizeStoreOfMallocToGlobal()
1522 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in tryToOptimizeStoreOfMallocToGlobal()
1523 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in tryToOptimizeStoreOfMallocToGlobal()
1537 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy)) in tryToOptimizeStoreOfMallocToGlobal()
1538 AllocTy = AT->getElementType(); in tryToOptimizeStoreOfMallocToGlobal()
1540 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in tryToOptimizeStoreOfMallocToGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp877 Type *AllocTy = in canReplaceGEPIdxWithZero() local
879 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
882 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h496 bool isSizeOf(Type *&AllocTy) const;
497 bool isAlignOf(Type *&AllocTy) const;
DScalarEvolution.h594 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp524 Type *AllocTy, Value *AllocSize, in createMalloc() argument
574 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy); in createMalloc()
611 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
615 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
619 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
624 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
637 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
640 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
644 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
648 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h1603 Type *AllocTy, Value *AllocSize,
1608 Type *AllocTy, Value *AllocSize,
1613 Type *AllocTy, Value *AllocSize,
1619 Type *AllocTy, Value *AllocSize,