Home
last modified time | relevance | path

Searched refs:MallocType (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryBuiltins.cpp139 PointerType *MallocType = NULL; in getMallocType() local
146 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
152 return MallocType; in getMallocType()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp254 PointerType *MallocType = nullptr; in getMallocType() local
261 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
267 return MallocType; in getMallocType()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp301 Type* MallocType = getMallocAllocatedType(MI); in visitCallInst() local
302 if (MallocType && MallocType->isSized()) in visitCallInst()
305 Size = NElements->getZExtValue() * TD->getTypeAllocSize(MallocType); in visitCallInst()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1538 Type *MallocType = getMallocAllocatedType(CI, TLI); in optimizeOnceStoredGlobal() local
1539 if (MallocType && tryToOptimizeStoreOfMallocToGlobal(GV, CI, MallocType, in optimizeOnceStoredGlobal()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp1595 Type* MallocType = getMallocAllocatedType(CI); in OptimizeOnceStoredGlobal() local
1596 if (MallocType && TryToOptimizeStoreOfMallocToGlobal(GV, CI, MallocType, in OptimizeOnceStoredGlobal()