Home
last modified time | relevance | path

Searched refs:AllocaBuilder (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp85 BuilderTy AllocaBuilder(*Builder); in PromoteCastOfAllocation() local
86 AllocaBuilder.SetInsertPoint(AI.getParent(), &AI); in PromoteCastOfAllocation()
125 Amt = AllocaBuilder.CreateMul(Amt, NumElements); in PromoteCastOfAllocation()
131 Amt = AllocaBuilder.CreateAdd(Amt, Off); in PromoteCastOfAllocation()
134 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt); in PromoteCastOfAllocation()
144 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp85 BuilderTy AllocaBuilder(*Builder); in PromoteCastOfAllocation() local
86 AllocaBuilder.SetInsertPoint(&AI); in PromoteCastOfAllocation()
131 Amt = AllocaBuilder.CreateMul(Amt, NumElements); in PromoteCastOfAllocation()
137 Amt = AllocaBuilder.CreateAdd(Amt, Off); in PromoteCastOfAllocation()
140 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt); in PromoteCastOfAllocation()
151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1462 IRBuilder<> AllocaBuilder(&I->getFunction()->getEntryBlock().front()); in expandAtomicOpToLibcall() local
1550 AllocaCASExpected = AllocaBuilder.CreateAlloca(CASExpected->getType()); in expandAtomicOpToLibcall()
1566 AllocaValue = AllocaBuilder.CreateAlloca(ValueOperand->getType()); in expandAtomicOpToLibcall()
1578 AllocaResult = AllocaBuilder.CreateAlloca(I->getType()); in expandAtomicOpToLibcall()