Lines Matching defs:Alloca
1003 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1152 // var = alloca double
1173 // Create an alloca for the variable in the entry block.
1174 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1180 // Store the value into the alloca.
1181 Builder.CreateStore(StartVal, Alloca);
1196 NamedValues[VarName] = Alloca;
1218 // Reload, increment, and restore the alloca. This handles the case where
1220 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1222 Builder.CreateStore(NextVar, Alloca);
1272 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1273 Builder.CreateStore(InitVal, Alloca);
1280 NamedValues[VarName] = Alloca;
1336 /// CreateArgumentAllocas - Create an alloca for each argument and register the
1341 // Create an alloca for this variable.
1342 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1344 // Store the initial value into the alloca.
1345 Builder.CreateStore(AI, Alloca);
1348 NamedValues[Args[Idx]] = Alloca;