Searched defs:Malloc (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1728 // If this is a fixed size array, transform the Malloc to be an alloc of
1735 Instruction *Malloc = CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, local
1738 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI);
1741 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc))
1744 CI = cast<CallInst>(Malloc);
/external/llvm/lib/VMCore/
H A DCore.cpp2016 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), local
2019 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));
2027 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), local
2030 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));

Completed in 81 milliseconds