Home
last modified time | relevance | path

Searched refs:AllocaBuilder (Results 1 – 5 of 5) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp88 BuilderTy AllocaBuilder(Builder); in PromoteCastOfAllocation() local
89 AllocaBuilder.SetInsertPoint(&AI); in PromoteCastOfAllocation()
134 Amt = AllocaBuilder.CreateMul(Amt, NumElements); in PromoteCastOfAllocation()
140 Amt = AllocaBuilder.CreateAdd(Amt, Off); in PromoteCastOfAllocation()
143 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt); in PromoteCastOfAllocation()
154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1466 IRBuilder<> AllocaBuilder(&I->getFunction()->getEntryBlock().front()); in expandAtomicOpToLibcall() local
1554 AllocaCASExpected = AllocaBuilder.CreateAlloca(CASExpected->getType()); in expandAtomicOpToLibcall()
1570 AllocaValue = AllocaBuilder.CreateAlloca(ValueOperand->getType()); in expandAtomicOpToLibcall()
1582 AllocaResult = AllocaBuilder.CreateAlloca(I->getType()); in expandAtomicOpToLibcall()
/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()